Function at 0x402450
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 - 0x34]
call fcn.00401420
lea ecx, [ebp - 0x40]
call fcn.00401420
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00403ec0
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 0x10]
add esp, 8
push ecx
push 0x423a1c
push edx
push 0x22
push 0x20
add eax, 0x30
push eax
push 0x3a
push str.sfxwaitall
push 0x4239fc
lea ecx, [ebp - 0x34]
push ecx
lea edx, [ebp - 0x88]
push 0x423944
push edx
call fcn.00415e20
add esp, 0xc
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00415de0
add esp, 0xc
push eax
lea ecx, [ebp - 0x58]
push ecx
call fcn.00415de0
add esp, 0xc
push eax
lea edx, [ebp - 0xac]
push edx
call fcn.00402430
add esp, 0xc
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00402430
add esp, 0xc
push eax
lea ecx, [ebp - 0x94]
push ecx
call fcn.00402430
add esp, 0xc
push eax
lea edx, [ebp - 0x4c]
push edx
call fcn.00402430
add esp, 0xc
push eax
lea eax, [ebp - 0xa0]
push eax
call fcn.00415de0
add esp, 0xc
push eax
lea ecx, [ebp - 0x64]
push ecx
call fcn.00415de0
add esp, 0xc
push eax
lea edx, [ebp - 0x28]
push edx
call fcn.00415de0
add esp, 0xc
mov ecx, eax
call fcn.0040dd70
push eax
lea ecx, [ebp - 0x40]
call fcn.00401000
lea ecx, [ebp - 0x28]
call fcn.00401bc0
lea ecx, [ebp - 0x64]
call fcn.00401bc0
lea ecx, [ebp - 0xa0]
call fcn.00401bc0
lea ecx, [ebp - 0x4c]
call fcn.00401bc0
lea ecx, [ebp - 0x94]
call fcn.00401bc0
lea ecx, [ebp - 0x7c]
call fcn.00401bc0
lea ecx, [ebp - 0xac]
call fcn.00401bc0
lea ecx, [ebp - 0x58]
call fcn.00401bc0
lea ecx, [ebp - 0x70]
call fcn.00401bc0
lea ecx, [ebp - 0x88]
call fcn.00401bc0
lea eax, [ebp - 0xf0]
push eax
mov dword [ebp - 0xf0], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0xf0]
push edx
mov ecx, 0x42a250
call fcn.0040dd70
push eax
push 0
push 0x1000004
push 1
push 0
push 0
lea ecx, [ebp - 0x40]
call fcn.0040dd70
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x402611
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x40]
mov esi, eax
call fcn.00401cc0
lea ecx, [ebp - 0x34]
call fcn.00401cc0
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
xor esi, esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov ebx, eax
test ebx, ebx
je 0x40269d
mov eax, dword [ebp - 0x1c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x40269d
push esi
push 1
push esi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov esi, eax
test esi, esi
je 0x40269d
push 8
lea ecx, [ebp - 0x24]
push ecx
push 7
push ebx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], esi
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp + 0x10]
push edx
push esi
call edi
test eax, eax
je 0x40269d
cmp dword [ebp + 0x10], 4
je 0x4026b3
push 0xffffffffffffffff
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp + 0x10]
push edx
push esi
call edi
test eax, eax
jne 0x402682
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x1c]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call edi
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x4026da
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov edx, dword [ebp - 0x1c]
push edx
call edi
test esi, esi
je 0x4026e7
push esi
call edi
test ebx, ebx
je 0x4026ee
push ebx
call edi
mov esi, dword [ebp - 4]
lea ecx, [ebp - 0x40]
call fcn.00401cc0
lea ecx, [ebp - 0x34]
call fcn.00401cc0
pop edi
pop ebx
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret