Well! this might not be the appropiate place to post this but wth, here goes:
Code:
loc_5649FE:
push [ebp+var_4]
mov ecx, edi
call sub_6631E3
push dword ptr [eax] ; Str
call sub_5FD400 ; <".tif", ".png">
test al, al
jz short loc_564A34
patch that conditional jump into a relative!
Code:
jmp short loc_564A34
that's all there is to it, snippet is located in a function starting at 0x564923
you could also patch this function, sub_5FD400 it's responsible for determine if the pending file for file transfer is a picture or not.
Enjoy