Function at 0x180006b70
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x190], rbx
mov rax, qword [0x180082098]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r13d, r9d
mov byte [rsp + 0x50], r8b
mov rsi, rdx
mov rdi, rcx
mov r12, qword [rbp + 0xa0]
xor r15d, r15d
mov dword [rsp + 0x54], r15d
xor edx, edx
lea r8d, [r15 + 0x64]
lea rcx, [rbp - 0x7c]
call fcn.180039590
mov dword [rbp - 0x80], 0x68
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
movdqa xmm0, xmmword [0x18005caf0]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], r15w
mov qword [rbp + 0x20], r15
mov r14d, 7
mov qword [rbp + 0x28], r14
mov word [rbp + 0x10], r15w
lea rbx, [rax - 1]
test rsi, rsi
je 0x180006cb0
mov r8, rbx
inc r8
cmp word [rsi + r8*2], 0
jne 0x180006c20
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.1800046a0
mov rsi, qword [rbp + 0x20]
test rsi, rsi
je 0x180006ca5
mov r8d, 1
lea rdx, [0x18005f058]
lea rcx, [rbp - 0x10]
call fcn.1800046a0
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x180006c56
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.180004520
mov r8d, 2
lea rdx, [0x18005f05c]
lea rcx, [rbp - 0x10]
call fcn.180004520
lea rdx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rdx, qword [rbp + 0x10]
mov r8, rsi
lea rcx, [rbp - 0x10]
call fcn.180004520
mov r14, qword [rbp + 0x28]
jmp 0x180006cc9
mov r14, qword [rbp + 0x28]
nop dword [rax]
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x180006cb0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.1800046a0
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
mov ecx, 0x67
call fcn.18000c9c0
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x180006d86
cmp byte [rsp + 0x50], 0
je 0x180006d49
mov edx, 0xffffffff
test r13d, r13d
cmovg edx, r13d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test r12, r12
je 0x180006d6a
lea rdx, [rsp + 0x54]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x180006d6a
mov eax, dword [rsp + 0x54]
mov dword [r12], eax
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r15d, 1
cmp r14, 8
jb 0x180006dbf
lea rdx, [r14*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006db9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006e2b
call fcn.18001b158
nop
mov rdx, qword [rbp + 8]
cmp rdx, 8
jb 0x180006dfb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x180006df6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x180006e25
call fcn.18001b158
mov eax, r15d
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.18001b2e0
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.18003cd34
nop
call fcn.18003cd34
nop
int3