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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x100
push ebx
push esi
push edi
lea eax, [ebp - 0x48]
call fcn.00401000
lea eax, [ebp - 0x3c]
call fcn.00401000
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, eax
lea eax, [ebp - 0x48]
call fcn.00403688
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push 0x42794c
push dword [ebp + 8]
add eax, 0x30
push 0x22
push 0x20
push eax
push 0x3a
push str.sfxwaitall
push 0x42796c
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.0041254f
pop ecx
pop ecx
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0041251e
add esp, 0xc
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.0041251e
add esp, 0xc
push eax
lea eax, [ebp - 0xb4]
push eax
call fcn.004025d9
add esp, 0xc
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.004025d9
add esp, 0xc
push eax
lea eax, [ebp - 0x9c]
push eax
call fcn.004025d9
add esp, 0xc
push eax
lea eax, [ebp - 0x6c]
push eax
call fcn.004025d9
add esp, 0xc
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.0041251e
add esp, 0xc
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.0041251e
add esp, 0xc
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0041251e
add esp, 0xc
call fcn.0040bba8
push eax
lea eax, [ebp - 0x3c]
call fcn.0040100c
lea eax, [ebp - 0x30]
call fcn.0040bbed
lea eax, [ebp - 0xa8]
call fcn.0040bbed
lea eax, [ebp - 0x54]
call fcn.0040bbed
lea eax, [ebp - 0x6c]
call fcn.0040bbed
lea eax, [ebp - 0x9c]
call fcn.0040bbed
lea eax, [ebp - 0x84]
call fcn.0040bbed
lea eax, [ebp - 0xb4]
call fcn.0040bbed
lea eax, [ebp - 0x60]
call fcn.0040bbed
lea eax, [ebp - 0x78]
call fcn.0040bbed
lea eax, [ebp - 0x90]
call fcn.0040bbed
lea eax, [ebp - 0xfc]
push eax
mov dword [ebp - 0xfc], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xfc]
push eax
mov eax, 0x4302ec
call fcn.0040bba8
push eax
xor edi, edi
push edi
push 0x1000004
push 1
push edi
push edi
lea eax, [ebp - 0x3c]
call fcn.0040bba8
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x401f0f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea eax, [ebp - 0x3c]
call fcn.0040177f
lea eax, [ebp - 0x48]
call fcn.0040177f
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
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 0x401f89
push dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x401f89
push edi
push 1
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov esi, eax
cmp esi, edi
je 0x401f89
push 8
lea eax, [ebp - 0x2c]
push eax
push 7
push dword [ebp + 0x10]
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
push dword [ebp - 0x1c]
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
jmp 0x401f74
cmp dword [ebp - 8], 4
je 0x401f99
push 0xffffffffffffffff
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push esi
call edi
test eax, eax
jne 0x401f6e
push dword [ebp - 0x1c]
call ebx
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x1c]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x401fbe
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x20]
call edi
test esi, esi
je 0x401fca
push esi
call edi
cmp dword [ebp + 0x10], 0
je 0x401fd5
push dword [ebp + 0x10]
call edi
mov esi, dword [ebp - 0xc]
jmp 0x401ef8