Function at 0x41b621
Capabilities:
Create process on windows

Disassembly:
push ebp
sub esp, 0x7c
lea ebp, [esp - 4]
mov eax, dword [0x484c64]
xor eax, ebp
mov dword [ebp + 0x7c], eax
push 0xe8
mov eax, 0x462396
call fcn.0044ba5a
mov ebx, dword [ebp + 0x88]
mov esi, dword [ebp + 0x94]
mov eax, dword [ebp + 0x98]
xor edi, edi
cmp ebx, edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], 0x57
je 0x41b67a
push ebx
call fcn.0044aa00
test eax, eax
pop ecx
jbe 0x41b67a
xor eax, eax
inc eax
jmp 0x41b67c
xor eax, eax
xor ecx, ecx
cmp eax, edi
setne cl
mov eax, ecx
cmp eax, edi
jne 0x41b6ae
push edi
call fcn.0041c9fd
push eax
push str.Invalid_command_line
push str._s_failed_returning__s_n
push 0x4866f8
call fcn.00419d26
add esp, 0x14
xor eax, eax
jmp 0x41ba53
push dword [ebp - 0x18]
push esi
push dword [ebp + 0x8c]
mov esi, 0x4866f8
push ebx
push str.LaunchApp__s__d__p__p__n
push esi
call fcn.0041a1b0
xor eax, eax
inc eax
add esp, 0x18
cmp dword [ebp + 0xa0], eax
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xf4], 0x44
je 0x41b79c
cmp dword [ebp + 0x8c], edi
jne 0x41b6fc
cmp dword [ebp + 0xa0], edi
je 0x41b79c
push ebx
push str.Using_CreateProcess_cmdline___s__n
push 0x20
push esi
mov dword [ebp - 0x34], edi
call fcn.00401000
add esp, 0x10
lea eax, [ebp - 0xf4]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
push ebx
lea ecx, [ebp - 0xb0]
call fcn.00402f00
lea ecx, [ebp - 0x94]
push ecx
mov ecx, eax
call fcn.0040b890
mov ecx, eax
call fcn.0040b190
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.00401c10
cmp dword [ebp - 0x30], edi
jne 0x41b85d
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 + 0x8c]
push ebx
push str.LaunchApp__s__d__p__p__failed_with__d_n
push esi
call fcn.00419d26
add esp, 0x1c
jmp 0x41ba50
push ebx
lea ecx, [ebp]
mov dword [ebp - 0x34], eax
call fcn.00427410
cmp dword [ebp + 0x78], 0x10
mov ecx, dword [ebp + 0x64]
mov dword [ebp - 4], edi
jae 0x41b7b7
lea ecx, [ebp + 0x64]
cmp dword [ebp + 0x5c], 0x10
mov eax, dword [ebp + 0x48]
jae 0x41b7c3
lea eax, [ebp + 0x48]
push ecx
push eax
push str.Using_shellExecute_file___s_and_param__s_n
push 0x20
push esi
call fcn.00401000
mov eax, dword [ebp + 0x48]
add esp, 0x14
cmp dword [ebp + 0x5c], 0x10
mov dword [ebp - 0x8c], 0x3c
mov dword [ebp - 0x88], 0x440
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x80], edi
jae 0x41b7fe
lea eax, [ebp + 0x48]
cmp dword [ebp + 0x78], 0x10
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp + 0x64]
jae 0x41b80d
lea eax, [ebp + 0x64]
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]
cmp eax, edi
mov dword [ebp - 0x30], eax
je 0x41b84c
push 0x10
lea eax, [ebp - 0x28]
push edi
push eax
call fcn.00447ba0
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.00426da5
jmp 0x41b769
cmp dword [ebp - 0x14], edi
je 0x41b88b
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.0041a1b0
add esp, 0x18
cmp dword [ebp + 0x8c], edi
je 0x41ba47
cmp dword [ebp + 0x9c], edi
push ebx
je 0x41b991
push str.Waiting_for__s__or_any_messages__n
push esi
call fcn.0041a1b0
mov ebx, dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
add esp, 0xc
jmp 0x41b90b
push dword [ebp - 0x4c]
push dword [ebp - 0x2c]
push str.Received_message_while_waiting_for__s...__0x_x
push 0x80
push esi
call fcn.00401000
add esp, 0x14
cmp dword [ebp - 0x4c], 0x12
jne 0x41b8e4
push dword [ebp - 0x48]
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x41b8f8
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 0x41b8ba
push 0x4ff
push dword [ebp + 0x90]
lea eax, [ebp - 0x28]
push edi
push eax
push 1
call ebx
cmp eax, 1
mov dword [ebp - 0x10], eax
je 0x41b8f8
cmp dword [ebp - 0x14], edi
je 0x41b948
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.0041a1b0
add esp, 0x18
cmp dword [ebp - 0x10], 0xffffffff
je 0x41b97d
cmp dword [ebp - 0x10], 0x80
je 0x41b97d
cmp dword [ebp - 0x10], 0x102
je 0x41b97d
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 0x41ba00
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push dword [ebp - 0x2c]
push str._s_MsgWaitForMultipleObjects_failed_with__d_n
jmp 0x41ba18
push str.Waiting_for__s_n
push esi
call fcn.0041a1b0
add esp, 0xc
push dword [ebp + 0x90]
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp - 0x14], edi
mov dword [ebp - 0x10], eax
je 0x41b9d2
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.0041a1b0
add esp, 0x18
cmp dword [ebp - 0x10], 0xffffffff
je 0x41ba0b
cmp dword [ebp - 0x10], 0x80
je 0x41ba0b
cmp dword [ebp - 0x10], 0x102
je 0x41ba0b
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.0041a1b0
add esp, 0x10
jmp 0x41ba34
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.00419d26
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 0x41ba47
cmp dword [ebp - 0x24], edi
je 0x41ba47
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 + 0x7c]
xor ecx, ebp
call fcn.00447b4c
add ebp, 0x80
leave
ret