Function at 0x46522c
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 0x4655c7
cmp ecx, 0x1e697
je 0x4655c7
cmp ecx, 0x3f7
jne 0x4652ee
mov eax, dword [0x47e520]
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 0x4652e6
lea eax, [ebp - 0x270]
push 0x481744
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push 0x491d3c
push ecx
lea eax, [ebp - 0x270]
mov ecx, esp
push eax
call fcn.0040811c
call fcn.0044a6da
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 0x465691
cmp ecx, 0x3f6
jne 0x465302
mov ecx, esi
call fcn.004658b4
jmp 0x465696
cmp ecx, 0x407
jne 0x465316
mov ecx, esi
call fcn.00465ac3
jmp 0x465696
cmp ecx, 0x3f9
mov eax, 0x3fb
je 0x465435
cmp ecx, eax
je 0x465435
cmp ecx, 0x3fa
jne 0x465696
mov edx, dword [0x488b6c]
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 0x58
rep stosd dword es:[edi], eax
pop edi
xor ebx, ebx
push edi
lea eax, [ebp - 0x64]
push ebx
push eax
mov word [ebp - 0x47c], bx
call fcn.0046aa50
mov eax, dword [esi + 4]
add esp, 0xc
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 dword [ebp - 0x64], edi
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 0x465696
lea eax, [ebp - 0x270]
lea ecx, [ebp + 0x14]
push eax
call fcn.0040811c
lea eax, [ebp - 0x47c]
lea ecx, [ebp + 0xc]
push eax
call fcn.0040811c
lea edi, [esi + 0x74]
lea eax, [ebp + 0xc]
push eax
mov ecx, edi
call fcn.00401522
push ebx
push dword [edi]
push str.File
push str.Translate
call fcn.00445d21
add esp, 0x10
push dword [edi]
push dword [esi + 0x70]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov ecx, esi
call fcn.00464fcf
lea ecx, [ebp + 0xc]
call fcn.0040139c
lea ecx, [ebp + 0x14]
call fcn.0040139c
push 1
pop eax
jmp 0x465698
mov edx, dword [esi + 0x74]
cmp dword [edx - 8], edi
je 0x465445
cmp ecx, eax
jne 0x4655ac
mov edx, dword [0x488b6c]
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 0x58
rep stosd dword es:[edi], eax
pop edi
xor ebx, ebx
push edi
lea eax, [ebp - 0x64]
push ebx
push eax
mov word [ebp - 0x47c], bx
call fcn.0046aa50
mov eax, dword [esi + 4]
add esp, 0xc
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 dword [ebp - 0x64], edi
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 0x465696
lea eax, [ebp - 0x270]
lea ecx, [ebp - 0xc]
push eax
call fcn.0040811c
lea eax, [ebp - 0x47c]
lea ecx, [ebp - 8]
push eax
call fcn.0040811c
lea eax, [ebp - 8]
lea edi, [esi + 0x74]
push eax
mov ecx, edi
call fcn.00401522
push ecx
mov ecx, esp
push edi
call fcn.00401356
lea eax, [ebp + 0x14]
push eax
call fcn.0044adf8
pop ecx
pop ecx
lea ecx, [ebp + 0x14]
call fcn.00401765
push dword [ebp + 0x14]
call dword [sym.imp.USER32.dll_CharLowerW]
push 0x47fe20
lea ecx, [ebp - 4]
call fcn.004013c8
push dword [ebp - 4]
push dword [ebp + 0x14]
call fcn.0046b615
pop ecx
pop ecx
test eax, eax
lea ecx, [ebp - 4]
setne byte [ebp + 0xf]
call fcn.0040139c
cmp byte [ebp + 0xf], bl
je 0x465572
mov ecx, 0x481744
mov eax, ecx
test eax, eax
je 0x465569
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, 0x481744
push ecx
push eax
mov ecx, edi
call fcn.00401658
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.00445d21
add esp, 0x10
lea ecx, [ebp + 0x14]
call fcn.0040139c
lea ecx, [ebp - 8]
call fcn.0040139c
lea ecx, [ebp - 0xc]
call fcn.0040139c
xor edi, edi
push ecx
lea eax, [esi + 0x74]
mov ecx, esp
push eax
call fcn.00401356
mov ecx, esi
call fcn.0046569f
mov dword [esi + 0x68], edi
jmp 0x465696
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ea
mov dword [eax], 1
mov eax, dword [0x47e520]
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.0040811c
call fcn.0044a5b3
pop ecx
test eax, eax
pop ecx
je 0x465632
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 0x46565f
add esi, 0x88
lea eax, [ebp + 0x14]
push esi
push ecx
mov ecx, esp
push eax
call fcn.00401356
call fcn.0044b186
add esp, 0xc
jmp 0x46568e
add esi, 0x88
lea eax, [ebp + 0x14]
push esi
push ecx
mov ecx, esp
push eax
call fcn.00401356
call fcn.0044b186
mov ecx, dword [0x49777c]
add esp, 0xc
test ecx, ecx
je 0x46568e
mov eax, dword [ecx]
push dword [0x4819a8]
call dword [eax]
lea ecx, [ebp + 0x14]
call fcn.0040139c
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0x10