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

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rsi
push rdi
sub rsp, 0x68
mov rax, qword [rsp + 0x90]
mov eax, dword [rax + 0x50]
mov rcx, qword [rsp + 0x88]
lea rax, [rcx + rax - 0x40]
mov qword [rsp + 0x20], rax
mov eax, 8
imul rax, rax, 1
mov rcx, qword [rsp + 0x90]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x38]
cmp dword [rax + 0xc], 0
je 0x180017b65
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0xc]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov rdi, qword [rsp + 0x20]
mov rsi, rax
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
movzx r8d, byte [rsp + 0xa0]
mov edx, 0x40
mov rcx, qword [rsp + 0x20]
call fcn.180016e18
mov rcx, qword [rsp + 0x20]
mov rax, qword [rsp + 0x80]
call qword [rax + reloc.WS2_32.dll_recv]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x38]
mov eax, dword [rax + 0x10]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x28]
cmp qword [rax], 0
je 0x180017b52
cmp qword [rsp + 0x30], 0
je 0x180017abe
mov rax, qword [rsp + 0x30]
movabs rcx, 0x8000000000000000
mov rax, qword [rax]
and rax, rcx
test rax, rax
je 0x180017abe
mov rax, qword [rsp + 0x98]
movsxd rax, dword [rax + 0x3c]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov eax, 8
imul rax, rax, 0
mov rcx, qword [rsp + 0x40]
lea rax, [rcx + rax + 0x88]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x58]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x40]
mov eax, dword [rax + 0x1c]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x30]
mov rax, qword [rax]
and rax, 0xffff
mov rcx, qword [rsp + 0x40]
mov ecx, dword [rcx + 0x10]
sub rax, rcx
mov rcx, qword [rsp + 0x48]
lea rax, [rcx + rax*4]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
mov eax, dword [rax]
mov rcx, qword [rsp + 0x98]
add rcx, rax
mov rax, rcx
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
jmp 0x180017b29
mov rax, qword [rsp + 0x28]
mov rax, qword [rax]
mov rcx, qword [rsp + 0x88]
add rcx, rax
mov rax, rcx
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x50]
add rax, 2
mov rdi, qword [rsp + 0x20]
mov rsi, rax
mov ecx, 0x40
rep movsb byte [rdi], byte [rsi]
movzx r8d, byte [rsp + 0xa0]
mov edx, 0x40
mov rcx, qword [rsp + 0x20]
call fcn.180016e18
mov rdx, qword [rsp + 0x20]
mov rcx, qword [rsp + 0x98]
mov rax, qword [rsp + 0x80]
call qword [rax + reloc.WS2_32.dll_htonl]
mov rcx, qword [rsp + 0x28]
mov qword [rcx], rax
mov rax, qword [rsp + 0x28]
add rax, 8
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x30], 0
je 0x180017b4d
mov rax, qword [rsp + 0x30]
add rax, 8
mov qword [rsp + 0x30], rax
jmp 0x1800179d0
mov rax, qword [rsp + 0x38]
add rax, 0x14
mov qword [rsp + 0x38], rax
jmp 0x180017937
mov rdi, qword [rsp + 0x20]
xor eax, eax
mov ecx, 0x40
rep stosb byte [rdi], al
add rsp, 0x68
pop rdi
pop rsi
ret