Function at 0x404dc3
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.00401a43
lea eax, [ebp - 0x3c]
call fcn.00401a43
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov ecx, eax
lea eax, [ebp - 0x48]
call fcn.0040448b
push dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
push 0x41566c
push dword [ebp + 8]
add eax, 0x30
push 0x22
push 0x20
push eax
push 0x3a
push str.sfxwaitall
push 0x41568c
lea edi, [ebp - 0x48]
lea eax, [ebp - 0x90]
call fcn.00406dab
mov edi, eax
lea eax, [ebp - 0x78]
call fcn.00406dbe
mov edi, eax
pop ecx
lea eax, [ebp - 0x60]
call fcn.00406dbe
mov edi, eax
pop ecx
lea eax, [ebp - 0xb4]
call fcn.00406dd3
mov edi, eax
pop ecx
lea eax, [ebp - 0x84]
call fcn.00406dd3
mov edi, eax
pop ecx
lea eax, [ebp - 0x9c]
call fcn.00406dd3
mov edi, eax
pop ecx
lea eax, [ebp - 0x6c]
call fcn.00406dd3
mov edi, eax
pop ecx
lea eax, [ebp - 0x54]
call fcn.00406dbe
mov edi, eax
pop ecx
lea eax, [ebp - 0xa8]
call fcn.00406dbe
mov edi, eax
pop ecx
lea eax, [ebp - 0x30]
call fcn.00406dbe
mov edi, eax
pop ecx
lea eax, [ebp - 0x3c]
call fcn.00401873
push dword [ebp - 0x30]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xa8]
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 - 0x6c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x9c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x84]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0xb4]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x60]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x78]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x90]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
add esp, 0x28
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
push dword [0x418ecc]
xor ebx, ebx
push ebx
push 0x1000004
xor edi, edi
inc edi
push edi
push ebx
push ebx
push dword [ebp - 0x3c]
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x404f5f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push dword [ebp - 0x3c]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
push dword [ebp - 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void__
pop ecx
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
push ebx
push ebx
xor esi, esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov dword [ebp + 0x10], eax
cmp eax, ebx
je 0x404fd2
push dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x404fd2
push ebx
push edi
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov esi, eax
cmp esi, ebx
je 0x404fd2
push 8
lea eax, [ebp - 0x2c]
push eax
push 7
push dword [ebp + 0x10]
mov dword [ebp - 0x2c], edi
mov dword [ebp - 0x28], esi
call dword [sym.imp.KERNEL32.dll_SetInformationJobObject]
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov edi, dword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
jmp 0x404fbd
cmp dword [ebp - 8], 4
je 0x404fe6
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 0x404fb7
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
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 0x40500b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
push dword [ebp - 0x20]
call edi
cmp esi, ebx
je 0x405017
push esi
call edi
cmp dword [ebp + 0x10], ebx
je 0x405021
push dword [ebp + 0x10]
call edi
mov esi, dword [ebp - 0xc]
jmp 0x404f46