Function at 0x140023170
Capabilities:
Create process on windows
Resume thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov rax, qword [0x1401c76e0]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r12, rcx
lea rcx, [rbp - 0x60]
xor r13d, r13d
mov r15, r8
mov rdi, rdx
mov dword [rsp + 0x60], r13d
call fcn.14002f448
mov rcx, qword [rdi + 8]
mov r14b, byte [rdi + 0x10]
mov ebx, r13d
lea esi, [r13 + 1]
test rcx, rcx
je 0x1400231d8
mov rax, qword [rcx + 8]
cmp qword [rcx], rax
jne 0x140023307
mov r14b, r13b
cmp byte [rdi + 0x20], r13b
lea rax, [0x1400c93a0]
mov dword [rbp - 0x24], esi
cmove rax, qword [rbp - 0x50]
mov qword [rbp - 0x50], rax
mov al, byte [rdi + 1]
neg al
mov rax, qword [rdi + 0x30]
sbb cx, cx
not cx
and cx, 5
mov word [rbp - 0x20], cx
test rax, rax
jne 0x140023217
cmp qword [rdi + 0x38], r13
jne 0x140023217
cmp qword [rdi + 0x40], r13
je 0x140023232
mov qword [rbp - 0x10], rax
mov rax, qword [rdi + 0x38]
mov dword [rbp - 0x24], 0x101
mov qword [rbp - 8], rax
mov rax, qword [rdi + 0x40]
mov qword [rbp], rax
cmp qword [rdi + 0x28], r13
je 0x14002323e
or ebx, 0x1000004
cmp byte [rdi + 0x48], r13b
je 0x140023248
bts ebx, 0x18
xor eax, eax
lea rcx, [rbp + 0x10]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r12
mov qword [rbp + 0x28], 7
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rbp + 0x20], r13
mov word [rbp + 0x10], r13w
call fcn.1400093e4
mov rdx, qword [rdi + 0x18]
test rdx, rdx
je 0x14002338c
lea rcx, [rsp + 0x60]
xor r8d, r8d
bts ebx, 0xa
mov qword [rsp + 0x60], r13
call sub.USERENV.dll_CreateEnvironmentBlock
test eax, eax
je 0x1400233d4
cmp qword [rbp + 0x28], 8
lea rax, [rbp - 0x80]
movzx ecx, r14b
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x60]
lea r8, [rbp + 0x10]
cmovae r8, qword [rbp + 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ecx
mov rcx, qword [rdi + 0x18]
xor r9d, r9d
xor edx, edx
mov qword [rsp + 0x20], r13
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov rcx, qword [rsp + 0x60]
mov ebx, eax
call sub.USERENV.dll_DestroyEnvironmentBlock
test ebx, ebx
jmp 0x1400233d2
call fcn.140023dd8
cmp eax, 3
jl 0x140023384
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 8]
sub rcx, qword [rax]
sar rcx, 3
cmp rcx, 0x1fffffff
ja 0x140023384
lea rcx, [rbp - 0x60]
mov edx, esi
call fcn.14002f520
test al, al
je 0x140023384
mov rax, qword [rdi + 8]
mov rcx, qword [rax + 8]
mov r8, qword [rax]
sub rcx, qword [rax]
mov rax, qword [rax + 8]
sub rax, r8
sar rcx, 3
sar rax, 3
test rax, rax
je 0x1400234a9
mov r9d, ecx
lea rcx, [rbp - 0x60]
mov edx, 0x20002
shl r9d, 3
call fcn.14002f59c
test al, al
je 0x140023384
mov r14b, sil
mov ebx, 0x80000
jmp 0x1400231d8
mov sil, r13b
jmp 0x140023476
cmp qword [rbp + 0x28], 8
lea rcx, [rbp - 0x80]
movzx eax, r14b
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x60]
lea rdx, [rbp + 0x10]
cmovae rdx, qword [rbp + 0x10]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1400233d9
mov sil, r13b
jmp 0x140023455
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x68]
call fcn.1400236f4
mov rcx, qword [rdi + 0x28]
test rcx, rcx
je 0x14002341e
mov rdx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x140023413
mov rcx, qword [rsp + 0x68]
mov r8b, sil
mov edx, esi
call fcn.14002f3f8
mov sil, r13b
jmp 0x14002344b
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_ResumeThread]
cmp byte [rdi], r13b
je 0x140023431
mov rcx, qword [rsp + 0x68]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test r15, r15
je 0x14002344b
lea rcx, [rsp + 0x68]
call fcn.140023a54
mov rcx, r15
mov rdx, rax
call fcn.1400084d0
lea rcx, [rsp + 0x68]
call fcn.140023718
cmp qword [rbp + 0x28], 8
jb 0x140023465
mov rcx, qword [rbp + 0x10]
call fcn.14009bc2c
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], r13
mov word [rbp + 0x10], r13w
lea rcx, [rbp - 0x60]
call fcn.14002f4f8
mov al, sil
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.14009c5b0
mov rbx, qword [rsp + 0x198]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.invalid_vector_T__subscript
call fcn.14009b074
int3