Function at 0x40435a
Capabilities:
Accept command line arguments
Create process on windows
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf0
push esi
lea ecx, [ebp - 0x40]
call fcn.0041045f
lea ecx, [ebp - 0x34]
call fcn.0041045f
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.004041f5
pop ecx
pop ecx
push str.sfxwaitall
push 0x4267e4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x88]
push 0x426760
push eax
call fcn.00410650
add esp, 0xc
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.0041062b
add esp, 0xc
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0041062b
add esp, 0xc
lea ecx, [ebp - 0x4c]
push 0x3a
push eax
call fcn.00410367
mov eax, dword [ebp + 0x10]
add eax, 0x30
push eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x58]
call fcn.00410367
push 0x20
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x64]
call fcn.00410367
push 0x22
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x10]
call fcn.00410367
push dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push 0x4267c4
push dword [ebp + 8]
push eax
lea eax, [ebp - 0xac]
push eax
call fcn.0041062b
add esp, 0xc
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.0041062b
add esp, 0xc
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.0041062b
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x34]
call fcn.00410584
push dword [ebp - 0x94]
call fcn.004196d0
push dword [ebp - 0xa0]
call fcn.004196d0
push dword [ebp - 0xac]
call fcn.004196d0
push dword [ebp - 0x10]
call fcn.004196d0
push dword [ebp - 0x64]
call fcn.004196d0
push dword [ebp - 0x58]
call fcn.004196d0
push dword [ebp - 0x4c]
call fcn.004196d0
push dword [ebp - 0x70]
call fcn.004196d0
push dword [ebp - 0x7c]
call fcn.004196d0
push dword [ebp - 0x88]
call fcn.004196d0
add esp, 0x28
lea eax, [ebp - 0xf0]
push eax
mov dword [ebp - 0xf0], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xf0]
push eax
push dword [0x42f500]
xor esi, esi
push esi
push 0x1000004
push 1
push esi
push esi
push dword [ebp - 0x34]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4044f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x4045b4
push ebx
push edi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, eax
test edi, edi
je 0x404567
push dword [ebp - 0x20]
push edi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x404567
push esi
push 1
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov esi, eax
test esi, esi
je 0x404567
push 8
lea eax, [ebp - 0xc]
push eax
push 7
push edi
mov dword [ebp - 0xc], 1
mov dword [ebp - 8], esi
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
push dword [ebp - 0x1c]
call ebx
jmp 0x40454e
cmp dword [ebp + 0x10], 4
je 0x404577
push 0xffffffffffffffff
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
test eax, eax
jne 0x404548
push dword [ebp - 0x1c]
call ebx
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x40459c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 0x20]
call ebx
test esi, esi
je 0x4045a8
push esi
call ebx
test edi, edi
je 0x4045af
push edi
call ebx
mov esi, dword [ebp - 4]
pop edi
pop ebx
push dword [ebp - 0x34]
call fcn.004196d0
push dword [ebp - 0x40]
call fcn.004196d0
pop ecx
pop ecx
mov eax, esi
pop esi
leave
ret