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

Disassembly:
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x47]
sub rsp, 0x100
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rsp + 0x128], rbx
mov rdi, r8
mov rsi, rdx
mov rbx, rcx
mov rcx, qword [rcx]
call fcn.140169c90
test al, al
jne 0x14016a7ce
mov dword [rbp - 0x61], edi
mov qword [rbp - 0x59], rsi
xor esi, esi
mov dword [rbp + 0x67], esi
mov qword [rbp - 0x39], rsi
mov qword [rsp + 0x30], rsi
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [rsi + 1]
lea rdx, [rbp - 0x61]
mov rcx, qword [rbx + 8]
call qword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x14016a68a
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x14016a7f6
mov rcx, qword [rbx]
call fcn.140169970
mov qword [rbp - 0x31], rax
mov byte [rbp - 0x29], sil
lea rax, [rbp - 0x51]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbx]
call fcn.140169970
lea rdx, [rax + 0x70]
lea rcx, vtable.std::_Func_impl_no_alloc_class__lambda_378c48fade618e66bf1b4c655e4dceaf___void___.0
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x19], rbx
lea rcx, [rbp - 0x21]
mov qword [rbp + 0x17], rcx
lea rcx, [rbp - 0x21]
call fcn.14016a860
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x14016a6e7
mov rax, qword [rcx]
lea rdx, [rbp - 0x21]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbx]
call fcn.140169640
mov rcx, qword [rbx]
call fcn.140169970
lea rdi, [rax + 0x70]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14016a714
mov rax, qword [rcx]
cmp rcx, rdi
setne dl
call qword [rax + 0x20]
mov qword [rdi + 0x38], rsi
mov qword [rbx + 0x10], rsi
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rbp + 0x7f]
lea rdx, [rbp - 0x51]
mov rcx, qword [rbx + 8]
call qword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
cmp eax, 1
je 0x14016a74d
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e3
jne 0x14016a791
jmp 0x14016a833
cmp byte [rbp - 0x29], sil
jne 0x14016a769
mov eax, dword [rbp + 0x7f]
mov rbx, qword [rsp + 0x128]
add rsp, 0x100
pop rdi
pop rsi
pop rbp
ret
xor eax, eax
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], rax
mov qword [rbp - 0x69], rax
lea rcx, [rbp - 0x79]
call fcn.14012c210
lea rdx, [0x140507c98]
lea rcx, [rbp - 0x79]
call fcn.1403a8b10
int3
mov edx, eax
lea rcx, [rbp - 0x21]
call fcn.14016c550
nop
mov r8, rax
lea rdx, str.TcpConnection::read__WSAGetOverlappedResult_failed_
lea rcx, [rbp + 0x27]
call fcn.14013ef60
nop
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.14012c4c0
lea rdx, [0x140507b98]
lea rcx, [rbp - 0x79]
call fcn.1403a8b10
nop
xor eax, eax
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], rax
mov qword [rbp - 0x69], rax
lea rcx, [rbp - 0x79]
call fcn.14012c210
lea rdx, [0x140507c98]
lea rcx, [rbp - 0x79]
call fcn.1403a8b10
int3
mov edx, eax
lea rcx, [rbp + 0x27]
call fcn.14016c550
nop
mov r8, rax
lea rdx, str.TcpConnection::read__WSARecv_failed_
lea rcx, [rbp - 0x21]
call fcn.14013ef60
nop
mov rdx, rax
lea rcx, [rbp - 0x79]
call fcn.14012c4c0
lea rdx, [0x140507b98]
lea rcx, [rbp - 0x79]
call fcn.1403a8b10
nop
xor eax, eax
mov qword [rbp - 0x79], rax
mov qword [rbp - 0x71], rax
mov qword [rbp - 0x69], rax
lea rcx, [rbp - 0x79]
call fcn.14012c210
lea rdx, [0x140507c98]
lea rcx, [rbp - 0x79]
call fcn.1403a8b10
int3