Function at 0x14001eb90
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push rbp
push rbx
lea rbp, [rsp - 0xfd8]
mov eax, 0x10d8
call fcn.1400bd490
sub rsp, rax
mov qword [rsp + 0x1108], r12
mov rbx, rcx
mov qword [rsp + 0x10d0], r13
lock inc dword [rcx]
lea r12, [rcx + 0x1c0]
mov rcx, r12
call sub.KERNEL32.dll_EnterCriticalSection
mov eax, dword [rbx + 0xac]
mov r13, 0xffffffffffffffff
cmp eax, 3
jne 0x14001ebec
mov rcx, rbx
call fcn.14001dc70
jmp 0x14001efdd
cmp eax, 5
jne 0x14001efdd
cmp byte [rbx + 0x221], 0
mov qword [rsp + 0x10f8], rsi
mov qword [rsp + 0x1100], rdi
mov qword [rsp + 0x10c8], r14
je 0x14001ec91
mov rcx, rbx
call fcn.14001d870
mov rcx, r12
call fcn.1400b8230
mov rsi, qword [rbx + 0xb0]
test rsi, rsi
je 0x14001ec7c
mov rax, qword [rsi]
xorps xmm0, xmm0
xor r14d, r14d
movdqu xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], r14
mov rdi, qword [rax + 0x20]
mov dword [rsp + 0x70], r14d
call fcn.1400d9fe0
lea r9, [rsp + 0x58]
mov r8d, eax
mov rdx, rbx
mov rcx, rsi
call rdi
mov rcx, qword [rsp + 0x60]
lea r8d, [r14 + 0x22]
xor r9d, r9d
lea rdx, str.D:BuildServerDwork_gitwowWoWSourceWowConnectionPacketPipe.h
call fcn.140025f00
mov rcx, r12
call sub.KERNEL32.dll_EnterCriticalSection
mov rcx, rbx
call fcn.1400208f0
jmp 0x14001efc5
mov qword [rsp + 0x10c0], r15
xor r15b, r15b
call fcn.1400d9fe0
mov esi, eax
xor r14d, r14d
nop word [rax + rax]
mov rcx, qword [rbx + 0x98]
lea rdx, [rbp - 0x20]
xor r9d, r9d
mov r8d, 0xfe0
call qword [sym.imp.WS2_32.dll_recv]
movsxd rcx, eax
test eax, eax
jg 0x14001ee6c
jns 0x14001ecf5
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2714
je 0x14001ecb0
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x14001efbd
mov rcx, rbx
call fcn.14001d870
mov rcx, qword [0x140128ae0]
mov rdx, rbx
mov rsi, qword [rbx + 0xb0]
call fcn.140022570
mov rdx, qword [rbx + 0x98]
mov rcx, rbx
call fcn.14001e420
mov edx, 6
mov rcx, rbx
call fcn.140020b70
mov rdi, qword [rbx + 0x98]
mov rcx, r12
call fcn.1400b8230
test rsi, rsi
je 0x14001ed66
cmp rdi, r13
je 0x14001ed66
mov rax, qword [rsi]
mov rdi, qword [rax + 0x18]
call fcn.1400d9fe0
lea r9, [rbx + 0x128]
mov r8d, eax
mov rdx, rbx
mov rcx, rsi
call rdi
mov rcx, r12
call sub.KERNEL32.dll_EnterCriticalSection
mov rcx, rbx
mov qword [rbx + 0x98], r13
call fcn.1400208f0
test r15b, r15b
je 0x14001efbd
cmp dword [rbx + 0x74], r14d
je 0x14001efbd
call fcn.1400d9fe0
mov edx, dword [rbx + 0x78]
test edx, edx
je 0x14001edac
mov ecx, eax
sub ecx, edx
cmp ecx, 0x3a98
jb 0x14001efbd
mov rcx, qword [rbx + 0x98]
lea r8, [rbp + 0xff0]
mov edx, 0x4004667f
mov dword [rbx + 0x78], eax
mov dword [rbp + 0xff0], r14d
call qword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
jne 0x14001efbd
mov edi, dword [rbp + 0xff0]
test edi, edi
js 0x14001efbd
cmp edi, dword [rbx + 0x74]
jb 0x14001efbd
mov rax, qword [rbx + 0x50]
lea r8, [rbx + 0x60]
mov edx, edi
mov rcx, rbx
call rax
test al, al
jne 0x14001efbd
movzx eax, word [rbx + 0x128]
cmp ax, 2
je 0x14001ee18
cmp ax, 0x17
jne 0x14001ee29
movzx ecx, word [rbx + 0x12a]
call qword [sym.imp.WS2_32.dll_ntohs]
movzx r14d, ax
xor eax, eax
xorps xmm0, xmm0
mov qword [rsp + 0x30], rax
movzx eax, word [rbx + 0x128]
movups xmmword [rsp + 0x20], xmm0
cmp ax, 2
je 0x14001ef56
cmp ax, 0x17
jne 0x14001ef68
movups xmm0, xmmword [rbx + 0x130]
mov dword [rsp + 0x30], 2
movups xmmword [rsp + 0x20], xmm0
jmp 0x14001ef68
add qword [rbx + 0x210], rcx
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rax
mov eax, 0xfe0
sub eax, ecx
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x4c], 0x20
mov dword [rsp + 0x50], eax
cmp dword [rbx + 0x90], r14d
je 0x14001eee2
call fcn.14001d8c0
mov rdi, rax
mov dword [rax + 0x18], 1
lea rcx, [rax + 0x20]
mov r8d, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x38]
call fcn.1400bddc0
lea rcx, [rbx + 0x80]
mov rax, qword [rcx + 8]
mov qword [rdi + 8], rax
mov qword [rdi], rcx
mov qword [rcx + 8], rdi
mov rax, qword [rdi + 8]
mov qword [rax], rdi
jmp 0x14001ef15
mov rdi, qword [rbx + 0xb8]
lock inc dword [rdi + 0x10]
mov rax, qword [rdi]
lea rdx, [rsp + 0x38]
mov rcx, rdi
call qword [rax + reloc.WS2_32.dll_recv]
mov eax, r13d
lock xadd dword [rdi + 0x10], eax
cmp eax, 1
jne 0x14001ef15
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
call qword [rax]
mov rcx, qword [rsp + 0x40]
lea rdx, str.D:BuildServerDwork_gitwowWoWSourceWowConnectionPacketPipe.h
xor r9d, r9d
lea r8d, [r9 + 0x22]
call fcn.140025f00
call fcn.1400d9fe0
sub eax, esi
cmp eax, 0xf
setge r15b
cmp dword [rbx + 0xac], 7
je 0x14001ed7d
cmp eax, 0xf
jl 0x14001ecb0
jmp 0x14001ed7d
mov eax, dword [rbx + 0x12c]
mov dword [rsp + 0x20], eax
mov dword [rsp + 0x30], 1
movzx r8d, r14w
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x78]
call fcn.140017c30
mov r8, rax
lea rcx, str.WowConnection:_MaxRecvQueueSize_Reached__m_bytesQueued_d__Dropping_connection_to__s
mov edx, edi
call fcn.14001e540
cmp dword [rsp + 0x30], 3
jne 0x14001efb0
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x14001efb0
xor r9d, r9d
lea rdx, str.D:BuildServerDwork_gitwowEngineSourceOsSockAddr.h
lea r8d, [r9 + 0x27]
call fcn.140025f00
mov edx, 7
mov rcx, rbx
call fcn.140020b70
mov r15, qword [rsp + 0x10c0]
mov rdi, qword [rsp + 0x1100]
mov rsi, qword [rsp + 0x10f8]
mov r14, qword [rsp + 0x10c8]
mov rcx, r12
call fcn.1400b8230
lock xadd dword [rbx], r13d
mov r12, qword [rsp + 0x1108]
lea eax, [r13 - 1]
mov r13, qword [rsp + 0x10d0]
test eax, eax
jg 0x14001f034
mov rcx, qword [0x140128ae0]
test rcx, rcx
je 0x14001f01f
mov rdx, rbx
add rsp, 0x10d8
pop rbx
pop rbp
jmp fcn.1400224e0
mov rcx, rbx
call fcn.14001d440
mov edx, 0x228
mov rcx, rbx
call fcn.1400bcf88
add rsp, 0x10d8
pop rbx
pop rbp
ret