Function at 0x439bf1
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x90
lea ebp, [esp - 4]
mov eax, dword [0x517774]
xor eax, ebp
mov dword [ebp + 0x90], eax
push 0xe8
mov eax, 0x4cb8cc
call fcn.0049aeba
mov ebx, dword [ebp + 0x9c]
mov esi, dword [ebp + 0xa8]
mov eax, dword [ebp + 0xac]
xor edi, edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0x57
cmp ebx, edi
je 0x439c50
push ebx
call fcn.004998a0
pop ecx
test eax, eax
jbe 0x439c50
xor eax, eax
inc eax
jmp 0x439c52
xor eax, eax
xor ecx, ecx
cmp eax, edi
setne cl
mov eax, ecx
cmp eax, edi
jne 0x439c84
push edi
call fcn.00429311
push eax
push str.Invalid_command_line
push str._s_failed_returning__s_n
push 0x519518
call fcn.00426fe1
add esp, 0x14
xor eax, eax
jmp 0x43a04d
push dword [ebp - 0x18]
push esi
push dword [ebp + 0xa0]
mov esi, 0x519518
push ebx
push str.LaunchApp__s__d__p__p__n
push esi
call fcn.00427473
xor eax, eax
inc eax
add esp, 0x18
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0xf4], 0x44
cmp dword [ebp + 0xb4], eax
je 0x439d7e
cmp dword [ebp + 0xa0], edi
jne 0x439cde
cmp dword [ebp + 0xb4], edi
je 0x439d7e
push ebx
push str.Using_CreateProcess_cmdline___s__n
push 0x20
push esi
mov dword [ebp - 0x34], edi
call fcn.00402450
add esp, 0x10
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push ebx
lea ecx, [ebp - 0xb0]
call fcn.00402a30
lea ecx, [ebp - 0x94]
push ecx
mov ecx, eax
call fcn.00413980
mov ecx, eax
call fcn.00407690
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0xf4]
push ecx
push edi
push edi
push 0x20
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
push edi
push 1
lea ecx, [ebp - 0xb0]
mov dword [ebp - 0x30], eax
call fcn.00401a30
cmp dword [ebp - 0x30], edi
jne 0x439e57
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x14]
push dword [ebp + 0xa0]
push ebx
push str.LaunchApp__s__d__p__p__failed_with__d_n
push esi
call fcn.00426fe1
add esp, 0x1c
jmp 0x43a04a
push ebx
lea ecx, [ebp]
mov dword [ebp - 0x34], eax
call fcn.0043fad1
cmp dword [ebp + 0x8c], 0x10
mov ecx, dword [ebp + 0x78]
mov dword [ebp - 4], edi
jae 0x439d9c
lea ecx, [ebp + 0x78]
cmp dword [ebp + 0x70], 0x10
mov eax, dword [ebp + 0x5c]
jae 0x439da8
lea eax, [ebp + 0x5c]
push ecx
push eax
push str.Using_shellExecute_file___s_and_param__s_n
push 0x20
push esi
call fcn.00402450
add esp, 0x14
mov dword [ebp - 0x8c], 0x3c
mov dword [ebp - 0x88], 0x440
cmp dword [ebp + 0xa0], edi
jne 0x439de0
mov dword [ebp - 0x88], 0x540
cmp dword [ebp + 0x70], 0x10
mov eax, dword [ebp + 0x5c]
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], edi
jae 0x439df5
lea eax, [ebp + 0x5c]
cmp dword [ebp + 0x8c], 0x10
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x78]
jae 0x439e07
lea eax, [ebp + 0x78]
mov dword [ebp - 0x78], eax
lea eax, [ebp - 0x8c]
push eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x54], edi
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
mov dword [ebp - 0x30], eax
cmp eax, edi
je 0x439e46
push 0x10
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00497680
mov eax, dword [ebp - 0x54]
add esp, 0xc
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], edi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp]
call fcn.0043f35f
jmp 0x439d4b
cmp dword [ebp - 0x14], edi
je 0x439e85
push 0xbb8
push dword [ebp - 0x28]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push edi
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call dword [ebp - 0x14]
push dword [ebp - 0x14]
push str.Called__p_callback_before_waiting_n
push esi
call fcn.00427473
add esp, 0x18
cmp dword [ebp + 0xa0], edi
je 0x43a041
push ebx
cmp dword [ebp + 0xb0], edi
je 0x439f8b
push str.Waiting_for__s__or_any_messages__n
push esi
call fcn.00427473
mov ebx, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
add esp, 0xc
jmp 0x439f05
push dword [ebp - 0x4c]
push dword [ebp - 0x2c]
push str.Received_message_while_waiting_for__s...__0x_x
push 0x80
push esi
call fcn.00402450
add esp, 0x14
cmp dword [ebp - 0x4c], 0x12
jne 0x439ede
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x439ef2
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push 1
push edi
push edi
push edi
lea eax, [ebp - 0x50]
push eax
call dword [sym.imp.USER32.dll_PeekMessageA]
test eax, eax
jne 0x439eb4
push 0x4ff
push dword [ebp + 0xa4]
lea eax, [ebp - 0x28]
push edi
push eax
push 1
call ebx
mov dword [ebp - 0x10], eax
cmp eax, 1
je 0x439ef2
cmp dword [ebp - 0x14], edi
je 0x439f42
push 1
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call dword [ebp - 0x14]
push dword [ebp - 0x14]
push str.Called__p_callback_after_waiting_n
push esi
call fcn.00427473
add esp, 0x18
cmp dword [ebp - 0x10], 0xffffffff
je 0x439f77
cmp dword [ebp - 0x10], 0x80
je 0x439f77
cmp dword [ebp - 0x10], 0x102
je 0x439f77
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x10]
push dword [ebp - 0x2c]
push str._s_finished_with__d_n
jmp 0x439ffa
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x2c]
push str._s_MsgWaitForMultipleObjects_failed_with__d_n
jmp 0x43a012
push str.Waiting_for__s_n
push esi
call fcn.00427473
add esp, 0xc
push dword [ebp + 0xa4]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x14], edi
je 0x439fcc
push 1
push dword [ebp - 0x18]
push dword [ebp - 0x28]
call dword [ebp - 0x14]
push dword [ebp - 0x14]
push str.Called__p_callback_after_waiting_n
push esi
call fcn.00427473
add esp, 0x18
cmp dword [ebp - 0x10], 0xffffffff
je 0x43a005
cmp dword [ebp - 0x10], 0x80
je 0x43a005
cmp dword [ebp - 0x10], 0x102
je 0x43a005
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x10]
push ebx
push str._s_finsihed_with__d_n
push esi
call fcn.00427473
add esp, 0x10
jmp 0x43a02e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push ebx
push str._s_WaitForSingleObject_failed_with__d_n
push esi
mov dword [ebp - 0x10], eax
call fcn.00426fe1
mov eax, dword [ebp - 0x10]
sub eax, 0x7e
add esp, 0x10
neg eax
sbb eax, eax
and eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x34], edi
jne 0x43a041
cmp dword [ebp - 0x24], edi
je 0x43a041
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x90]
xor ecx, ebp
call fcn.004974ba
add ebp, 0x94
leave
ret