Function at 0x1801d17d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x4f]
sub rsp, 0xf0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x20], rdi
mov r15d, r9d
mov esi, r8d
mov rbx, rdx
mov r13, rcx
mov rcx, qword [rcx]
mov rax, qword [rcx]
call qword [rax + 0x68]
mov rax, qword [rbp + 0x77]
mov eax, dword [rax]
mov rcx, qword [rbp + 0x7f]
cmp eax, dword [rcx]
jne 0x1801d18aa
mov dword [rbp - 0x29], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x21], xmm0
movaps xmm1, xmmword [0x1803939a0]
movups xmmword [rbp - 0x11], xmm1
movss xmm0, dword [0x18039326c]
movss dword [rbp - 1], xmm0
xorps xmm1, xmm1
movss dword [rbp + 3], xmm1
mov rcx, qword [r13]
mov rax, qword [rcx]
lea rdx, [rbp - 0x29]
call qword [rax + 0x88]
nop
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x1801d1878
lock dec dword [rcx + 8]
jne 0x1801d1878
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rdi, qword [rbp - 0x21]
test rdi, rdi
je 0x1801d1892
mov rcx, qword [rdi + 0x18]
call fcn.1800a09c8
mov rcx, rdi
call fcn.1800a0ca0
mov rcx, qword [r13]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, rbx
call qword [rax + 0xa8]
jmp 0x1801d1a69
lea rax, [rbp - 0x79]
mov qword [rsp + 0x48], rax
mov eax, dword [rbx]
mov dword [rbp - 0x79], eax
mov eax, dword [rbx + 4]
mov dword [rbp - 0x75], eax
mov eax, dword [rbx + 8]
mov dword [rbp - 0x71], eax
mov eax, dword [rbx + 0xc]
mov dword [rbp - 0x6d], eax
mov rcx, qword [r13]
mov rax, qword [rcx]
lea rdx, [rbp + 0xf]
call qword [rax + 0x58]
mov rcx, rax
lea r8, [rbp - 0x79]
lea rdx, [rsp + 0x30]
call fcn.18004b8b0
cmp dword [rsp + 0x38], 0
jle 0x1801d1a69
cmp dword [rsp + 0x3c], 0
jle 0x1801d1a69
mov rcx, qword [r13]
mov rax, qword [rcx]
lea rdx, [rsp + 0x30]
call qword [rax + 0x28]
mov eax, dword [rsp + 0x30]
sub eax, dword [rbx]
cdq
idiv esi
mov r10d, eax
mov ecx, dword [rbx + 4]
mov eax, dword [rsp + 0x34]
sub eax, ecx
cdq
idiv r15d
mov edx, eax
mov eax, r10d
imul eax, esi
add eax, dword [rbx]
mov dword [rbp + 0x67], eax
mov ebx, edx
imul ebx, r15d
add ebx, ecx
mov dword [rsp + 0x40], ebx
mov r12d, dword [rsp + 0x38]
add r12d, dword [rsp + 0x30]
mov r14d, dword [rsp + 0x3c]
add r14d, dword [rsp + 0x34]
mov dword [rsp + 0x28], r14d
xor edi, edi
mov dword [rsp + 0x20], edi
xor edx, r10d
and edx, 1
mov dword [rsp + 0x48], edx
or ebx, 0xffffffff
nop dword [rax]
mov rax, qword [rbp + 0x7f]
cmp edi, edx
cmove rax, qword [rbp + 0x77]
mov eax, dword [rax]
mov dword [rbp - 0x59], eax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x51], xmm0
movaps xmm1, xmmword [0x1803939a0]
movups xmmword [rbp - 0x41], xmm1
mov qword [rbp - 0x31], 0x3f800000
mov rcx, qword [r13]
mov rax, qword [rcx]
lea rdx, [rbp - 0x59]
call qword [rax + 0x88]
nop
mov rcx, qword [rbp - 0x49]
test rcx, rcx
je 0x1801d19cb
mov eax, ebx
lock xadd dword [rcx + 8], eax
dec eax
jne 0x1801d19cb
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rbx, qword [rbp - 0x51]
test rbx, rbx
je 0x1801d19e5
mov rcx, qword [rbx + 0x18]
call fcn.1800a09c8
mov rcx, rbx
call fcn.1800a0ca0
mov eax, edi
mov edi, dword [rsp + 0x40]
cmp edi, r14d
jge 0x1801d1a4d
mov ecx, dword [rbp + 0x67]
mov ebx, eax
and ebx, 1
imul ebx, esi
add ebx, ecx
inc eax
mov dword [rsp + 0x24], eax
cmp ebx, r12d
jge 0x1801d1a45
lea r14d, [rsi + rsi]
nop dword [rax]
mov dword [rbp - 0x69], ebx
mov dword [rbp - 0x65], edi
mov dword [rbp - 0x61], esi
mov dword [rbp - 0x5d], r15d
mov rcx, qword [r13]
mov rax, qword [rcx]
xor r8d, r8d
lea rdx, [rbp - 0x69]
call qword [rax + 0xa8]
add ebx, r14d
cmp ebx, r12d
jl 0x1801d1a10
mov eax, dword [rsp + 0x24]
mov r14d, dword [rsp + 0x28]
mov ecx, dword [rbp + 0x67]
add edi, r15d
cmp edi, r14d
jl 0x1801d19f3
mov edi, dword [rsp + 0x20]
inc edi
mov dword [rsp + 0x20], edi
cmp edi, 2
mov ebx, 0xffffffff
mov edx, dword [rsp + 0x48]
jl 0x1801d1970
mov rcx, qword [r13]
mov rax, qword [rcx]
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
jmp qword [rax + WSAStartup]