Function at 0x14000fb30
Capabilities:
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x128]
sub rsp, 0x228
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov rax, qword [0x14001e008]
xor rax, rsp
mov qword [rbp + 0x110], rax
mov r15, r9
mov r12, r8
mov rdi, rdx
mov r14, rcx
mov qword [rsp + 0x50], rcx
mov qword [rbp - 0x30], rdx
mov qword [rbp - 0x28], r8
mov qword [rbp - 0x20], r9
mov rsi, qword [rbp + 0x190]
mov qword [rbp - 0x18], rsi
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp + 0xa0]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0xa0], 0x68
xor eax, eax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
xor ebx, ebx
mov dword [rbp - 0x38], ebx
cmp qword [rdi + 0x18], 8
jb 0x14000fbc8
mov rcx, qword [rdi]
jmp 0x14000fbcb
mov rcx, rdi
lea rdx, [rbp - 0x38]
call fcn.140003290
test eax, eax
je 0x14000ff11
cmp dword [rbp - 0x38], ebx
je 0x14000ff11
mov r8, rdi
lea rcx, [rbp - 0x58]
call fcn.140011310
nop
lea r8, [0x140016f7c]
mov rdx, rax
lea rcx, [rbp - 0x78]
call fcn.14000f6f0
nop
mov r8, r12
mov rdx, rax
lea rcx, [rbp + 0x80]
call fcn.1400113a0
nop
lea rcx, [rbp - 0x78]
call fcn.140005800
nop
lea rcx, [rbp - 0x58]
call fcn.140005800
xor r13b, r13b
cmp dword [rbp + 0x198], 0
jne 0x14000fccf
mov qword [rbp - 0x38], rbx
lea rdx, [rbp - 0x38]
mov ecx, dword [r14 + 0x5c]
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x14000fedb
mov rbx, qword [rbp - 0x38]
test rbx, rbx
je 0x14000fedb
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp + 0x18]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x10], 0x68
mov dword [rbp + 0x4c], 1
xor eax, eax
mov word [rbp + 0x50], ax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x58], rax
lea rax, [rbp + 0x80]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rsi
lea rax, [rbp + 0x10]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x78], rax
mov rdx, rbx
lea rcx, [rsp + 0x58]
call fcn.14000ff60
movzx r13d, al
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000fd34
cmp qword [rsi + 0x18], 8
jb 0x14000fcdb
mov rax, qword [rsi]
jmp 0x14000fcde
mov rax, rsi
lea rdx, [rbp + 0x80]
cmp qword [rbp + 0x98], 8
cmovae rdx, qword [rbp + 0x80]
lea rcx, [rbp - 0x10]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0xa0]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne r13b
test r13b, r13b
je 0x14000fedb
lea rbx, [r14 + 0x38]
mov rax, qword [rbx + 8]
lea rcx, [rbp - 0x10]
cmp rcx, rax
jae 0x14000fd8d
mov rcx, qword [rbx]
lea rdx, [rbp - 0x10]
cmp rcx, rdx
ja 0x14000fd8d
lea r14, [rbp - 0x10]
sub r14, rcx
sar r14, 3
cmp rax, qword [rbx + 0x10]
jne 0x14000fd73
mov rcx, rbx
call fcn.140010f70
mov rcx, qword [rbx + 8]
mov rax, qword [rbx]
test rcx, rcx
je 0x14000fd86
mov rax, qword [rax + r14*8]
mov qword [rcx], rax
mov r14, qword [rsp + 0x50]
jmp 0x14000fdab
cmp rax, qword [rbx + 0x10]
jne 0x14000fd9b
mov rcx, rbx
call fcn.140010f70
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000fdab
mov rax, qword [rbp - 0x10]
mov qword [rcx], rax
add qword [rbx + 8], 8
cmp qword [r15 + 0x10], 0
je 0x14000fedb
mov qword [rbp + 0x28], 7
xor ebx, ebx
mov qword [rbp + 0x20], rbx
mov word [rbp + 0x10], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x10]
call fcn.14000cc30
nop
mov qword [rbp + 0x48], 7
mov qword [rbp + 0x40], rbx
mov word [rbp + 0x30], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp + 0x30]
call fcn.14000cc30
nop
mov qword [rbp + 0x68], 7
mov qword [rbp + 0x60], rbx
mov word [rbp + 0x50], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp + 0x50]
call fcn.14000cc30
mov eax, dword [r14 + 0x5c]
mov dword [rbp + 0x70], eax
mov eax, dword [rbp + 0x198]
mov dword [rbp + 0x74], eax
lea rbx, [r14 + 0x20]
mov r8, qword [rbx + 8]
lea rax, [rbp + 0x10]
cmp rax, r8
jae 0x14000fe9a
mov rax, qword [rbx]
lea rcx, [rbp + 0x10]
cmp rax, rcx
ja 0x14000fe9a
lea rcx, [rbp + 0x10]
sub rcx, rax
movabs rax, 0x4ec4ec4ec4ec4ec5
imul rcx
mov r14, rdx
sar r14, 5
mov rax, r14
shr rax, 0x3f
add r14, rax
cmp r8, qword [rbx + 0x10]
jne 0x14000fe88
mov rcx, rbx
call fcn.140011090
imul rdx, r14, 0x68
add rdx, qword [rbx]
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000feba
jmp 0x14000feb5
cmp r8, qword [rbx + 0x10]
jne 0x14000fea8
mov rcx, rbx
call fcn.140011090
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14000feba
lea rdx, [rbp + 0x10]
call fcn.1400114d0
add qword [rbx + 8], 0x68
lea rcx, [rbp + 0x50]
call fcn.140005800
lea rcx, [rbp + 0x30]
call fcn.140005800
lea rcx, [rbp + 0x10]
call fcn.140005800
nop
lea rcx, [rbp + 0x80]
call fcn.140005800
nop
mov rcx, rdi
call fcn.140005800
nop
mov rcx, r12
call fcn.140005800
nop
mov rcx, r15
call fcn.140005800
nop
mov rcx, rsi
call fcn.140005800
movzx eax, r13b
jmp 0x14000ff36
mov rcx, rdi
call fcn.140005800
nop
mov rcx, r12
call fcn.140005800
nop
mov rcx, r15
call fcn.140005800
nop
mov rcx, rsi
call fcn.140005800
xor al, al
mov rcx, qword [rbp + 0x110]
xor rcx, rsp
call fcn.1400115c0
add rsp, 0x228
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret