Function at 0x4131ce
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x482484]
push ebx
xor ebx, ebx
push esi
cmp eax, ebx
je 0x4131ee
mov eax, dword [eax + 4]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x413209
mov eax, dword [0x4822c4]
cmp eax, ebx
je 0x413201
mov eax, dword [eax + 4]
cmp eax, ebx
mov dword [ebp - 4], eax
jne 0x413209
mov eax, dword [0x4824f0]
mov dword [ebp - 4], eax
cmp byte [0x483654], bl
mov dword [ebp - 8], ebx
jne 0x41322e
push ebx
push 0x40581a
push dword [ebp - 4]
push 0x12
push dword [0x4824f4]
call dword [sym.imp.USER32.dll_CreateDialogParamA]
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x20]
call fcn.0041eab0
push str.___Internal_WaitExternal___
call fcn.004202db
cmp eax, ebx
je 0x41324f
push eax
lea ecx, [ebp - 0x20]
call fcn.0041ec53
jmp 0x41325c
push 0x48341c
lea ecx, [ebp - 0x20]
call fcn.0041ecc1
mov eax, dword [ebp + 0x10]
cmp eax, ebx
je 0x413270
cmp byte [eax], bl
je 0x413270
push eax
lea ecx, [ebp - 0x20]
call fcn.0041ec53
push 1
lea ecx, [ebp - 0x20]
pop esi
push esi
push ebx
push ebx
push 0x42fc20
push str.__n_
call fcn.0041f93a
cmp byte [0x483654], bl
jne 0x4132c8
lea ecx, [ebp - 0x20]
call fcn.0041fa6a
push eax
push 0x422
push dword [ebp - 8]
call fcn.00421911
add esp, 0xc
mov ecx, 0x482c38
call fcn.0041fa6a
push eax
push dword [ebp - 8]
call fcn.00421890
pop ecx
pop ecx
push ebx
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push edi
push 0xe
pop ecx
xor eax, eax
lea edi, [ebp - 0x64]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x64], 0x40
mov dword [ebp - 0x50], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], str.open
mov dword [ebp - 0x4c], esi
call fcn.0041eab0
lea ecx, [ebp - 0x2c]
call fcn.0041eab0
mov edi, dword [ebp + 8]
cmp byte [edi], 0x22
jne 0x413370
lea esi, [edi + 1]
push 0x22
push esi
call fcn.00428000
pop ecx
test eax, eax
pop ecx
je 0x413370
push esi
lea ecx, [ebp - 0x14]
call fcn.0041ec53
push ebx
push 0x22
lea ecx, [ebp - 0x14]
call fcn.0041f3d9
mov ecx, dword [ebp - 0x14]
sub ecx, eax
push ecx
push ebx
push 0x22
lea ecx, [ebp - 0x14]
call fcn.0041f3d9
push eax
lea ecx, [ebp - 0x14]
call fcn.0041f0d5
mov edi, 0x42ffc0
push edi
push esi
call fcn.00428bd0
pop ecx
test eax, eax
pop ecx
je 0x4133bf
push edi
push esi
call fcn.00428bd0
pop ecx
inc eax
pop ecx
inc eax
jmp 0x4133b6
push 0x20
pop esi
push esi
push edi
call fcn.00428000
pop ecx
pop ecx
test eax, eax
push edi
lea ecx, [ebp - 0x14]
je 0x4133ba
call fcn.0041ec53
push ebx
push esi
lea ecx, [ebp - 0x14]
call fcn.0041f3d9
mov ecx, dword [ebp - 0x14]
sub ecx, eax
push ecx
push ebx
push esi
lea ecx, [ebp - 0x14]
call fcn.0041f3d9
push eax
lea ecx, [ebp - 0x14]
call fcn.0041f0d5
push esi
push edi
call fcn.00428000
pop ecx
inc eax
pop ecx
push eax
lea ecx, [ebp - 0x2c]
call fcn.0041ec53
lea ecx, [ebp - 0x14]
call fcn.0041fa6a
cmp dword [ebp - 0x2c], ebx
mov dword [ebp - 0x58], eax
pop edi
jbe 0x4133db
lea ecx, [ebp - 0x2c]
call fcn.0041fa6a
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
je 0x41345c
mov eax, dword [ebp - 0x30]
mov esi, dword [sym.imp.USER32.dll_PeekMessageA]
mov dword [ebp + 0x10], eax
push 0xff
push 0xffffffffffffffff
lea eax, [ebp + 0x10]
push ebx
push eax
push 1
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
cmp eax, ebx
je 0x413453
cmp eax, 1
jne 0x413453
push ebx
push ebx
push ebx
lea eax, [ebp - 0x84]
push ebx
push eax
call esi
test eax, eax
je 0x4133f5
push ebx
push ebx
lea eax, [ebp - 0x84]
push ebx
push eax
call dword [sym.imp.USER32.dll_GetMessageA]
test eax, eax
je 0x4133f5
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
jmp 0x413412
push dword [ebp - 0x30]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp byte [0x483654], bl
pop esi
pop ebx
jne 0x41347a
push 1
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp - 8]
call dword [sym.imp.USER32.dll_DestroyWindow]
lea ecx, [ebp - 0x2c]
call fcn.0041ebe6
lea ecx, [ebp - 0x14]
call fcn.0041ebe6
lea ecx, [ebp - 0x20]
call fcn.0041ebe6
leave
ret 0xc