Function at 0x1800b9360
Capabilities:
Create process on windows

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rsp + 0x1c0], rbx
mov rax, qword [0x180126050]
xor rax, rsp
mov qword [rbp + 0x60], rax
movzx r12d, r8b
mov rdi, rdx
mov rbx, rcx
mov qword [rbp - 0x10], rcx
mov qword [rbp - 8], rdx
mov r14, qword [rbp + 0xd0]
mov r15, qword [rbp + 0xd8]
xor r13d, r13d
mov dword [rsp + 0x50], r13d
test r9b, r9b
je 0x1800b93e9
mov rsi, rcx
cmp qword [rcx + 0x18], 8
jb 0x1800b93d1
mov rsi, qword [rcx]
call fcn.1800bcd60
mov rcx, rax
mov rdx, rsi
call fcn.1800bcd30
test al, al
je 0x1800b9683
xor edx, edx
lea r8d, [rdx + 0x68]
lea rcx, [rbp - 0x80]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov dword [rbp - 0x80], 0x68
mov dword [rbp - 0x44], 0x80
cmp qword [rdi + 0x10], rax
je 0x1800b94a9
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x1800b942e
mov rax, qword [rdi]
cmp word [rax], 0x20
je 0x1800b94a9
mov r8, rdi
lea rdx, [0x1800e2904]
lea rcx, [rbp]
call fcn.18001dfe0
nop
mov rdx, rax
mov rcx, rdi
call fcn.180005250
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1800b9497
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b9492
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b9492
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bd2d0
movdqa xmm0, xmmword [0x1800e68a0]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r13w
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x1800e68a0]
movdqu xmmword [rbp + 0x10], xmm1
mov word [rbp], r13w
mov esi, 1
mov dword [rsp + 0x50], esi
mov rdx, qword [rbx + 0x10]
inc rdx
lea rcx, [rbp]
call fcn.180003d50
mov r8d, esi
lea rdx, [0x1800dc8f4]
lea rcx, [rbp]
call fcn.180003690
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800b94fc
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp]
call fcn.180003690
lea r8, [0x1800dc8f4]
lea rdx, [rbp]
lea rcx, [rbp + 0x40]
call fcn.180005510
nop
and esi, 0xfffffffe
mov dword [rsp + 0x50], esi
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1800b9568
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b9563
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b9563
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bd2d0
movdqa xmm0, xmmword [0x1800e68a0]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r13w
mov r8, rdi
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.18001cb10
nop
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x4000020
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x1800b969b
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1800b961c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b9617
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b9617
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bd2d0
movdqa xmm0, xmmword [0x1800e68a0]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], r13w
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x1800b9671
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b966c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b966c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bd2d0
movdqa xmm0, xmmword [0x1800e68a0]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r13w
mov rcx, rbx
call fcn.180003440
nop
mov rcx, rdi
call fcn.180003440
xor al, al
jmp 0x1800b97d1
test r14, r14
je 0x1800b96a7
mov eax, dword [rsp + 0x68]
mov dword [r14], eax
mov rcx, qword [rsp + 0x58]
test r12b, r12b
je 0x1800b96e7
test rcx, rcx
je 0x1800b96e7
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test r15, r15
je 0x1800b96d4
mov rdx, r15
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, r13
mov qword [rsp + 0x58], rcx
mov rax, qword [rsp + 0x60]
test rax, rax
je 0x1800b9704
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], r13
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1800b9714
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], r13
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1800b9757
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b9752
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b9752
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bd2d0
movdqa xmm0, xmmword [0x1800e68a0]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], r13w
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x1800b97ac
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b97a7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b97a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800bd2d0
movdqa xmm0, xmmword [0x1800e68a0]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r13w
mov rcx, rbx
call fcn.180003440
nop
mov rcx, rdi
call fcn.180003440
mov al, 1
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1800bd270
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret