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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x268]
sub rsp, 0x328
movaps xmmword [rax - 0x58], xmm6
movaps xmmword [rax - 0x68], xmm7
mov rax, qword [0x18029e198]
xor rax, rsp
mov qword [rbp + 0x1f0], rax
mov r12d, r9d
mov qword [rsp + 0x20], rdx
mov r15, rcx
mov qword [rsp + 0x60], rcx
mov rbx, qword [rbp + 0x2a0]
mov rcx, qword [rbp + 0x298]
mov qword [rsp + 0x58], rcx
xor r14d, r14d
mov edi, r14d
mov dword [rsp + 0x3c], r14d
mov dword [rsp + 0x54], r14d
movups xmm0, xmmword [rcx + 8]
movups xmmword [rsp + 0x44], xmm0
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x38], r8d
mov qword [rsp + 0x30], r14
mov eax, 0x80
mov word [rsp + 0x40], ax
mov edx, dword [rbp + 0x290]
sub edx, r9d
imul edx, dword [rcx + 4]
mov rcx, rbx
call fcn.1800af420
mov r13d, r14d
cmp r12d, dword [rbp + 0x290]
jge 0x1801b83c3
movups xmm6, xmmword [rsp + 0x48]
movups xmm7, xmmword [rsp + 0x28]
lea rax, [0x180056808]
mov word [rsp + 0x42], r12w
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x60], rax
mov rsi, r14
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x50], r14
xor eax, eax
mov qword [rbp - 0x48], rax
mov byte [rbp - 0x40], 1
mov dword [rbp - 0x3c], eax
mov qword [rbp - 0x38], rax
movdqa xmmword [rbp - 0x30], xmm0
movaps xmmword [rsp + 0x70], xmm7
movups xmm0, xmmword [rsp + 0x38]
movaps xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm6
xor edx, edx
mov r8d, 0x210
lea rcx, [rbp - 0x20]
call fcn.18020be10
lea r8, [rbp - 0x20]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x20]
call qword [r15 + 0x80]
movsxd rdi, eax
test eax, eax
je 0x1801b8314
mov r8, qword [rsp + 0x58]
add r8, 0x18
mov r9d, reloc.WS2_32.dll_recv
mov edx, dword [rbp - 0x14]
lea rcx, [rbp - 0x10]
call qword [r15 + 0x88]
test eax, eax
je 0x1801b8314
mov r14, rdi
xor edi, edi
mov qword [rbp - 0x58], rdi
mov qword [rbp - 0x48], rdi
mov qword [rbp - 0x50], rdi
mov byte [rbp - 0x40], 1
mov rcx, r14
call fcn.1801e6100
mov rsi, rax
mov r8, r14
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.18020b760
test r14, r14
je 0x1801b8327
mov r15, rsi
jmp 0x1801b832c
mov rdx, qword [rsp + 0x20]
mov rcx, r15
call fcn.1801b7ee0
mov edi, eax
test eax, eax
jne 0x1801b8391
xor eax, eax
mov r15d, eax
mov rcx, rbx
call fcn.180099ae0
lea rcx, [rax + r13]
mov r8, r14
mov rdx, r15
call fcn.18020b760
add r13, r14
lea rcx, [0x180056808]
mov qword [rbp - 0x60], rcx
test rsi, rsi
je 0x1801b835e
mov rcx, rsi
call fcn.1801e60f0
xor r14d, r14d
mov qword [rbp - 0x58], r14
mov qword [rbp - 0x48], r14
mov qword [rbp - 0x50], r14
mov byte [rbp - 0x40], 1
lea rcx, [rbp - 0x38]
call fcn.1800929a0
nop
inc r12d
cmp r12d, dword [rbp + 0x290]
jge 0x1801b83c3
mov r15, qword [rsp + 0x60]
jmp 0x1801b823a
test r13, r13
je 0x1801b841b
xor eax, eax
mov edi, eax
lea rcx, [0x180056808]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x40], 1
lea rcx, [rbp - 0x38]
call fcn.1800929a0
nop
mov rax, qword [rbx + 0x10]
cmp r13, rax
jae 0x1801b83db
mov rdx, r13
mov rcx, rbx
call fcn.1800af420
mov rax, qword [rbx + 0x10]
mov ecx, 0xd1
test rax, rax
cmove edi, ecx
mov eax, edi
mov rcx, qword [rbp + 0x1f0]
xor rcx, rsp
call fcn.1801e67e0
movaps xmm6, xmmword [rsp + 0x310]
movaps xmm7, xmmword [rsp + 0x300]
add rsp, 0x328
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x1801b843e
cmp dword [rbx + 0x24], 1
jne 0x1801b8439
mov r8, qword [rbx + 0x10]
xor edx, edx
call fcn.18020be10
mov rcx, qword [rbx + 8]
call fcn.1801e60f0
xor eax, eax
mov qword [rbx + 8], rax
mov qword [rbx + 0x18], rax
mov qword [rbx + 0x10], rax
mov byte [rbx + 0x20], 1
lea rcx, [0x180056808]
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x48], rax
mov qword [rbp - 0x50], rax
mov byte [rbp - 0x40], 1
lea rcx, [rbp - 0x38]
call fcn.1800929a0
nop
jmp 0x1801b83e6