Function at 0x180009270
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 [0x1800444d0]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov r12d, r9d
movzx r13d, r8b
mov rsi, rdx
mov rdi, rcx
mov r15, qword [rbp + 0xa0]
xor ebx, ebx
mov dword [rsp + 0x50], ebx
xor edx, edx
lea r8d, [rbx + 0x68]
lea rcx, [rbp - 0x80]
call fcn.180013050
mov dword [rbp - 0x80], 0x68
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rbp + 8], 7
mov qword [rbp], rbx
mov word [rbp - 0x10], bx
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], rbx
mov word [rbp + 0x10], bx
lea r14d, [rbx + 1]
or rbx, 0xffffffffffffffff
test rsi, rsi
je 0x1800093b2
cmp word [rsi], ax
jne 0x180009323
xor r8d, r8d
jmp 0x18000933b
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [rsi + r8*2], 0
jne 0x180009330
mov rdx, rsi
lea rcx, [rbp + 0x10]
call fcn.180001bd0
cmp qword [rbp + 0x20], 0
je 0x1800093b2
mov r8, r14
lea rdx, [0x18002e454]
lea rcx, [rbp - 0x10]
call fcn.180001bd0
cmp word [rdi], 0
jne 0x18000936c
xor r8d, r8d
jmp 0x18000937b
mov r8, rbx
nop
inc r8
cmp word [rdi + r8*2], 0
jne 0x180009370
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.1800046c0
mov r8d, 2
lea rdx, [0x18002e458]
lea rcx, [rbp - 0x10]
call fcn.1800046c0
mov r9, rbx
xor r8d, r8d
lea rdx, [rbp + 0x10]
lea rcx, [rbp - 0x10]
call fcn.180001960
jmp 0x1800093d9
cmp word [rdi], 0
jne 0x1800093c0
xor ebx, ebx
jmp 0x1800093ca
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x1800093c0
mov r8, rbx
mov rdx, rdi
lea rcx, [rbp - 0x10]
call fcn.180001bd0
lea rdx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rdx, qword [rbp - 0x10]
lea rcx, str.CreateRunProcess__s_
call fcn.180008480
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
xor edi, edi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x180009465
lea rbx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rbx, qword [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov r8, rbx
lea rcx, str.Error_d_:CreateRunProcess__s_
call fcn.180008480
mov r14d, edi
jmp 0x1800094b6
test r13b, r13b
je 0x18000947f
or edx, 0xffffffff
test r12d, r12d
cmovg edx, r12d
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test r15, r15
je 0x18000949f
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
test eax, eax
je 0x18000949f
mov eax, dword [rsp + 0x50]
mov dword [r15], 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]
nop
mov r8, qword [rbp + 0x28]
cmp r8, 8
jb 0x1800094d0
inc r8
mov rdx, qword [rbp + 0x10]
lea rcx, [rbp + 0x10]
call fcn.180001d20
mov qword [rbp + 0x28], 7
mov qword [rbp + 0x20], rdi
mov word [rbp + 0x10], di
mov r8, qword [rbp + 8]
cmp r8, 8
jb 0x1800094fa
inc r8
mov rdx, qword [rbp - 0x10]
lea rcx, [rbp - 0x10]
call fcn.180001d20
mov eax, r14d
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1800112b0
mov rbx, qword [rsp + 0x190]
add rsp, 0x140
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret