Function at 0x14001b520
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 - 0xe8]
sub rsp, 0x1e8
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov rax, qword [0x1400d3008]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov rdi, r9
mov qword [rsp + 0x58], r9
mov rbx, r8
mov r15, rdx
mov r13, rcx
mov rsi, qword [rbp + 0x150]
mov rax, qword [rbp + 0x160]
mov qword [rsp + 0x60], rax
xor r14d, r14d
mov dword [rax], r14d
xor edx, edx
lea r8d, [r14 + 0x68]
lea rcx, [rbp + 0x60]
call fcn.140051840
mov dword [rbp + 0x60], 0x68
xor eax, eax
mov qword [rbp + 0x28], rax
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], rax
mov dword [rsp + 0x50], r14d
cmp qword [r15 + 0x18], 8
jb 0x14001b5b4
mov rcx, qword [r15]
jmp 0x14001b5b7
mov rcx, r15
lea rdx, [rsp + 0x50]
call fcn.1400035e0
test eax, eax
je 0x14001b8d8
cmp dword [rsp + 0x50], r14d
je 0x14001b8d8
mov r8, r15
lea rcx, [rbp - 0x78]
call fcn.140023eb0
nop
lea r8, [0x1400b632c]
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140018d90
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x40]
call fcn.140024020
nop
mov r8, qword [rbp - 0x80]
cmp r8, 8
jb 0x14001b622
inc r8
mov rdx, qword [rsp + 0x68]
lea rcx, [rsp + 0x68]
call fcn.1400062d0
mov qword [rbp - 0x80], 7
mov qword [rsp + 0x78], r14
mov word [rsp + 0x68], r14w
mov r8, qword [rbp - 0x60]
cmp r8, 8
jb 0x14001b64f
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x78]
call fcn.1400062d0
mov qword [rbp - 0x60], 7
mov qword [rbp - 0x68], r14
mov word [rbp - 0x78], r14w
mov r12d, dword [rbp + 0x158]
test r12d, r12d
jne 0x14001b6b7
mov dword [rbp + 0x9c], 1
mov word [rbp + 0xa0], r14w
mov ebx, dword [r13 + 0x5c]
call fcn.14001adf0
lea r9, [rbp + 0x60]
mov r8, rsi
lea rdx, [rbp + 0x40]
test al, al
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
je 0x14001b6ac
mov ecx, ebx
call fcn.14001b3d0
movzx r14d, al
jmp 0x14001b711
call fcn.14001b240
movzx r14d, al
jmp 0x14001b711
cmp qword [rsi + 0x18], 8
jb 0x14001b6c3
mov rax, qword [rsi]
jmp 0x14001b6c6
mov rax, rsi
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 8
cmovae rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x60]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
setne r14b
test r14b, r14b
je 0x14001b8aa
mov rax, qword [r13 + 0x40]
lea rcx, [rbp + 0x28]
cmp rcx, rax
jae 0x14001b769
mov rcx, qword [r13 + 0x38]
lea rdx, [rbp + 0x28]
cmp rcx, rdx
ja 0x14001b769
lea rdi, [rbp + 0x28]
sub rdi, rcx
sar rdi, 3
cmp rax, qword [r13 + 0x48]
jne 0x14001b74e
lea rcx, [r13 + 0x38]
call fcn.14001f550
mov rcx, qword [r13 + 0x40]
mov rax, qword [r13 + 0x38]
test rcx, rcx
je 0x14001b762
mov rax, qword [rax + rdi*8]
mov qword [rcx], rax
mov rdi, qword [rsp + 0x58]
jmp 0x14001b788
cmp rax, qword [r13 + 0x48]
jne 0x14001b778
lea rcx, [r13 + 0x38]
call fcn.14001f550
mov rcx, qword [r13 + 0x40]
test rcx, rcx
je 0x14001b788
mov rax, qword [rbp + 0x28]
mov qword [rcx], rax
add qword [r13 + 0x40], 8
mov eax, dword [rbp + 0x38]
mov rcx, qword [rsp + 0x60]
mov dword [rcx], eax
cmp qword [rdi + 0x10], 0
je 0x14001b8aa
mov qword [rbp - 0x38], 7
xor ebx, ebx
mov qword [rbp - 0x40], rbx
mov word [rbp - 0x50], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x50]
call fcn.140010a00
nop
mov qword [rbp - 0x18], 7
mov qword [rbp - 0x20], rbx
mov word [rbp - 0x30], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x30]
call fcn.140010a00
nop
mov qword [rbp + 8], 7
mov qword [rbp], rbx
mov word [rbp - 0x10], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x10]
call fcn.140010a00
mov eax, dword [r13 + 0x5c]
mov dword [rbp + 0x10], eax
mov dword [rbp + 0x14], r12d
mov r8, qword [r13 + 0x28]
lea rax, [rbp - 0x50]
cmp rax, r8
jae 0x14001b87b
mov rax, qword [r13 + 0x20]
lea rcx, [rbp - 0x50]
cmp rax, rcx
ja 0x14001b87b
lea rcx, [rbp - 0x50]
sub rcx, rax
movabs rax, 0x4ec4ec4ec4ec4ec5
imul rcx
mov rdi, rdx
sar rdi, 5
mov rax, rdi
shr rax, 0x3f
add rdi, rax
cmp r8, qword [r13 + 0x30]
jne 0x14001b868
lea rcx, [r13 + 0x20]
call fcn.14001f650
imul rdx, rdi, 0x68
add rdx, qword [r13 + 0x20]
mov rcx, qword [r13 + 0x28]
test rcx, rcx
je 0x14001b89c
jmp 0x14001b897
cmp r8, qword [r13 + 0x30]
jne 0x14001b88a
lea rcx, [r13 + 0x20]
call fcn.14001f650
mov rcx, qword [r13 + 0x28]
test rcx, rcx
je 0x14001b89c
lea rdx, [rbp - 0x50]
call fcn.14002ab00
add qword [r13 + 0x28], 0x68
lea rcx, [rbp - 0x50]
call fcn.14001b900
mov ebx, 0x80004005
test r14b, r14b
mov eax, 0
cmovne ebx, eax
mov r8, qword [rbp + 0x58]
cmp r8, 8
jb 0x14001b8d4
inc r8
mov rdx, qword [rbp + 0x40]
lea rcx, [rbp + 0x40]
call fcn.1400062d0
mov eax, ebx
jmp 0x14001b8dd
mov eax, 0x80004005
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14002d9f0
add rsp, 0x1e8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret