Function at 0x1400597f0
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 [0x1400a0ca8]
xor rax, rsp
mov qword [rbp], rax
mov rsi, r8
mov rdi, rdx
mov rbx, rcx
mov rcx, qword [rcx]
call fcn.140058000
test al, al
jne 0x1400599d3
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 0x140059882
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e5
jne 0x1400599fe
mov rcx, qword [rbx]
call fcn.140057d60
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.140057d60
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.140059a40
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x1400598e0
mov rax, qword [rcx]
lea rdx, [rbp - 0x60]
cmp rcx, rdx
setne dl
call qword [rax + 0x20]
mov rcx, qword [rbx]
call fcn.140057a50
mov rcx, qword [rbx]
call fcn.140057d60
lea rdi, [rax + 0x70]
mov rcx, qword [rdi + 0x38]
test rcx, rcx
je 0x14005990d
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 0x140059946
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x3e3
jne 0x140059994
jmp 0x140059969
mov eax, dword [rsp + 0x44]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14006b0f0
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.140004c30
lea rdx, [0x140099c70]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov edx, eax
lea rcx, [rbp - 0x60]
call fcn.14005a2e0
nop
mov r8, rax
lea rdx, str.TcpConnection::read__WSAGetOverlappedResult_failed_
lea rcx, [rbp - 0x20]
call fcn.140012570
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140004d80
lea rdx, [0x140099cd0]
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.140004c30
lea rdx, [0x140099c70]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
mov edx, eax
lea rcx, [rbp - 0x20]
call fcn.14005a2e0
nop
mov r8, rax
lea rdx, str.TcpConnection::read__WSARecv_failed_
lea rcx, [rbp - 0x60]
call fcn.140012570
nop
mov rdx, rax
lea rcx, [rsp + 0x48]
call fcn.140004d80
lea rdx, [0x140099cd0]
lea rcx, [rsp + 0x48]
call sub.VCRUNTIME140.dll__CxxThrowException
int3