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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xf4
push esi
push edi
lea ecx, [ebp - 0x44]
call fcn.00401274
lea ecx, [ebp - 0x38]
call fcn.00401274
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.0040356e
mov eax, dword [ebp + 0x10]
pop ecx
pop ecx
push dword [ebp + 0xc]
add eax, 0x30
push 0x424a44
push dword [ebp + 8]
push 0x22
push 0x20
push eax
push 0x3a
push str.sfxwaitall
push 0x424a24
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
push 0x42496c
push eax
call fcn.00412dba
add esp, 0xc
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.00412d8b
add esp, 0xc
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00412d8b
add esp, 0xc
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.00401ed2
add esp, 0xc
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.00401ed2
add esp, 0xc
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.00401ed2
add esp, 0xc
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00401ed2
add esp, 0xc
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.00412d8b
add esp, 0xc
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.00412d8b
add esp, 0xc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00412d8b
add esp, 0xc
mov ecx, eax
call fcn.0040a9b3
push eax
lea ecx, [ebp - 0x38]
call fcn.00401000
lea ecx, [ebp - 0x2c]
call fcn.0040cb8d
lea ecx, [ebp - 0xa4]
call fcn.0040cb8d
lea ecx, [ebp - 0x50]
call fcn.0040cb8d
lea ecx, [ebp - 0x68]
call fcn.0040cb8d
lea ecx, [ebp - 0x98]
call fcn.0040cb8d
lea ecx, [ebp - 0x80]
call fcn.0040cb8d
lea ecx, [ebp - 0xb0]
call fcn.0040cb8d
lea ecx, [ebp - 0x5c]
call fcn.0040cb8d
lea ecx, [ebp - 0x74]
call fcn.0040cb8d
lea ecx, [ebp - 0x8c]
call fcn.0040cb8d
lea eax, [ebp - 0xf4]
push eax
mov dword [ebp - 0xf4], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xf4]
push eax
mov ecx, 0x42c2b0
call fcn.0040a9b3
push eax
xor edi, edi
push edi
push 0x1000004
push 1
push edi
push edi
lea ecx, [ebp - 0x38]
call fcn.0040a9b3
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4020a4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x38]
call fcn.00401894
lea ecx, [ebp - 0x44]
call fcn.00401894
pop edi
mov eax, esi
pop esi
leave
ret
push ebx
push edi
push edi
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov ebx, dword [sym.imp.KERNEL32.dll_ResumeThread]
mov dword [ebp + 0x10], eax
cmp eax, edi
je 0x40211f
push dword [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x40211f
push edi
push 1
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov esi, eax
cmp esi, edi
je 0x40211f
push 8
lea eax, [ebp - 0x28]
push eax
push 7
push dword [ebp + 0x10]
mov dword [ebp - 0x28], 1
mov dword [ebp - 0x24], esi
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
push dword [ebp - 0x18]
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
jmp 0x40210a
cmp dword [ebp - 4], 4
je 0x40212f
push 0xffffffffffffffff
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
call edi
test eax, eax
jne 0x402104
push dword [ebp - 0x18]
call ebx
push 0xffffffffffffffff
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x18]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
pop ebx
test eax, eax
jne 0x402155
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
push dword [ebp - 0x1c]
call edi
test esi, esi
je 0x402161
push esi
call edi
cmp dword [ebp + 0x10], 0
je 0x40216c
push dword [ebp + 0x10]
call edi
mov esi, dword [ebp - 8]
jmp 0x40208e