Function at 0x1800b8ec0
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 + 0xd8]
mov r15, qword [rbp + 0xe0]
xor r13d, r13d
mov dword [rsp + 0x50], r13d
test r9b, r9b
je 0x1800b8f49
mov rsi, rcx
cmp qword [rcx + 0x18], 8
jb 0x1800b8f31
mov rsi, qword [rcx]
call fcn.1800bcd60
mov rcx, rax
mov rdx, rsi
call fcn.1800bcd30
test al, al
je 0x1800b91e5
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 0x1800b9009
mov rax, rdi
cmp qword [rdi + 0x18], 8
jb 0x1800b8f8e
mov rax, qword [rdi]
cmp word [rax], 0x20
je 0x1800b9009
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 0x1800b8ff7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b8ff2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b8ff2
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 0x1800b905c
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 0x1800b90c8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b90c3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b90c3
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 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 0x1800b91fd
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1800b917e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b9179
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b9179
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 0x1800b91d3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b91ce
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b91ce
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 0x1800b9333
test r14, r14
je 0x1800b9209
mov eax, dword [rsp + 0x68]
mov dword [r14], eax
mov rcx, qword [rsp + 0x58]
test r12b, r12b
je 0x1800b9249
test rcx, rcx
je 0x1800b9249
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test r15, r15
je 0x1800b9236
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 0x1800b9266
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x60], r13
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1800b9276
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x58], r13
mov rdx, qword [rbp + 0x38]
cmp rdx, 8
jb 0x1800b92b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b92b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b92b4
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 0x1800b930e
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800b9309
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1800b9309
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