Function at 0x1800b8ed0
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 [0x180122010]
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 + 0xd8]
mov r15, qword [rbp + 0xe0]
xor r13d, r13d
mov dword [rsp + 0x50], r13d
test r9b, r9b
je 0x1800b8f59
mov rsi, rcx
cmp qword [rcx + 0x18], 8
jb 0x1800b8f41
mov rsi, qword [rcx]
call fcn.18008e190
mov rcx, rax
mov rdx, rsi
call fcn.18008e230
test al, al
je 0x1800b91f5
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 0x1800b9019
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x1800b8f9e
mov rax, qword [rdi]
cmp word [rax], 0x20
je 0x1800b9019
mov r8, rdi
lea rdx, [0x1800df664]
lea rcx, [rbp]
call fcn.18001df90
nop
mov rdx, rax
mov rcx, rdi
call fcn.1800052a0
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1800b9007
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b9002
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b9002
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800baa40
movdqa xmm0, xmmword [0x1800e3630]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r13w
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x1800e3630]
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.180003d80
mov r8d, esi
lea rdx, [0x1800d9654]
lea rcx, [rbp]
call fcn.1800036c0
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x1800b906c
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp]
call fcn.1800036c0
lea r8, [0x1800d9654]
lea rdx, [rbp]
lea rcx, [rbp + 0x40]
call fcn.180005560
nop
and esi, 0xfffffffe
mov dword [rsp + 0x50], esi
mov rdx, qword [rbp + 0x18]
cmp rdx, 8
jb 0x1800b90d8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b90d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b90d3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800baa40
movdqa xmm0, xmmword [0x1800e3630]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r13w
mov r8, rdi
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x20]
call fcn.18001caf0
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 eax, dword [rbp + 0xd0]
mov dword [rsp + 0x28], eax
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 0x1800b920d
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1800b918e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b9189
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b9189
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800baa40
movdqa xmm0, xmmword [0x1800e3630]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], r13w
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x1800b91e3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b91de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b91de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800baa40
movdqa xmm0, xmmword [0x1800e3630]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r13w
mov rcx, rbx
call fcn.180003470
nop
mov rcx, rdi
call fcn.180003470
xor al, al
jmp 0x1800b9343
test r14, r14
je 0x1800b9219
mov eax, dword [rsp + 0x68]
mov dword [r14], eax
mov rcx, qword [rsp + 0x58]
test r12b, r12b
je 0x1800b9259
test rcx, rcx
je 0x1800b9259
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test r15, r15
je 0x1800b9246
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 0x1800b9276
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], r13
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1800b9286
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], r13
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1800b92c9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b92c4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b92c4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800baa40
movdqa xmm0, xmmword [0x1800e3630]
movdqu xmmword [rbp + 0x30], xmm0
mov word [rbp + 0x20], r13w
mov rdx, qword [rbp + 0x58]
cmp rdx, 8
jb 0x1800b931e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b9319
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b9319
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800baa40
movdqa xmm0, xmmword [0x1800e3630]
movdqu xmmword [rbp + 0x50], xmm0
mov word [rbp + 0x40], r13w
mov rcx, rbx
call fcn.180003470
nop
mov rcx, rdi
call fcn.180003470
mov al, 1
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1800ba9e0
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret