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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x140248318]
xor rax, rsp
mov qword [rbp], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx]
call fcn.140188030
test al, al
jne 0x14018a5f3
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x68], rdi
xor esi, esi
mov dword [rsp + 0x40], esi
mov qword [rbp - 0x78], rsi
mov qword [rsp + 0x30], rsi
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [rsi + 1]
lea rdx, [rsp + 0x60]
mov rcx, qword [rbx + 8]
call qword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
je 0x14018a4a2
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x14018a61e
mov rcx, qword [rbx]
call fcn.140187df0
mov qword [rbp - 0x70], rax
mov byte [rbp - 0x68], sil
lea rax, [rsp + 0x70]
mov qword [rbx + 0x10], rax
mov rcx, qword [rbx]
call fcn.140187df0
lea rdx, [rax + 0x70]
lea rcx, vtable.std::_Func_impl_no_alloc_class__lambda_ba592e99b77cc87b7eb140194ef6b88a___void___.0
mov qword [rbp - 0x60], rcx
mov qword [rbp - 0x58], rbx
lea rcx, [rbp - 0x60]
mov qword [rbp - 0x28], rcx
lea rcx, [rbp - 0x60]
call fcn.14018a660
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14018a500
mov rax, qword [rcx]
lea rdx, [rbp - 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbx]
call fcn.140187ae0
mov rcx, qword [rbx]
call fcn.140187df0
lea rdi, [rax + 0x70]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14018a52d
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, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x70]
mov rcx, qword [rbx + 8]
call qword [sym.imp.WS2_32.dll_WSAGetOverlappedResult]
cmp eax, 1
je 0x14018a566
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e3
jne 0x14018a5b4
jmp 0x14018a589
mov eax, dword [rsp + 0x44]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14018bc90
mov rbx, qword [rsp + 0x148]
add rsp, 0x110
pop rdi
pop rsi
pop rbp
ret
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x48]
call fcn.140186ce0
lea rdx, [0x1402404d0]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.14018ad80
nop
mov r8, rax
lea rdx, str.TcpConnection::read__WSAGetOverlappedResult_failed_
lea rcx, [rbp - 0x20]
call fcn.14000f6b0
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140019dc0
lea rdx, [0x14023dac0]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x58], rax
lea rcx, [rsp + 0x48]
call fcn.140186ce0
lea rdx, [0x1402404d0]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov edx, eax
lea rcx, [rbp - 0x20]
call fcn.14018ad80
nop
mov r8, rax
lea rdx, str.TcpConnection::read__WSARecv_failed_
lea rcx, [rbp - 0x60]
call fcn.14000f6b0
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140019dc0
lea rdx, [0x14023dac0]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3