Function at 0x1400129c0
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 - 0xd8]
sub rsp, 0x1d8
mov qword [rbp - 0x30], 0xfffffffffffffffe
mov rax, qword [0x14003a008]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r12, r9
mov rbx, r8
mov r15, rdx
mov r13, rcx
mov rdi, qword [rbp + 0x140]
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp + 0x50]
call sub.VCRUNTIME140.dll_memset
mov dword [rbp + 0x50], 0x68
xor eax, eax
mov qword [rbp + 0x18], rax
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], rax
xor r14d, r14d
mov dword [rsp + 0x50], r14d
cmp qword [r15 + 0x18], 8
jb 0x140012a40
mov rcx, qword [r15]
jmp 0x140012a43
mov rcx, r15
lea rdx, [rsp + 0x50]
call fcn.140003370
test eax, eax
je 0x140012d0e
cmp dword [rsp + 0x50], r14d
je 0x140012d0e
mov r8, r15
lea rcx, [rbp - 8]
call fcn.14001b160
nop
lea r8, [0x14002bccc]
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.1400105a0
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14001b2d0
nop
lea rcx, [rbp - 0x28]
call fcn.140005a90
nop
lea rcx, [rbp - 8]
call fcn.140005a90
mov esi, dword [rbp + 0x148]
test esi, esi
jne 0x140012af9
mov dword [rbp + 0x8c], 1
mov word [rbp + 0x90], r14w
mov ebx, dword [r13 + 0x5c]
call fcn.140012260
lea r9, [rbp + 0x50]
mov r8, rdi
lea rdx, [rbp + 0x30]
test al, al
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
je 0x140012aee
mov ecx, ebx
call fcn.140012870
movzx r14d, al
jmp 0x140012b53
call fcn.1400126e0
movzx r14d, al
jmp 0x140012b53
cmp qword [rdi + 0x18], 8
jb 0x140012b05
mov rax, qword [rdi]
jmp 0x140012b08
mov rax, rdi
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp + 0x50]
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 0x140012cff
mov rax, qword [r13 + 0x40]
lea rcx, [rbp + 0x18]
cmp rcx, rax
jae 0x140012bac
mov rcx, qword [r13 + 0x38]
lea rdx, [rbp + 0x18]
cmp rcx, rdx
ja 0x140012bac
lea rsi, [rbp + 0x18]
sub rsi, rcx
sar rsi, 3
cmp rax, qword [r13 + 0x48]
jne 0x140012b90
lea rcx, [r13 + 0x38]
call fcn.140016ad0
mov rcx, qword [r13 + 0x40]
mov rax, qword [r13 + 0x38]
test rcx, rcx
je 0x140012ba4
mov rax, qword [rax + rsi*8]
mov qword [rcx], rax
mov esi, dword [rbp + 0x148]
jmp 0x140012bcb
cmp rax, qword [r13 + 0x48]
jne 0x140012bbb
lea rcx, [r13 + 0x38]
call fcn.140016ad0
mov rcx, qword [r13 + 0x40]
test rcx, rcx
je 0x140012bcb
mov rax, qword [rbp + 0x18]
mov qword [rcx], rax
add qword [r13 + 0x40], 8
cmp qword [r12 + 0x10], 0
je 0x140012cff
mov qword [rsp + 0x78], 7
xor ebx, ebx
mov qword [rsp + 0x70], rbx
mov word [rsp + 0x60], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r15
lea rcx, [rsp + 0x60]
call fcn.14000ca70
nop
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rbx
mov word [rbp - 0x80], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, r12
lea rcx, [rbp - 0x80]
call fcn.14000ca70
nop
mov qword [rbp - 0x48], 7
mov qword [rbp - 0x50], rbx
mov word [rbp - 0x60], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp - 0x60]
call fcn.14000ca70
mov eax, dword [r13 + 0x5c]
mov dword [rbp - 0x40], eax
mov dword [rbp - 0x3c], esi
mov r8, qword [r13 + 0x28]
lea rax, [rsp + 0x60]
cmp rax, r8
jae 0x140012cbb
mov rax, qword [r13 + 0x20]
lea rcx, [rsp + 0x60]
cmp rax, rcx
ja 0x140012cbb
lea rcx, [rsp + 0x60]
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 0x140012ca8
lea rcx, [r13 + 0x20]
call fcn.140016be0
imul rdx, rdi, 0x68
add rdx, qword [r13 + 0x20]
mov rcx, qword [r13 + 0x28]
test rcx, rcx
je 0x140012cdd
jmp 0x140012cd8
cmp r8, qword [r13 + 0x30]
jne 0x140012cca
lea rcx, [r13 + 0x20]
call fcn.140016be0
mov rcx, qword [r13 + 0x28]
test rcx, rcx
je 0x140012cdd
lea rdx, [rsp + 0x60]
call fcn.140021cd0
add qword [r13 + 0x28], 0x68
lea rcx, [rbp - 0x60]
call fcn.140005a90
lea rcx, [rbp - 0x80]
call fcn.140005a90
lea rcx, [rsp + 0x60]
call fcn.140005a90
nop
lea rcx, [rbp + 0x30]
call fcn.140005a90
movzx eax, r14b
jmp 0x140012d10
xor al, al
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140024b90
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret