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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x88
mov rax, qword [rsp + 0x90]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax + 8]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x38], 0
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov ecx, 8
imul rcx, rcx, 0
lea rax, [rax + rcx + 0x88]
mov qword [rsp + 0x68], rax
mov rax, qword [rsp + 0x68]
cmp dword [rax + 4], 0
jne 0x18000231f
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800025aa
mov rax, qword [rsp + 0x68]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x18], 0
je 0x18000234c
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x14], 0
jne 0x18000235e
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800025aa
mov rax, qword [rsp + 0x98]
shr rax, 0x10
and rax, 0xffff
movzx eax, ax
test eax, eax
jne 0x1800023c6
mov rax, qword [rsp + 0x98]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x30]
cmp eax, dword [rcx + 0x10]
jae 0x1800023a4
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800025aa
mov rax, qword [rsp + 0x98]
and rax, 0xffff
movzx eax, ax
mov rcx, qword [rsp + 0x30]
sub eax, dword [rcx + 0x10]
mov dword [rsp + 0x38], eax
jmp 0x180002563
mov rax, qword [rsp + 0x30]
cmp dword [rax + 0x18], 0
jne 0x1800023e8
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800025aa
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x50], 0
jne 0x180002507
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x20]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x24]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
imul rax, rax, 0x10
mov rcx, rax
call fcn.18000876c
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rsp + 0x40]
mov qword [rax + 0x50], rcx
cmp qword [rsp + 0x40], 0
jne 0x180002469
mov ecx, recv
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800025aa
mov dword [rsp + 0x3c], 0
jmp 0x1800024a7
mov eax, dword [rsp + 0x3c]
inc eax
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x58]
add rax, 4
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
add rax, 2
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x40]
add rax, 0x10
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
cmp dword [rsp + 0x3c], eax
jae 0x1800024e2
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x40]
mov qword [rcx], rax
mov rax, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x60]
movzx ecx, word [rcx]
mov word [rax + 8], cx
jmp 0x180002473
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
lea r9, [0x180003af0]
mov r8d, reloc.WS2_32.dll_recv
mov edx, eax
mov rax, qword [rsp + 0x48]
mov rcx, qword [rax + 0x50]
call fcn.18000be20
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x18]
lea rcx, [0x180003b40]
mov qword [rsp + 0x20], rcx
mov r9d, reloc.WS2_32.dll_recv
mov r8d, eax
mov rax, qword [rsp + 0x48]
mov rdx, qword [rax + 0x50]
lea rcx, [rsp + 0x98]
call fcn.18000bd08
mov qword [rsp + 0x70], rax
cmp qword [rsp + 0x70], 0
jne 0x180002556
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800025aa
mov rax, qword [rsp + 0x70]
movzx eax, word [rax + 8]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x14]
cmp dword [rsp + 0x38], eax
jbe 0x180002580
mov ecx, 0x7f
call qword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1800025aa
mov rax, qword [rsp + 0x30]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
mov ecx, dword [rsp + 0x38]
shl ecx, 2
mov ecx, ecx
mov eax, dword [rax + rcx]
mov rcx, qword [rsp + 0x50]
add rcx, rax
mov rax, rcx
add rsp, 0x88
ret