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

Disassembly:
mov qword [rsp + 0x20], rbp
push rsi
push rdi
push r14
sub rsp, 0x30
mov rdi, qword [rcx + 0xa8]
mov r14, rcx
mov rbp, qword [rcx]
mov rsi, qword [rcx + 0x10]
test rdi, rdi
je 0x1401c742f
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x60], r15
xor r15d, r15d
nop dword [rax]
movsxd r8, dword [rdi + 0x10]
xor edx, edx
mov rax, qword [rbp + 0x20]
mov r9, r8
mov ebx, dword [rdi + 0x14]
mov rcx, r14
shl r9, 5
mov dword [rsp + 0x20], reloc.WS2_32.dll_WSASetLastError
mov r9, qword [r9 + rax + 0x18]
mov r9, qword [r9 + 0x68]
call fcn.1401e9c20
mov r8, qword [rdi + 8]
lea edx, [rbx - 1]
mov rcx, rsi
mov r8, qword [r8]
call fcn.14020d2a0
mov eax, dword [rsi + 0x90]
add eax, 0xc
cmp eax, dword [rsi + 0x94]
jle 0x1401c7215
mov edx, recv
mov rcx, rsi
call fcn.1401a4c20
test eax, eax
jne 0x1401c7420
movsxd rax, dword [rsi + 0x90]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x88]
mov qword [rax + rcx*8], 0x4b
mov qword [rax + rcx*8 + 8], r15
mov qword [rax + rcx*8 + 0x10], r15
lea rax, [rax + rcx*8]
mov byte [rax + 0x18], 0x24
mov dword [rax + 0x1c], r15d
mov dword [rax + 0x20], 0xa
mov ecx, dword [rsi + 0x90]
add ecx, 0xa
mov dword [rax + 0x20], ecx
mov dword [rax + 0x24], r15d
mov byte [rax + 0x19], r15b
mov qword [rax + 0x28], r15
mov word [rax + 0x1a], r15w
mov qword [rax + 0x30], 0x5e
mov qword [rax + 0x38], r15
mov qword [rax + 0x40], r15
mov byte [rax + 0x48], 0x34
mov dword [rax + 0x4c], r15d
mov dword [rax + 0x50], 9
mov ecx, dword [rsi + 0x90]
add ecx, 9
mov dword [rax + 0x50], ecx
mov dword [rax + 0x54], r15d
mov byte [rax + 0x49], r15b
mov qword [rax + 0x58], r15
mov word [rax + 0x4a], r15w
mov qword [rax + 0x60], 0x87
mov qword [rax + 0x68], r15
mov qword [rax + 0x70], r15
mov qword [rax + 0x78], 0x5e
mov qword [rax + 0x80], 1
mov qword [rax + 0x88], r15
mov qword [rax + 0x90], 0x56
mov qword [rax + 0x98], r15
mov qword [rax + 0xa0], r15
mov qword [rax + 0xa8], 0x50
mov qword [rax + 0xb0], r15
mov qword [rax + 0xb8], r15
mov byte [rax + 0xc0], 9
mov dword [rax + 0xc4], r15d
mov dword [rax + 0xc8], recv
mov ecx, dword [rsi + 0x90]
add ecx, 0xb
mov dword [rax + 0xc8], ecx
mov dword [rax + 0xcc], r15d
mov byte [rax + 0xc1], r15b
mov qword [rax + 0xd0], r15
mov word [rax + 0xc2], r15w
mov byte [rax + 0xd8], 0x27
mov dword [rax + 0xdc], r15d
mov dword [rax + 0xe0], 2
mov ecx, dword [rsi + 0x90]
add ecx, 2
mov dword [rax + 0xe0], ecx
mov dword [rax + 0xe4], r15d
mov byte [rax + 0xd9], r15b
mov qword [rax + 0xe8], r15
mov word [rax + 0xda], r15w
mov qword [rax + 0xf0], 0x47
mov qword [rax + 0xf8], r15
mov qword [rax + 0x100], r15
mov qword [rax + 0x108], 0x7a
mov qword [rax + 0x110], r15
mov qword [rax + 0x118], r15
add dword [rsi + 0x90], 0xc
test rax, rax
je 0x1401c7420
lea ecx, [rbx - 1]
mov dword [rax + 8], ebx
mov dword [rax + 0x4c], ecx
lea edx, [rbx + 2]
lea ecx, [rbx + 1]
mov dword [rax + 0xc], edx
mov dword [rax + 0x68], ecx
mov dword [rax + 0x3c], ebx
mov dword [rax + 0x54], ebx
mov word [rax + 0x4a], reloc.WS2_32.dll_recv
mov dword [rax + 0x84], ebx
mov dword [rax + 0x94], ebx
mov dword [rax + 0xb0], edx
mov dword [rax + 0xac], ebx
mov dword [rax + 0xf8], ebx
cmp dword [r14 + 0x34], r15d
jne 0x1401c7414
mov dword [r14 + 0x34], 1
mov rdi, qword [rdi]
test rdi, rdi
jne 0x1401c71b0
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r15, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
add rsp, 0x30
pop r14
pop rdi
pop rsi
ret