Function at 0x140002f00
Capabilities:
Create process on windows
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov rax, qword [0x14000c040]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rsi, rcx
mov qword [rbp - 0x68], rcx
xor r15d, r15d
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov r8d, eax
lea edx, [r15 + 1]
mov ecx, 0x1fffff
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov r14, rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov rdi, rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateJobObjectW]
mov rbx, rax
mov qword [rbp - 0x78], r15
mov qword [rbp - 0x70], rdi
lea r9d, [r15 + 0x10]
lea r8, [rbp - 0x78]
lea edx, [r15 + 7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetInformationJobObject]
mov rdx, r14
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
movdqa xmm1, xmmword [0x140008a60]
movdqu xmmword [rsp + 0x78], xmm1
mov byte [rsp + 0x68], r15b
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x68]
cmp rax, rsi
je 0x140003008
mov rbx, qword [rsi + 0x10]
mov r9, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140002fde
mov r9, qword [rsi]
lea rcx, [rsp + 0x68]
cmp rbx, 0xf
ja 0x140003000
mov qword [rsp + 0x78], rbx
mov r8, rbx
mov rdx, r9
call sub.VCRUNTIME140.dll_memmove
mov byte [rsp + rbx + 0x68], 0
jmp 0x140003008
mov rdx, rbx
call fcn.140005860
mov qword [rsp + 0x28], r15
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x58]
lea r8, [0x140002db0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rbx, rax
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], rax
mov rcx, rsi
call fcn.1400045b0
mov r8, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
cmp qword [rsi + 0x10], rax
cmovb r8, qword [rsi + 0x10]
mov rdx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x140003084
mov rdx, qword [rsi]
lea rcx, [rbp - 0x60]
call fcn.140005420
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 0xf
cmova rax, qword [rbp - 0x60]
mov rcx, rsi
cmp qword [rsi + 0x18], 0xf
jbe 0x1400030a8
mov rcx, qword [rsi]
lea rdx, [rbp - 0x40]
mov qword [rsp + 0x48], rdx
lea rdx, [rbp - 0x20]
mov qword [rsp + 0x40], rdx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400031fc
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140003128
inc rdx
mov rcx, qword [rbp - 0x60]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003123
mov rcx, qword [rcx - 8]
sub rax, rcx
add rdx, 0x27
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003355
call fcn.140006c40
movdqa xmm0, xmmword [0x140008a60]
mov byte [rbp - 0x60], 0
movdqu xmmword [rbp - 0x50], xmm0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140003175
inc rdx
mov rcx, qword [rsp + 0x68]
cmp rdx, 0x1000
mov rax, rcx
jb 0x140003170
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400033b1
call fcn.140006c40
movdqa xmm0, xmmword [0x140008a60]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x1400031c2
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x1400031bd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400033b8
mov rcx, r8
call fcn.140006c40
xor eax, eax
mov byte [rsi], 0
mov qword [rsi + 0x18], 0xf
mov qword [rsi + 0x10], r15
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.140006700
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
test rbx, rbx
je 0x14000331a
mov edx, 0x2710
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
test eax, eax
jne 0x14000330f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0x60]
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x14000326d
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003268
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140003355
call fcn.140006c40
movdqa xmm0, xmmword [0x140008a60]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x1400032ba
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400032b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400033b1
call fcn.140006c40
movdqa xmm0, xmmword [0x140008a60]
movdqu xmmword [rsp + 0x78], xmm0
mov byte [rsp + 0x68], 0
mov rdx, qword [rsi + 0x18]
cmp rdx, 0xf
jbe 0x140003307
inc rdx
mov rcx, qword [rsi]
cmp rdx, 0x1000
jb 0x140003302
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400033b8
mov rcx, r8
call fcn.140006c40
mov rax, rbx
jmp 0x1400031c4
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400030e4
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140003361
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000335c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000335c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006c40
movdqa xmm0, xmmword [0x140008a60]
movdqu xmmword [rbp - 0x50], xmm0
mov byte [rbp - 0x60], 0
mov rdx, qword [rbp - 0x80]
cmp rdx, 0xf
jbe 0x140003175
inc rdx
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140003170
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140003170
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3