Function at 0x18004bd50
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x160
mov rdi, rcx
xor esi, esi
cmp qword [rcx + 0x18], 8
jb 0x18004bd71
mov rdi, qword [rcx]
movabs rax, 0xdb1d0d065781927d
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x70], rax
movabs rax, 0x175c72d27fa936c0
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x78], rax
movabs rax, 0x5eec1d26abc47f27
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x80], rax
movabs rcx, 0xe05239afb49bac36
mov qword [rsp + 0x170], rcx
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0x88], rax
movabs rax, 0xdb790d6857f4920f
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0xd0], rax
movabs rax, 0x176e72e17fc536ac
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0xd8], rax
movabs rax, 0x5e891d5eaba17f09
mov qword [rsp + 0x170], rax
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0xe0], rax
mov qword [rsp + 0x170], rcx
mov rax, qword [rsp + 0x170]
mov qword [rsp + 0xe8], rax
vmovdqu ymm0, ymmword [rsp + 0x70]
vpxor ymm1, ymm0, ymmword [rsp + 0xd0]
vmovdqu ymmword [rsp + 0x70], ymm1
vxorps xmm0, xmm0, xmm0
vmovups xmmword [rsp + 0x90], xmm0
vxorps xmm1, xmm1, xmm1
vmovdqu xmmword [rsp + 0xa0], xmm1
lea rax, [rsp + 0x70]
mov rbx, 0xffffffffffffffff
mov r8, rbx
vzeroupper
inc r8
cmp word [rax + r8*2], si
jne 0x18004beb2
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x90]
call fcn.180068d80
nop
nop
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x18004bed0
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x90]
call fcn.180066f10
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x60], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rsp + 0xa8]
cmp rdx, 8
jb 0x18004bf69
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004bf64
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004bf64
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cfef0
mov dword [rsp + 0xf0], WSAGetLastError
xorps xmm0, xmm0
movups xmmword [rsp + 0xf8], xmm0
movups xmmword [rsp + 0x108], xmm0
movups xmmword [rsp + 0x118], xmm0
movups xmmword [rsp + 0x128], xmm0
movups xmmword [rsp + 0x138], xmm0
movups xmmword [rsp + 0x148], xmm0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x18004c025
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xb8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x18004c06a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18004c065
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18004c065
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800cfef0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret