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

Disassembly:
push rsi
push rdi
push r14
push r15
sub rsp, 0x38
mov rdi, qword [rcx + 0xa8]
mov r14, rcx
mov r15, qword [rcx]
mov rsi, qword [rcx + 0x10]
test rdi, rdi
je 0x1800eb8fe
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], r12
xor r12d, r12d
mov qword [rsp + 0x30], r13
nop dword [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], reloc.WS2_32.dll_WSASetLastError
mov r9, qword [r9 + rax + 0x18]
mov r9, qword [r9 + 0x68]
call fcn.1800eac30
mov r8, qword [rdi + 8]
lea ebp, [rbx - 1]
mov edx, ebp
mov rcx, rsi
mov r8, qword [r8]
call fcn.1800a2ea0
mov eax, dword [rsi + 0x90]
add eax, 0xc
cmp eax, dword [rsi + 0x94]
jle 0x1800eb6e2
mov rcx, rsi
call fcn.1800a2bf0
test eax, eax
jne 0x1800eb8ea
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], r12
mov qword [rax + rcx*8 + 0x10], r12
lea rax, [rax + rcx*8]
mov byte [rax + 0x18], 0x24
mov dword [rax + 0x1c], r12d
mov dword [rax + 0x20], 0xa
mov ecx, dword [rsi + 0x90]
add ecx, 0xa
mov dword [rax + 0x20], ecx
mov dword [rax + 0x24], r12d
mov byte [rax + 0x19], r12b
mov qword [rax + 0x28], r12
mov word [rax + 0x1a], r12w
mov qword [rax + 0x30], 0x5e
mov qword [rax + 0x38], r12
mov qword [rax + 0x40], r12
mov byte [rax + 0x48], 0x34
mov dword [rax + 0x4c], r12d
mov dword [rax + 0x50], 9
mov ecx, dword [rsi + 0x90]
add ecx, 9
mov dword [rax + 0x50], ecx
mov dword [rax + 0x54], r12d
mov byte [rax + 0x49], r12b
mov qword [rax + 0x58], r12
mov word [rax + 0x4a], r12w
mov qword [rax + 0x60], 0x87
mov qword [rax + 0x68], r12
mov qword [rax + 0x70], r12
mov qword [rax + 0x78], 0x5e
mov qword [rax + 0x80], 1
mov qword [rax + 0x88], r12
mov qword [rax + 0x90], 0x56
mov qword [rax + 0x98], r12
mov qword [rax + 0xa0], r12
mov qword [rax + 0xa8], 0x50
mov qword [rax + 0xb0], r12
mov qword [rax + 0xb8], r12
mov byte [rax + 0xc0], 9
mov dword [rax + 0xc4], r12d
mov dword [rax + 0xc8], recv
mov ecx, dword [rsi + 0x90]
add ecx, 0xb
mov dword [rax + 0xc8], ecx
mov dword [rax + 0xcc], r12d
mov byte [rax + 0xc1], r12b
mov qword [rax + 0xd0], r12
mov word [rax + 0xc2], r12w
mov byte [rax + 0xd8], 0x27
mov dword [rax + 0xdc], r12d
mov dword [rax + 0xe0], 2
mov ecx, dword [rsi + 0x90]
add ecx, 2
mov dword [rax + 0xe0], ecx
mov dword [rax + 0xe4], r12d
mov byte [rax + 0xd9], r12b
mov qword [rax + 0xe8], r12
mov word [rax + 0xda], r12w
mov qword [rax + 0xf0], 0x47
mov qword [rax + 0xf8], r12
mov qword [rax + 0x100], r12
mov qword [rax + 0x108], 0x7a
mov qword [rax + 0x110], r12
mov qword [rax + 0x118], r12
add dword [rsi + 0x90], 0xc
test rax, rax
je 0x1800eb8ea
lea edx, [rbx + 2]
mov dword [rax + 8], ebx
lea ecx, [rbx + 1]
mov dword [rax + 0xc], edx
mov dword [rax + 0x68], ecx
mov dword [rax + 0xb0], edx
mov dword [rax + 0x3c], ebx
mov dword [rax + 0x4c], ebp
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 + 0xac], ebx
mov dword [rax + 0xf8], ebx
cmp dword [r14 + 0x34], r12d
jne 0x1800eb8de
mov dword [r14 + 0x34], 1
mov rdi, qword [rdi]
test rdi, rdi
jne 0x1800eb680
mov r12, qword [rsp + 0x70]
mov rbp, qword [rsp + 0x68]
mov rbx, qword [rsp + 0x60]
mov r13, qword [rsp + 0x30]
add rsp, 0x38
pop r15
pop r14
pop rdi
pop rsi
ret