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

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0xf4
push esi
push edi
lea ecx, [ebp + 0x28]
call fcn.00410f2d
lea ecx, [ebp + 0x34]
call fcn.00410f2d
lea eax, [ebp + 0x28]
push eax
call dword [sym.imp.KERNEL32.DLL_GetCommandLineW]
push eax
call fcn.004042ca
pop ecx
pop ecx
push str.sfxwaitall
push 0x41b950
lea eax, [ebp + 0x28]
push eax
lea eax, [ebp - 0x20]
push 0x41b8c8
push eax
call fcn.0041133d
add esp, 0xc
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00411318
add esp, 0xc
push eax
lea eax, [ebp - 8]
push eax
call fcn.00411318
add esp, 0xc
push 0x3a
push eax
lea ecx, [ebp + 4]
call fcn.004112b4
mov eax, dword [ebp + 0x7c]
add eax, 0x30
push eax
lea eax, [ebp + 4]
push eax
lea ecx, [ebp + 0x1c]
call fcn.004112b4
push 0x20
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp + 0x10]
call fcn.004112b4
push 0x22
lea eax, [ebp + 0x10]
push eax
lea ecx, [ebp + 0x54]
call fcn.004112b4
push dword [ebp + 0x78]
lea eax, [ebp + 0x54]
push 0x41b948
push dword [ebp + 0x74]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.00411318
add esp, 0xc
push eax
lea eax, [ebp - 0x38]
push eax
call fcn.00411318
add esp, 0xc
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00411318
add esp, 0xc
push dword [eax]
lea ecx, [ebp + 0x34]
call fcn.00411391
push dword [ebp - 0x2c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x38]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x44]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x54]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x10]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x1c]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 4]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 8]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x14]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x20]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
add esp, 0x28
lea eax, [ebp - 0x88]
push eax
mov dword [ebp - 0x88], 0x44
call dword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
lea eax, [ebp + 0x40]
push eax
lea eax, [ebp - 0x88]
push eax
push dword [0x41e754]
xor edi, edi
push edi
push 0x1000004
push 1
push edi
push edi
push dword [ebp + 0x34]
push edi
call dword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x404d03
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov esi, eax
push dword [ebp + 0x34]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
push dword [ebp + 0x28]
call sub.MSVCRT.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
add ebp, 0x6c
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 + 0x7c], eax
cmp eax, edi
je 0x404d7e
push dword [ebp + 0x40]
push eax
call dword [sym.imp.KERNEL32.DLL_AssignProcessToJobObject]
test eax, eax
je 0x404d7e
push edi
push 1
push edi
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_CreateIoCompletionPort]
mov esi, eax
cmp esi, edi
je 0x404d7e
push 8
lea eax, [ebp + 0x58]
push eax
push 7
push dword [ebp + 0x7c]
mov dword [ebp + 0x58], 1
mov dword [ebp + 0x5c], esi
call dword [sym.imp.KERNEL32.DLL_SetInformationJobObject]
push dword [ebp + 0x44]
call ebx
mov edi, dword [sym.imp.KERNEL32.DLL_GetQueuedCompletionStatus]
jmp 0x404d69
cmp dword [ebp + 0x68], 4
je 0x404d8e
push 0xffffffffffffffff
lea eax, [ebp + 0x50]
push eax
lea eax, [ebp + 0x60]
push eax
lea eax, [ebp + 0x68]
push eax
push esi
call edi
test eax, eax
jne 0x404d63
push dword [ebp + 0x44]
call ebx
push 0xffffffffffffffff
push dword [ebp + 0x40]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
push dword [ebp + 0x44]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call edi
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x40]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
pop ebx
test eax, eax
jne 0x404db4
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [ebp + 0x64], eax
push dword [ebp + 0x40]
call edi
test esi, esi
je 0x404dc0
push esi
call edi
cmp dword [ebp + 0x7c], 0
je 0x404dcb
push dword [ebp + 0x7c]
call edi
mov esi, dword [ebp + 0x64]
jmp 0x404ce8