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

Disassembly:
mov qword [rsp + 0x20], rsi
push rdi
push r14
push r15
sub rsp, 0x30
mov rdi, qword [rcx + 0x98]
mov r14, rcx
mov r15, qword [rcx]
mov rsi, qword [rcx + 0x10]
test rdi, rdi
je 0x14008140c
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x58], rbp
mov qword [rsp + 0x60], r12
xor r12d, r12d
nop word [rax + rax]
movsxd r8, dword [rdi + 0x10]
xor edx, edx
mov rax, qword [r15 + 0x20]
mov r9, r8
mov ebx, dword [rdi + 0x14]
mov rcx, r14
shl r9, 5
mov dword [rsp + 0x20], WSAGetLastError
mov r9, qword [r9 + rax + 0x18]
mov r9, qword [r9 + 0x68]
call fcn.140080be0
mov r8, qword [rdi + 8]
lea ebp, [rbx - 1]
mov edx, ebp
mov rcx, rsi
mov r8, qword [r8]
call fcn.140042e50
mov rcx, qword [rsi + 0x18]
mov eax, dword [rsi + 0xb8]
add eax, 0xa
cmp eax, dword [rcx + 0x3c]
jle 0x140081223
mov rcx, rsi
call fcn.140042c90
test eax, eax
jne 0x1400813fd
movsxd rax, dword [rsi + 0xb8]
lea rcx, [rax + rax*2]
mov rax, qword [rsi + 0x68]
mov word [rax + rcx*8], reloc.WLDAP32.dll_Ordinal_79
mov qword [rax + rcx*8 + 4], r12
mov dword [rax + rcx*8 + 0xc], r12d
lea rax, [rax + rcx*8]
mov qword [rax + 0x10], r12
mov byte [rax + 3], r12b
mov byte [rax + 0x18], reloc.WS2_32.dll_gethostname
mov dword [rax + 0x1c], r12d
mov dword [rax + 0x20], 9
mov ecx, dword [rsi + 0xb8]
add ecx, 9
mov dword [rax + 0x20], ecx
mov dword [rax + 0x24], r12d
mov byte [rax + 0x19], r12b
mov qword [rax + 0x28], r12
mov byte [rax + 0x1b], r12b
mov word [rax + 0x30], 0x60
mov qword [rax + 0x34], r12
mov dword [rax + 0x3c], r12d
mov qword [rax + 0x40], r12
mov byte [rax + 0x33], r12b
mov byte [rax + 0x48], 0x24
mov dword [rax + 0x4c], r12d
mov dword [rax + 0x50], 7
mov ecx, dword [rsi + 0xb8]
add ecx, 7
mov dword [rax + 0x50], ecx
mov dword [rax + 0x54], r12d
mov byte [rax + 0x49], r12b
mov qword [rax + 0x58], r12
mov byte [rax + 0x4b], r12b
mov word [rax + 0x60], 0x7b
mov qword [rax + 0x64], r12
mov dword [rax + 0x6c], r12d
mov qword [rax + 0x70], r12
mov byte [rax + 0x63], r12b
mov word [rax + 0x78], 0x60
mov dword [rax + 0x7c], r12d
mov qword [rax + 0x80], 1
mov qword [rax + 0x88], r12
mov byte [rax + 0x7b], r12b
mov byte [rax + 0x90], reloc.WS2_32.dll_listen
mov dword [rax + 0x94], r12d
mov dword [rax + 0x98], 9
mov ecx, dword [rsi + 0xb8]
add ecx, 9
mov dword [rax + 0x98], ecx
mov dword [rax + 0x9c], r12d
mov byte [rax + 0x91], r12b
mov qword [rax + 0xa0], r12
mov byte [rax + 0x93], r12b
mov byte [rax + 0xa8], 7
mov dword [rax + 0xac], r12d
mov dword [rax + 0xb0], 2
mov ecx, dword [rsi + 0xb8]
add ecx, 2
mov dword [rax + 0xb0], ecx
mov dword [rax + 0xb4], r12d
mov byte [rax + 0xa9], r12b
mov qword [rax + 0xb8], r12
mov byte [rax + 0xab], r12b
mov word [rax + 0xc0], Ordinal_79
mov qword [rax + 0xc4], r12
mov dword [rax + 0xcc], r12d
mov qword [rax + 0xd0], r12
mov byte [rax + 0xc3], r12b
mov word [rax + 0xd8], reloc.WS2_32.dll_WSAGetLastError
mov qword [rax + 0xdc], r12
mov dword [rax + 0xe4], r12d
mov qword [rax + 0xe8], r12
mov byte [rax + 0xdb], r12b
add dword [rsi + 0xb8], 0xa
test rax, rax
je 0x1400813fd
lea ecx, [rbx + 1]
mov dword [rax + 8], ebx
mov dword [rax + 0xc], ecx
mov dword [rax + 0x68], ecx
mov dword [rax + 0x3c], ebx
mov dword [rax + 0x4c], ebp
mov dword [rax + 0x54], ebx
mov byte [rax + 0x4b], reloc.WS2_32.dll_recv
mov dword [rax + 0x84], ebx
mov dword [rax + 0xc8], ebx
mov rdi, qword [rdi]
test rdi, rdi
jne 0x1400811c0
mov rbp, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x50]
mov r12, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x68]
add rsp, 0x30
pop r15
pop r14
pop rdi
ret