Function at 0x1400127a0
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 0x140012820
mov rcx, qword [r15]
jmp 0x140012823
mov rcx, r15
lea rdx, [rsp + 0x50]
call fcn.140003500
test eax, eax
je 0x140012aee
cmp dword [rsp + 0x50], r14d
je 0x140012aee
mov r8, r15
lea rcx, [rbp - 8]
call fcn.14001af40
nop
lea r8, [0x14002ba2c]
mov rdx, rax
lea rcx, [rbp - 0x28]
call fcn.140010380
nop
mov r8, rbx
mov rdx, rax
lea rcx, [rbp + 0x30]
call fcn.14001b0b0
nop
lea rcx, [rbp - 0x28]
call fcn.140005870
nop
lea rcx, [rbp - 8]
call fcn.140005870
mov esi, dword [rbp + 0x148]
test esi, esi
jne 0x1400128d9
mov dword [rbp + 0x8c], 1
mov word [rbp + 0x90], r14w
mov ebx, dword [r13 + 0x5c]
call fcn.140012040
lea r9, [rbp + 0x50]
mov r8, rdi
lea rdx, [rbp + 0x30]
test al, al
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
je 0x1400128ce
mov ecx, ebx
call fcn.140012650
movzx r14d, al
jmp 0x140012933
call fcn.1400124c0
movzx r14d, al
jmp 0x140012933
cmp qword [rdi + 0x18], 8
jb 0x1400128e5
mov rax, qword [rdi]
jmp 0x1400128e8
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 0x140012adf
mov rax, qword [r13 + 0x40]
lea rcx, [rbp + 0x18]
cmp rcx, rax
jae 0x14001298c
mov rcx, qword [r13 + 0x38]
lea rdx, [rbp + 0x18]
cmp rcx, rdx
ja 0x14001298c
lea rsi, [rbp + 0x18]
sub rsi, rcx
sar rsi, 3
cmp rax, qword [r13 + 0x48]
jne 0x140012970
lea rcx, [r13 + 0x38]
call fcn.1400168b0
mov rcx, qword [r13 + 0x40]
mov rax, qword [r13 + 0x38]
test rcx, rcx
je 0x140012984
mov rax, qword [rax + rsi*8]
mov qword [rcx], rax
mov esi, dword [rbp + 0x148]
jmp 0x1400129ab
cmp rax, qword [r13 + 0x48]
jne 0x14001299b
lea rcx, [r13 + 0x38]
call fcn.1400168b0
mov rcx, qword [r13 + 0x40]
test rcx, rcx
je 0x1400129ab
mov rax, qword [rbp + 0x18]
mov qword [rcx], rax
add qword [r13 + 0x40], 8
cmp qword [r12 + 0x10], 0
je 0x140012adf
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.14000c850
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.14000c850
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.14000c850
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 0x140012a9b
mov rax, qword [r13 + 0x20]
lea rcx, [rsp + 0x60]
cmp rax, rcx
ja 0x140012a9b
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 0x140012a88
lea rcx, [r13 + 0x20]
call fcn.1400169c0
imul rdx, rdi, 0x68
add rdx, qword [r13 + 0x20]
mov rcx, qword [r13 + 0x28]
test rcx, rcx
je 0x140012abd
jmp 0x140012ab8
cmp r8, qword [r13 + 0x30]
jne 0x140012aaa
lea rcx, [r13 + 0x20]
call fcn.1400169c0
mov rcx, qword [r13 + 0x28]
test rcx, rcx
je 0x140012abd
lea rdx, [rsp + 0x60]
call fcn.140021ab0
add qword [r13 + 0x28], 0x68
lea rcx, [rbp - 0x60]
call fcn.140005870
lea rcx, [rbp - 0x80]
call fcn.140005870
lea rcx, [rsp + 0x60]
call fcn.140005870
nop
lea rcx, [rbp + 0x30]
call fcn.140005870
movzx eax, r14b
jmp 0x140012af0
xor al, al
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.140024970
add rsp, 0x1d8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret