Function at 0x407b19
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.00413f02
lea ecx, [ebp - 0x38]
call fcn.00413f02
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call fcn.00407303
pop ecx
pop ecx
push str.sfxwaitall
push 0x427030
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x8c]
push 0x426fb8
push eax
call fcn.00414387
add esp, 0xc
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.0041435b
add esp, 0xc
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.0041435b
add esp, 0xc
push 0x3a
push eax
lea ecx, [ebp - 0x68]
call fcn.004142f4
mov eax, dword [ebp + 0x10]
add eax, 0x30
push eax
lea eax, [ebp - 0x68]
push eax
lea ecx, [ebp - 0x50]
call fcn.004142f4
push 0x20
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x5c]
call fcn.004142f4
push 0x22
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x18]
call fcn.004142f4
push dword [ebp + 0xc]
lea eax, [ebp - 0x18]
push 0x427028
push dword [ebp + 8]
push eax
lea eax, [ebp - 0xb0]
push eax
call fcn.0041435b
add esp, 0xc
push eax
lea eax, [ebp - 0xa4]
push eax
call fcn.0041435b
add esp, 0xc
push eax
lea eax, [ebp - 0x98]
push eax
call fcn.0041435b
add esp, 0xc
push dword [eax]
lea ecx, [ebp - 0x38]
call fcn.004143f0
push dword [ebp - 0x98]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xa4]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xb0]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x18]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x5c]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x50]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x68]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x74]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x80]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x8c]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
add esp, 0x28
lea eax, [ebp - 0xf4]
push eax
mov dword [ebp - 0xf4], 0x44
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xf4]
push eax
push dword [0x42c7a8]
xor edi, edi
push edi
push 0x1000004
push 1
push edi
push edi
push dword [ebp - 0x38]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x407cc5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push dword [ebp - 0x38]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x44]
call sub.MSVCR100.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
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 0x407d40
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x407d40
push edi
push 1
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov esi, eax
cmp esi, edi
je 0x407d40
push 8
lea eax, [ebp - 0x14]
push eax
push 7
push dword [ebp + 0x10]
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x10], esi
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
push dword [ebp - 0x28]
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
jmp 0x407d2b
cmp dword [ebp - 4], 4
je 0x407d50
push 0xffffffffffffffff
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 4]
push eax
push esi
call edi
test eax, eax
jne 0x407d25
push dword [ebp - 0x28]
call ebx
push 0xffffffffffffffff
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x28]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
pop ebx
test eax, eax
jne 0x407d76
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 8], eax
push dword [ebp - 0x2c]
call edi
test esi, esi
je 0x407d82
push esi
call edi
cmp dword [ebp + 0x10], 0
je 0x407d8d
push dword [ebp + 0x10]
call edi
mov esi, dword [ebp - 8]
jmp 0x407cad