Function at 0x18000ea40
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov qword [rsp + 0x18], rbx
push rdi
push r14
push r15
sub rsp, 0x70
mov edi, dword [rcx + 0x18170]
mov r15, rdx
mov rbx, rcx
test edi, edi
je 0x18000ead5
mov r8, qword [rcx + 0x18168]
mov rcx, rdx
cmp edi, 0x1000
ja 0x18000ea9b
mov r9d, edi
mov edx, 0x1000
call fcn.18000e990
xor r14d, r14d
mov eax, edi
mov dword [rbx + 0x18170], r14d
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
ret
mov r9d, 0x1000
mov edx, r9d
call fcn.18000e990
add qword [rbx + 0x18168], 0x1000
mov eax, 0x1000
add dword [rbx + 0x18170], 0xfffff000
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
ret
mov ecx, dword [rcx + 0x18164]
lea rax, [rsp + 0x30]
xor r14d, r14d
mov qword [rsp + 0x90], rbp
mov qword [rsp + 0x98], rsi
mov dword [rsp + 0x20], r14d
mov dword [rsp + 0x24], 4
mov qword [rsp + 0x28], rax
lea esi, [r14 + 1]
mov dword [rsp + 0x34], r14d
mov dword [rsp + 0x44], r14d
mov dword [rsp + 0x54], r14d
mov dword [rsp + 0x64], r14d
test ecx, ecx
je 0x18000eb60
mov rax, qword [rbx + 0x18178]
lea rdx, [rsp + 0x20]
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov rax, qword [rbx + 0x10]
xor r8d, r8d
mov dword [rsp + 0x30], ecx
lea rcx, [rbx + 0x28]
mov dword [rsp + 0x34], esi
mov r10, qword [rax + 0xd0]
call r10
cmp eax, 0x80090318
jne 0x18000ec62
nop dword [rax]
mov edi, dword [rbx + 0x18178]
mov r8d, 0x8064
sub edi, ebx
add edi, 0xffff7f02
sub r8d, edi
sub r8d, dword [rbx + 0x18164]
jne 0x18000ebeb
test edi, edi
jle 0x18000ec83
mov rdx, qword [rbx + 0x18178]
lea rbp, [rbx + 0x80fe]
mov eax, 0x8064
sub eax, edi
movsxd r8, eax
je 0x18000ebe1
test rbp, rbp
jne 0x18000ebb9
call fcn.1800518a8
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.18004df64
jmp 0x18000ebe1
test rdx, rdx
je 0x18000eba7
cmp r8, 0x8064
jbe 0x18000ebd9
call fcn.1800518a8
mov dword [rax], 0x22
call fcn.18004df64
jmp 0x18000ebe1
mov rcx, rbp
call fcn.18004b110
mov r8d, edi
mov qword [rbx + 0x18178], rbp
mov edx, dword [rbx + 0x18164]
xor r9d, r9d
add rdx, qword [rbx + 0x18178]
mov rcx, qword [rbx]
call qword [sym.imp.WS2_32.dll_recv]
lea ecx, [rax + 1]
cmp ecx, esi
jbe 0x18000ec83
add dword [rbx + 0x18164], eax
lea rdx, [rsp + 0x20]
mov rax, qword [rbx + 0x18178]
xor r9d, r9d
mov ecx, dword [rbx + 0x18164]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rax, qword [rbx + 0x10]
mov dword [rsp + 0x30], ecx
lea rcx, [rbx + 0x28]
mov dword [rsp + 0x34], esi
mov dword [rsp + 0x44], r14d
mov dword [rsp + 0x54], r14d
mov dword [rsp + 0x64], r14d
mov r10, qword [rax + 0xd0]
call r10
cmp eax, 0x80090318
je 0x18000eb60
test eax, eax
jne 0x18000ec83
mov edx, esi
lea rax, [rsp + 0x44]
mov rcx, rsi
cmp dword [rax], esi
je 0x18000ecaa
inc edx
inc rcx
add rax, 0x10
cmp rcx, 4
jl 0x18000ec70
mov eax, 0xffffffff
mov rbp, qword [rsp + 0x90]
mov rsi, qword [rsp + 0x98]
mov rbx, qword [rsp + 0xa0]
add rsp, 0x70
pop r15
pop r14
pop rdi
ret
movsxd rax, edx
lea rdi, [rsp + 0x30]
shl rax, 4
add rdi, rax
je 0x18000ec83
mov eax, dword [rdi]
mov edx, 0x1000
mov r8, qword [rdi + 8]
mov rcx, r15
cmp eax, edx
ja 0x18000ecd7
mov r9d, eax
call fcn.18000e990
jmp 0x18000ed20
mov r9, rdx
call fcn.18000e990
mov eax, dword [rdi]
lea rcx, [rbx + 0x10162]
mov r8, qword [rdi + 8]
add eax, 0xfffff000
mov r9d, eax
add r8, 0x1000
mov edx, 0x8000
mov dword [rbx + 0x18170], eax
mov qword [rbx + 0x18168], rcx
call fcn.18000e990
test eax, eax
jne 0x18000ec83
mov dword [rdi], 0x1000
mov rcx, rsi
lea rax, [rsp + 0x44]
cmp dword [rax], 5
je 0x18000ed58
inc esi
inc rcx
add rax, 0x10
cmp rcx, 4
jl 0x18000ed28
lea rax, [rbx + 0x80fe]
mov dword [rbx + 0x18164], r14d
mov qword [rbx + 0x18178], rax
mov eax, dword [rdi]
jmp 0x18000ec88
movsxd rax, esi
lea rcx, [rsp + 0x30]
shl rax, 4
add rcx, rax
je 0x18000ed3c
mov rax, qword [rcx + 8]
mov r14d, dword [rcx]
jmp 0x18000ed43