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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x20
mov rdi, rcx
xor r15d, r15d
nop
nop
nop
nop
mov rax, qword [rdi + 0x108]
cmp qword [rdi + 0x100], rax
jne 0x1400b6b63
mov ecx, 0x10000
call fcn.1400ce030
cmp qword [rdi + 0xf0], r15
mov r11, rax
je 0x1400b6b32
mov rax, qword [rdi + 0xf8]
mov qword [rax], r11
jmp 0x1400b6b39
mov qword [rdi + 0xf0], rax
mov qword [r11], r15
add dword [rdi + 0x110], 1
lea rax, [r11 + 0x10000]
mov qword [rdi + 0x108], rax
lea rax, [r11 + 8]
mov qword [rdi + 0xf8], r11
mov qword [rdi + 0x100], rax
mov r8d, dword [rdi + 0x108]
mov rdx, qword [rdi + 0x100]
mov rcx, qword [rdi]
sub r8d, dword [rdi + 0x100]
xor r9d, r9d
call qword [sym.imp.WS2_32.dll_recv]
movsxd r13, eax
cmp r13d, 0xffffffff
je 0x1400b6d56
test eax, eax
je 0x1400b6d37
mov rsi, qword [rdi + 0x100]
mov rbx, r15
lea rax, [rsi + r13]
mov qword [rdi + 0x100], rax
nop
cmp byte [rsi], 0xa
jne 0x1400b6cd6
test rbx, rbx
mov byte [rsi], r15b
je 0x1400b6bc6
mov rdx, rbx
jmp 0x1400b6bdc
mov ecx, dword [rdi + 0x110]
cmp ecx, 1
jne 0x1400b6bf8
mov rdx, qword [rdi + 0xf8]
add rdx, 8
mov rcx, rdi
call fcn.1400b63d0
test eax, eax
je 0x1400b6d90
add rsi, 1
mov rbx, rsi
jmp 0x1400b6cda
mov eax, esi
sub eax, dword [rdi + 0xf8]
sub eax, 8
movsxd rdx, eax
lea eax, [rcx - 1]
movsxd rcx, eax
imul rcx, rcx, 0xfff8
lea rcx, [rdx + rcx + 1]
call fcn.1400ce030
mov rbp, qword [rdi + 0xf0]
cmp rbp, qword [rdi + 0xf8]
mov r14, rax
mov r12, rax
je 0x1400b6c71
nop
nop
nop
nop
mov rbx, qword [rbp]
lea rdx, [rbp + 8]
mov r8d, 0xfff8
mov rcx, r12
call fcn.1401a6b10
mov rcx, rbp
add r12, 0xfff8
call fcn.1400ce0b0
cmp rbx, qword [rdi + 0xf8]
mov rbp, rbx
jne 0x1400b6c40
mov rdx, qword [rdi + 0xf8]
mov eax, esi
mov rcx, r12
sub eax, dword [rdi + 0xf8]
add rdx, 8
sub eax, 8
movsxd r8, eax
call fcn.1401a6b10
sub r12, qword [rdi + 0xf8]
mov rdx, r14
mov byte [r12 + rsi - 8], r15b
mov rax, qword [rdi + 0xf8]
mov rcx, rdi
mov qword [rdi + 0xf0], rax
mov dword [rdi + 0x110], 1
call fcn.1400b63d0
test eax, eax
mov rcx, r14
je 0x1400b6d30
call fcn.1400ce0b0
add rsi, 1
mov rbx, rsi
jmp 0x1400b6cda
add rsi, 1
sub r13d, 1
jne 0x1400b6bb0
test rbx, rbx
je 0x1400b6b00
mov eax, dword [rdi + 0x100]
mov rcx, qword [rdi + 0xf8]
mov rdx, rbx
sub eax, ebx
add rcx, 8
movsxd r8, eax
call fcn.1401a6b10
mov r11d, dword [rdi + 0x100]
mov rax, qword [rdi + 0xf8]
sub r11d, ebx
movsxd rcx, r11d
lea rcx, [rcx + rax + 8]
mov qword [rdi + 0x100], rcx
jmp 0x1400b6b00
call fcn.1400ce0b0
jmp 0x1400b6d90
mov rdx, qword [0x1401fd5f8]
mov rcx, rdi
mov r8, qword [rdx + 0x22f0]
mov rdx, qword [rdx + 0x2278]
call fcn.1400b4de0
jmp 0x1400b6d90
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x1400b6d6a
mov eax, 1
jmp 0x1400b6d92
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov rdx, qword [0x1401fd5f8]
mov rcx, rdi
mov r8, qword [rdx + 0x2310]
mov rdx, qword [rdx + 0x2278]
mov r9d, eax
call fcn.1400b4de0
xor eax, eax
mov rbx, qword [rsp + 0x50]
mov rbp, qword [rsp + 0x58]
mov rsi, qword [rsp + 0x60]
add rsp, 0x20
pop r15
pop r14
pop r13
pop r12
pop rdi
ret