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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rdi, rcx
lea rcx, [rbp - 0x68]
mov ebx, r8d
mov rsi, rdx
call fcn.140014e4c
lea rcx, [rbp - 0x58]
call fcn.140014e4c
call qword [sym.imp.KERNEL32.DLL_GetCommandLineW]
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.1400037e8
lea r8, [rbp - 0x68]
lea rdx, [0x140021010]
lea rcx, [rbp - 0x18]
call fcn.140014e08
lea r8, [0x1400210f0]
lea rcx, [rbp - 0x28]
mov rdx, rax
call fcn.140014dc4
lea r8, str.sfxwaitall
lea rcx, [rbp - 8]
mov rdx, rax
call fcn.140014dc4
lea rcx, [rsp + 0x50]
mov r8d, 0x3a
mov rdx, rax
call fcn.140014cb4
lea r8d, [rbx + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.140014cb4
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
mov r8d, 0x20
call fcn.140014cb4
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x78]
mov r8d, 0x22
call fcn.140014cb4
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x18]
mov r8, rdi
call fcn.140014dc4
lea r8, [0x1400210cc]
lea rcx, [rbp + 8]
mov rdx, rax
call fcn.140014dc4
lea rcx, [rbp - 0x38]
mov r8, rsi
mov rdx, rax
call fcn.140014dc4
lea rcx, [rbp - 0x58]
mov rdx, qword [rax]
call fcn.140014f1c
mov rcx, qword [rbp - 0x38]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp + 8]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp + 0x18]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x78]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x78]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x48]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rsp + 0x50]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 8]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x28]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x18]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
lea rcx, [rbp + 0x30]
mov dword [rbp + 0x30], 0x68
call qword [sym.imp.KERNEL32.DLL_GetStartupInfoW]
lea r11, [rsp + 0x60]
lea rax, [rbp + 0x30]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rax
mov rax, qword [0x140027ce0]
mov rdx, qword [rbp - 0x58]
xor r9d, r9d
mov qword [rsp + 0x38], rax
and qword [rsp + 0x30], 0
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], 0x1000004
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.DLL_CreateProcessW]
test eax, eax
jne 0x140002262
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov ebx, eax
jmp 0x140002379
xor edx, edx
xor ecx, ecx
xor ebx, ebx
call qword [sym.imp.KERNEL32.DLL_CreateJobObjectW]
or esi, 0xffffffff
mov rdi, rax
test rax, rax
je 0x140002307
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.DLL_AssignProcessToJobObject]
test eax, eax
je 0x140002307
lea r8d, [rbx + 1]
xor r9d, r9d
xor edx, edx
or rcx, 0xffffffffffffffff
call qword [sym.imp.KERNEL32.DLL_CreateIoCompletionPort]
mov rbx, rax
test rax, rax
je 0x140002307
mov r9d, InitCommonControls
lea r8, [rsp + 0x50]
mov rcx, rdi
lea edx, [r9 - 9]
mov qword [rsp + 0x50], 1
mov qword [rsp + 0x58], rax
call qword [sym.imp.KERNEL32.DLL_SetInformationJobObject]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
jmp 0x1400022e6
cmp dword [rbp + 0xd0], 4
je 0x14000231f
lea r9, [rbp - 0x78]
lea r8, [rsp + 0x78]
lea rdx, [rbp + 0xd0]
mov rcx, rbx
mov dword [rsp + 0x20], esi
call qword [sym.imp.KERNEL32.DLL_GetQueuedCompletionStatus]
test eax, eax
jne 0x1400022dd
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_ResumeThread]
mov rcx, qword [rsp + 0x60]
mov edx, esi
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [rsp + 0x60]
lea rdx, [rbp + 0xd8]
call qword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
test eax, eax
jne 0x14000234c
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov dword [rbp + 0xd8], eax
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test rbx, rbx
je 0x140002365
mov rcx, rbx
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
test rdi, rdi
je 0x140002373
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ebx, dword [rbp + 0xd8]
mov rcx, qword [rbp - 0x58]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov rcx, qword [rbp - 0x68]
call sub.msvcrt.dll_void___cdecl_operator_delete_void____ptr64_
mov eax, ebx
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
pop rsi
pop rbp
ret