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

Disassembly:
push rsi
push r12
push r14
push r15
sub rsp, 0x38
mov r15, qword [rcx + 0x1c0]
mov rsi, rcx
mov r12, qword [rcx]
mov r14, qword [rcx + 0x10]
test r15, r15
je 0x1800ee884
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x30], r13
nop word [rax + rax]
movsxd rbp, dword [r15 + 0x10]
mov rax, qword [r12 + 0x20]
mov rcx, rbp
mov rdi, qword [rsi + 0x10]
mov r13d, dword [r15 + 0x14]
shl rcx, 5
mov rcx, qword [rcx + rax + 0x18]
mov rbx, qword [rcx + 0x68]
test rdi, rdi
jne 0x1800ee544
mov rcx, rsi
call fcn.1801362a0
mov qword [rsi + 0x10], rax
mov rdi, rax
test rax, rax
je 0x1800ee52d
movsxd rcx, dword [rax + 0x3c]
mov rax, qword [rax + 0x30]
cmp dword [rax + 0x64], ecx
jg 0x1800ee504
xor r9d, r9d
mov dword [rsp + 0x20], 0
xor r8d, r8d
mov edx, 0x9e
mov rcx, rdi
call fcn.1800cfb00
jmp 0x1800ee52d
lea eax, [rcx + 1]
xor edx, edx
mov dword [rdi + 0x3c], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x9e
mov byte [rax + rcx*8 + 3], 0
mov qword [rax + rcx*8 + 4], rdx
mov dword [rax + rcx*8 + 0xc], edx
mov qword [rax + rcx*8 + 0x10], rdx
cmp qword [rsi + 0x1c8], 0
jne 0x1800ee544
mov rax, qword [rsi]
test byte [rax + 0x50], 8
jne 0x1800ee544
mov byte [rsi + 0x23], 1
mov rax, qword [rbx]
xor r9d, r9d
mov r8d, dword [rbx + 0x38]
mov edx, ebp
mov rcx, rsi
mov qword [rsp + 0x20], rax
call fcn.180130440
test byte [rbx + 0x46], 0x20
jne 0x1800ee587
movsx eax, word [rbx + 0x3e]
xor r8d, r8d
mov r9d, dword [rbx + 0x38]
mov rcx, rdi
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebp
lea edx, [r8 + 0x36]
call fcn.180135730
jmp 0x1800ee665
mov rbx, qword [rbx + 0x10]
test rbx, rbx
je 0x1800ee5a2
mov eax, dword [rbx + 0x64]
and al, 3
cmp al, 2
je 0x1800ee5a2
mov rbx, qword [rbx + 0x28]
test rbx, rbx
jne 0x1800ee590
mov rax, qword [rdi + 0x30]
movsxd rcx, dword [rdi + 0x3c]
mov edx, dword [rbx + 0x58]
cmp dword [rax + 0x64], ecx
jg 0x1800ee5ca
xor r8d, r8d
mov dword [rsp + 0x20], ebp
mov r9d, edx
mov rcx, rdi
lea edx, [r8 + 0x36]
call fcn.1800cfb00
jmp 0x1800ee5f8
lea eax, [rcx + 1]
xor r8d, r8d
mov dword [rdi + 0x3c], eax
lea rcx, [rcx + rcx*2]
mov rax, qword [rdi + 8]
mov word [rax + rcx*8], 0x36
mov byte [rax + rcx*8 + 3], 0
mov dword [rax + rcx*8 + 4], r8d
mov dword [rax + rcx*8 + 8], edx
mov dword [rax + rcx*8 + 0xc], ebp
mov qword [rax + rcx*8 + 0x10], r8
mov rdi, qword [rsi + 0x10]
mov rdx, rbx
mov rcx, rsi
call fcn.18011c2d0
mov rcx, rax
mov rax, qword [rdi]
cmp byte [rax + 0x55], 0
je 0x1800ee629
test rcx, rcx
je 0x1800ee665
cmp qword [rax + 0x290], 0
jne 0x1800ee665
call fcn.18011c410
jmp 0x1800ee665
movsxd rax, dword [rdi + 0x3c]
lea rdx, [rax + rax*2]
mov rax, qword [rdi + 8]
cmp byte [rax + rdx*8 - 0x17], 0
lea r10, [rax + rdx*8]
je 0x1800ee657
mov r8, rcx
lea rdx, [r10 - 0x18]
mov rcx, rdi
mov r9d, 0xfffffffa
call fcn.18014e490
jmp 0x1800ee665
test rcx, rcx
je 0x1800ee665
mov qword [r10 - 8], rcx
mov byte [r10 - 0x17], 0xfa
mov r8, qword [r15 + 8]
lea ebx, [r13 - 1]
mov edx, ebx
mov rcx, r14
mov r8, qword [r8]
call fcn.18013f590
mov rcx, qword [r14 + 0x30]
mov eax, dword [r14 + 0x3c]
add eax, 0xa
cmp eax, dword [rcx + 0x64]
jle 0x1800ee69f
mov edx, 0xa
mov rcx, r14
call fcn.1800cfb70
test eax, eax
jne 0x1800ee870
movsxd rax, dword [r14 + 0x3c]
xor r8d, r8d
lea rcx, [rax + rax*2]
mov rax, qword [r14 + 8]
mov word [rax + rcx*8], 0x19
mov qword [rax + rcx*8 + 4], r8
mov dword [rax + rcx*8 + 0xc], r8d
lea rdx, [rax + rcx*8]
mov qword [rdx + 0x10], r8
mov byte [rdx + 3], r8b
mov byte [rdx + 0x18], WSAGetLastError
mov dword [rdx + 0x1c], r8d
mov dword [rdx + 0x20], 9
mov eax, dword [r14 + 0x3c]
add eax, 9
mov dword [rdx + 0x20], eax
mov dword [rdx + 0x24], r8d
mov byte [rdx + 0x19], r8b
mov qword [rdx + 0x28], r8
mov byte [rdx + 0x1b], r8b
mov word [rdx + 0x30], 0x2f
mov qword [rdx + 0x34], r8
mov dword [rdx + 0x3c], r8d
mov qword [rdx + 0x40], r8
mov byte [rdx + 0x33], r8b
mov byte [rdx + 0x48], 0x4e
mov dword [rdx + 0x4c], r8d
mov dword [rdx + 0x50], 7
mov eax, dword [r14 + 0x3c]
add eax, 7
mov dword [rdx + 0x50], eax
mov dword [rdx + 0x54], r8d
mov byte [rdx + 0x49], r8b
mov qword [rdx + 0x58], r8
mov byte [rdx + 0x4b], r8b
mov word [rdx + 0x60], 0x67
mov qword [rdx + 0x64], r8
mov dword [rdx + 0x6c], r8d
mov qword [rdx + 0x70], r8
mov byte [rdx + 0x63], r8b
mov word [rdx + 0x78], 0x2f
mov dword [rdx + 0x7c], r8d
mov qword [rdx + 0x80], 1
mov qword [rdx + 0x88], r8
mov byte [rdx + 0x7b], r8b
mov byte [rdx + 0x90], select
mov dword [rdx + 0x94], r8d
mov dword [rdx + 0x98], 9
mov eax, dword [r14 + 0x3c]
add eax, 9
mov dword [rdx + 0x98], eax
mov dword [rdx + 0x9c], r8d
mov byte [rdx + 0x91], r8b
mov qword [rdx + 0xa0], r8
mov byte [rdx + 0x93], r8b
mov byte [rdx + 0xa8], 7
mov dword [rdx + 0xac], r8d
mov dword [rdx + 0xb0], 2
mov eax, dword [r14 + 0x3c]
add eax, 2
mov dword [rdx + 0xb0], eax
lea eax, [r13 + 1]
mov dword [rdx + 0xb4], r8d
mov byte [rdx + 0xa9], r8b
mov qword [rdx + 0xb8], r8
mov byte [rdx + 0xab], r8b
mov word [rdx + 0xc0], socket
mov qword [rdx + 0xc4], r8
mov dword [rdx + 0xcc], r8d
mov qword [rdx + 0xd0], r8
mov byte [rdx + 0xc3], r8b
mov word [rdx + 0xd8], 0x3d
mov qword [rdx + 0xdc], r8
mov dword [rdx + 0xe4], r8d
mov qword [rdx + 0xe8], r8
mov byte [rdx + 0xdb], r8b
add dword [r14 + 0x3c], 0xa
mov dword [rdx + 8], r13d
mov dword [rdx + 0xc], eax
mov dword [rdx + 0x3c], r13d
mov dword [rdx + 0x4c], ebx
mov dword [rdx + 0x54], r13d
mov byte [rdx + 0x4b], reloc.WS2_32.dll_recv
mov dword [rdx + 0x68], eax
mov dword [rdx + 0x84], r13d
mov dword [rdx + 0xc8], r13d
mov r15, qword [r15]
test r15, r15
jne 0x1800ee4a0
mov rdi, 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 r12
pop rsi
ret