Function at 0x49651d
Capabilities:
Create process on windows
Get common file path
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x47c
mov eax, dword [ebp + 0x14]
push ebx
push esi
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push edi
xor edi, edi
cmp ecx, 0x418
mov dword [eax], edi
je 0x4968ab
cmp ecx, 0x1e697
je 0x4968ab
cmp ecx, 0x3f7
jne 0x4965df
mov eax, dword [0x4b0550]
mov dword [ebp + 0xc], eax
lea eax, [ebp - 0x47c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x270]
push eax
push edi
lea eax, [ebp - 0x47c]
push str.lng_
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x4965d7
lea eax, [ebp - 0x270]
push 0x4b3e70
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x4c67bc
push ecx
lea eax, [ebp - 0x270]
mov ecx, esp
push eax
call fcn.0040a4e8
call fcn.0045fb3a
pop ecx
lea eax, [ebp - 0x270]
pop ecx
push 1
push edi
push edi
push eax
push str.open
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea ecx, [ebp + 0xc]
jmp 0x496975
cmp ecx, 0x3f6
jne 0x4965f3
mov ecx, esi
call fcn.00496b98
jmp 0x49697a
cmp ecx, 0x407
jne 0x496607
mov ecx, esi
call fcn.00496da7
jmp 0x49697a
cmp ecx, 0x3f9
mov eax, 0x3fb
je 0x496721
cmp ecx, eax
je 0x496721
cmp ecx, 0x3fa
jne 0x49697a
mov edx, dword [0x4bd5dc]
mov ebx, 0x81
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x478]
mov dword [ebp - 0x47c], edx
rep stosd dword es:[edi], eax
mov ecx, ebx
lea edi, [ebp - 0x26c]
mov dword [ebp - 0x270], edx
push 0x16
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x64]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 4]
xor ebx, ebx
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x47c]
mov dword [ebp - 0x48], eax
mov eax, 0x208
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x270]
push eax
mov word [ebp - 0x47c], bx
mov dword [ebp - 0x64], 0x58
mov dword [ebp - 0x58], str.TXT__.txt_
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.comdlg32.dll_GetOpenFileNameW]
test eax, eax
je 0x49697a
lea eax, [ebp - 0x270]
lea ecx, [ebp + 0x14]
push eax
call fcn.0040a4e8
lea eax, [ebp - 0x47c]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040a4e8
lea edi, [esi + 0x74]
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.00403a8c
push ebx
push dword [edi]
push str.File
push str.Translate
call fcn.0044ae5b
add esp, 0x10
push dword [edi]
push dword [esi + 0x70]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, esi
call fcn.004962c0
lea ecx, [ebp + 0xc]
call fcn.004038fb
lea ecx, [ebp + 0x14]
call fcn.004038fb
push 1
pop eax
jmp 0x49697c
mov edx, dword [esi + 0x74]
cmp dword [edx - 8], edi
je 0x496731
cmp ecx, eax
jne 0x496890
mov edx, dword [0x4bd5dc]
mov ebx, 0x81
mov ecx, ebx
xor eax, eax
lea edi, [ebp - 0x478]
mov dword [ebp - 0x47c], edx
rep stosd dword es:[edi], eax
mov ecx, ebx
lea edi, [ebp - 0x26c]
mov dword [ebp - 0x270], edx
push 0x16
rep stosd dword es:[edi], eax
pop ecx
lea edi, [ebp - 0x64]
rep stosd dword es:[edi], eax
mov eax, dword [esi + 4]
xor ebx, ebx
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x47c]
mov dword [ebp - 0x48], eax
mov eax, 0x208
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x3c], eax
lea eax, [ebp - 0x64]
lea ecx, [ebp - 0x270]
push eax
mov word [ebp - 0x47c], bx
mov dword [ebp - 0x64], 0x58
mov dword [ebp - 0x58], str.TXT__.txt_
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.comdlg32.dll_GetSaveFileNameW]
test eax, eax
je 0x49697a
lea eax, [ebp - 0x270]
lea ecx, [ebp - 0xc]
push eax
call fcn.0040a4e8
lea eax, [ebp - 0x47c]
lea ecx, [ebp - 8]
push eax
call fcn.0040a4e8
lea eax, [ebp - 8]
lea edi, [esi + 0x74]
push eax
mov ecx, edi
call fcn.00403a8c
push ecx
mov ecx, esp
push edi
call fcn.004038b5
lea eax, [ebp + 0x14]
push eax
call fcn.00460258
pop ecx
pop ecx
lea ecx, [ebp + 0x14]
call fcn.00403cfb
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x4b1f08
lea ecx, [ebp - 4]
call fcn.00403927
push dword [ebp - 4]
push dword [ebp + 0x14]
call fcn.0049cec5
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 4]
setne byte [ebp + 0xf]
call fcn.004038fb
cmp byte [ebp + 0xf], bl
je 0x496856
mov ebx, 0x4b3e70
mov eax, ebx
test eax, eax
je 0x49684b
push ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push eax
mov ecx, edi
call fcn.00403bd8
xor ebx, ebx
push dword [edi]
push dword [esi + 0x70]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
push dword [edi]
push str.File
push str.Translate
call fcn.0044ae5b
add esp, 0x10
lea ecx, [ebp + 0x14]
call fcn.004038fb
lea ecx, [ebp - 8]
call fcn.004038fb
lea ecx, [ebp - 0xc]
call fcn.004038fb
xor edi, edi
push ecx
lea eax, [esi + 0x74]
mov ecx, esp
push eax
call fcn.004038b5
mov ecx, esi
call fcn.00496983
mov dword [esi + 0x68], edi
jmp 0x49697a
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ea
mov dword [eax], 1
mov eax, dword [0x4b0550]
push dword [esi + 4]
mov dword [ebp + 0x14], eax
call edi
mov ebx, eax
lea eax, [ebp - 0x270]
push 0x104
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_EnableWindow]
call ebx
lea eax, [ebp + 0x14]
push eax
push ecx
lea eax, [ebp - 0x270]
mov ecx, esp
push eax
call fcn.0040a4e8
call fcn.0045fa13
pop ecx
test eax, eax
pop ecx
je 0x496916
push 0x3f9
push dword [esi + 4]
call edi
push 1
push eax
call ebx
cmp dword [ebp + 0xc], 0x1e697
lea eax, [esi + 0x98]
push eax
jne 0x496943
add esi, 0x88
lea eax, [ebp + 0x14]
push esi
push ecx
mov ecx, esp
push eax
call fcn.004038b5
call fcn.004608fb
add esp, 0xc
jmp 0x496972
add esi, 0x88
lea eax, [ebp + 0x14]
push esi
push ecx
mov ecx, esp
push eax
call fcn.004038b5
call fcn.004608fb
mov ecx, dword [0x4cc234]
add esp, 0xc
test ecx, ecx
je 0x496972
mov eax, dword [ecx]
push dword [0x4b412c]
call dword [eax]
lea ecx, [ebp + 0x14]
call fcn.004038fb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10