Function at 0x1400020f8
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.140015c54
lea rcx, [rbp - 0x58]
call fcn.140015c54
call qword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.140003858
lea r8, [rbp - 0x68]
lea rdx, [0x140022010]
lea rcx, [rbp - 0x18]
call fcn.140015c10
lea r8, [0x1400220f0]
lea rcx, [rbp - 0x28]
mov rdx, rax
call fcn.140015bcc
lea r8, str.sfxwaitall
lea rcx, [rbp - 8]
mov rdx, rax
call fcn.140015bcc
lea rcx, [rsp + 0x50]
mov r8d, 0x3a
mov rdx, rax
call fcn.140015abc
lea r8d, [rbx + 0x30]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call fcn.140015abc
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x78]
mov r8d, 0x20
call fcn.140015abc
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x78]
mov r8d, 0x22
call fcn.140015abc
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0x18]
mov r8, rdi
call fcn.140015bcc
lea r8, [0x1400220cc]
lea rcx, [rbp + 8]
mov rdx, rax
call fcn.140015bcc
lea rcx, [rbp - 0x38]
mov r8, rsi
mov rdx, rax
call fcn.140015bcc
lea rcx, [rbp - 0x58]
mov rdx, qword [rax]
call fcn.140015d24
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 [0x140028ce0]
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 0x1400022c6
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x1400023dd
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 0x14000236b
mov rdx, qword [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
je 0x14000236b
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 0x14000236b
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 0x14000234a
cmp dword [rbp + 0xd0], 4
je 0x140002383
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 0x140002341
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 0x1400023b0
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 0x1400023c9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test rdi, rdi
je 0x1400023d7
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