Function at 0x40230a
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.0041158b
lea ecx, [ebp - 0x34]
call fcn.0041158b
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00404cf6
pop ecx
pop ecx
push str.sfxwaitall
push 0x426a40
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0xac]
push 0x4269ac
push eax
call fcn.0041178d
add esp, 0xc
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00411768
add esp, 0xc
push eax
lea eax, [ebp - 0x94]
push eax
call fcn.00411768
add esp, 0xc
lea ecx, [ebp - 0x64]
push 0x3a
push eax
call fcn.00411458
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x58]
add eax, 0x30
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.00411458
push 0x20
lea eax, [ebp - 0x58]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00411458
push 0x22
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x18]
call fcn.00411458
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push 0x426a20
push dword [ebp + 8]
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.00411768
add esp, 0xc
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00411768
add esp, 0xc
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00411768
add esp, 0xc
lea ecx, [ebp - 0x34]
push dword [eax]
call fcn.004116bd
push dword [ebp - 0x70]
call fcn.00419a19
push dword [ebp - 0x7c]
call fcn.00419a19
push dword [ebp - 0x88]
call fcn.00419a19
push dword [ebp - 0x18]
call fcn.00419a19
push dword [ebp - 0x4c]
call fcn.00419a19
push dword [ebp - 0x58]
call fcn.00419a19
push dword [ebp - 0x64]
call fcn.00419a19
push dword [ebp - 0x94]
call fcn.00419a19
push dword [ebp - 0xa0]
call fcn.00419a19
push dword [ebp - 0xac]
call fcn.00419a19
add esp, 0x28
mov dword [ebp - 0xf0], 0x44
lea eax, [ebp - 0xf0]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea eax, [ebp - 0x28]
xor esi, esi
push eax
lea eax, [ebp - 0xf0]
push eax
push dword [0x430ecc]
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 0x4024a2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
jmp 0x402564
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 0x402517
push dword [ebp - 0x28]
push edi
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x402517
push esi
push 1
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov esi, eax
test esi, esi
je 0x402517
push 8
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 1
push eax
push 7
push edi
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
push dword [ebp - 0x24]
call ebx
jmp 0x4024fe
cmp dword [ebp + 0x10], 4
je 0x402527
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 0x10]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
test eax, eax
jne 0x4024f8
push dword [ebp - 0x24]
call ebx
push 0xffffffffffffffff
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x24]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
call ebx
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x40254c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
push dword [ebp - 0x28]
call ebx
test esi, esi
je 0x402558
push esi
call ebx
test edi, edi
je 0x40255f
push edi
call ebx
mov esi, dword [ebp - 4]
pop edi
pop ebx
push dword [ebp - 0x34]
call fcn.00419a19
push dword [ebp - 0x40]
call fcn.00419a19
pop ecx
pop ecx
mov eax, esi
pop esi
leave
ret