Function at 0x140001340
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov rax, qword [0x14002a008]
xor rax, rsp
mov qword [rbp + 0x70], rax
mov rdi, rcx
mov rdx, rcx
lea rcx, str.run_child:_about_to_run__ls_n
call fcn.140001130
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateJobObjectA]
mov r9d, 0x90
lea r8, [rbp - 0x20]
mov rbx, rax
mov edx, 9
lea rax, [rsp + 0x50]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
je 0x140001591
cmp dword [rsp + 0x50], 0x90
jne 0x140001591
test rbx, rbx
je 0x140001591
or dword [rbp - 0x10], 0x3000
lea r8, [rbp - 0x20]
mov r9d, 0x90
mov edx, 9
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
test eax, eax
jne 0x1400013f8
lea rdx, str.Job_information_setting_failed
lea ecx, [rax + 0x65]
call fcn.1400011d0
int3
xorps xmm0, xmm0
lea rcx, [rsp + 0x70]
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x30], rax
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rbp - 0x40]
call fcn.1400012a0
test eax, eax
jne 0x140001450
lea rdx, str.stdin_duplication_failed
lea ecx, [rax + 0x64]
call fcn.1400011d0
int3
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rbp - 0x38]
call fcn.1400012a0
test eax, eax
jne 0x14000147b
lea rdx, str.stdout_duplication_failed
lea ecx, [rax + 0x64]
call fcn.1400011d0
int3
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
lea rdx, [rbp - 0x30]
call fcn.1400012a0
test eax, eax
jne 0x1400014a6
lea rdx, str.stderr_duplication_failed
lea ecx, [rax + 0x64]
call fcn.1400011d0
int3
mov edx, 1
lea rcx, [0x140001330]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
test eax, eax
jne 0x1400014cc
lea rdx, str.control_handler_setting_failed
lea ecx, [rax + 0x65]
call fcn.1400011d0
int3
lea rax, [rsp + 0x58]
mov dword [rbp - 0x54], 0x100
mov qword [rsp + 0x48], rax
xor r9d, r9d
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x40], rax
mov rdx, rdi
xor eax, eax
xor ecx, ecx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140001527
mov r8, rdi
lea rdx, str.Unable_to_create_process_using__ls
lea ecx, [rax + 0x65]
call fcn.1400011d0
int3
mov rdx, qword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
xor r8d, r8d
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov rcx, qword [rsp + 0x58]
lea rdx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
jne 0x140001577
lea rdx, str.Failed_to_get_exit_code_of_process
lea ecx, [rax + 0x65]
call fcn.1400011d0
int3
mov edx, dword [rsp + 0x50]
lea rcx, str.child_process_exit_code:__d_n
call fcn.140001130
mov ecx, dword [rsp + 0x50]
call fcn.1400061b4
int3
lea rdx, str.Job_information_querying_failed
mov ecx, 0x65
call fcn.1400011d0
int3