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

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe8
mov r13, qword [0x14013cc10]
mov r14, qword [rcx]
mov rdi, rcx
lea rcx, [0x140096fa0]
mov rsi, rdx
mov r12, r8
mov rax, qword [r13]
mov qword [rsp + 0xd8], rax
xor eax, eax
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
call sym.__emutls_get_address
mov rax, qword [rax]
test rax, rax
je 0x1400208f0
mov rax, qword [rax + 8]
test rax, rax
je 0x1400208f0
mov rcx, qword [rax]
test rcx, rcx
je 0x140020d90
cmp byte [rcx], 0x41
jbe 0x1400208b2
test cl, 0xf
je 0x140020ec3
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x1400208e0
cmp byte [rbx], 0x41
jbe 0x1400208e0
mov edx, 1
test bl, 0xf
jne 0x1400208e0
mov qword [rax + rdx*8], 0
movzx eax, byte [rbx]
mov byte [rbx + 0x108], al
jmp 0x140020913
xor edx, edx
mov qword [rax + rdx*8], 0
call qword [sym.imp.msvcrt.dll__aligned_free]
mov edx, 0x10
mov ecx, 0x110
call qword [sym.imp.msvcrt.dll__aligned_malloc]
mov rbx, rax
test rax, rax
je 0x140020f7c
mov byte [rax + 0x108], 0x42
movdqu xmm0, xmmword [rdi + 0x18]
mov qword [rsp + 0x68], rbx
movhlps xmm2, xmm0
movq rbp, xmm2
test rbp, rbp
je 0x140020c88
lock add dword [rbp + 0xc], 1
pxor xmm1, xmm1
lea rdx, [sym._ZN5boost4asio6detail23win_iocp_socket_recv_opINS0_17mutable_buffers_1ENS0_3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip]
movzx eax, byte [rdi + 0x10]
lea r15, [rbx + 0x10]
mov qword [rbx + 0x28], rdx
mov qword [rbx + 0x10], 0
mov dword [rbx + 0x30], 0
mov byte [rbx + 0x34], al
movups xmmword [rbx], xmm1
movups xmmword [rbx + 0x18], xmm1
movups xmmword [rbx + 0x38], xmm0
lock add dword [rbp + 0xc], 1
movdqu xmm3, xmmword [r12]
movups xmmword [rbx + 0x48], xmm3
mov rax, qword [rsi + 0x30]
movdqu xmm4, xmmword [rsi]
movdqu xmm5, xmmword [rsi + 0x10]
movdqu xmm2, xmmword [rsi + 0x20]
mov qword [rbx + 0x88], rax
mov rax, qword [rsi + 0x48]
movdqu xmm3, xmmword [rsi + 0x38]
movups xmmword [rbx + 0x58], xmm4
mov qword [rbx + 0xa0], rax
mov rax, qword [rsi + 0x50]
movups xmmword [rbx + 0x68], xmm5
mov qword [rbx + 0xa8], rax
movups xmmword [rbx + 0x78], xmm2
movups xmmword [rbx + 0x90], xmm3
movdqu xmm4, xmmword [rsi + 0x58]
movdqu xmm5, xmmword [rsi + 0x68]
movups xmmword [rbx + 0xb0], xmm4
movups xmmword [rbx + 0xc0], xmm5
cmp qword [rdi + 0x88], 0
je 0x140020d80
mov rax, qword [rdi + 0x90]
call qword [rax]
mov rcx, rax
lea rdx, sym.imp.libstdc_6.dll_vtable_for_std::__cxx11::basic_stringstream_char__std::char_traits_char___std::allocator_char___
call sym.std::type_info::operator_std::type_info_const__const
test al, al
je 0x140020cc8
lea rax, str.p_a_
pxor xmm0, xmm0
mov qword [rbx + 0xf8], 0
mov qword [rbx + 0x100], rax
movups xmmword [rbx + 0xe8], xmm0
mov qword [rsp + 0x70], rbx
test rbp, rbp
je 0x140020a3c
lock sub dword [rbp + 0xc], 1
je 0x140020b88
mov rax, qword [r12 + 8]
mov rdx, qword [r12]
mov dword [rsp + 0x80], eax
mov qword [rsp + 0x88], rdx
mov qword [rsp + 0x90], rax
mov rdx, qword [r14 + 0x30]
test byte [rdi + 0x10], 0x10
je 0x140020a6f
test rax, rax
je 0x140020c20
lock add dword [rdx + 0x30], 1
mov rcx, qword [rdi + 8]
cmp rcx, 0xffffffffffffffff
je 0x140020ba0
lea rax, [rsp + 0x5c]
mov qword [rsp + 0x28], rbx
lea rdx, [rsp + 0x80]
mov r8d, 1
mov dword [rsp + 0x58], 0
lea r9, [rsp + 0x58]
mov dword [rsp + 0x5c], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x20], rax
call qword [sym.imp.WS2_32.dll_WSARecv]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x40
je 0x140020e50
cmp eax, 0x4d2
je 0x140020db8
cmp eax, 0x3e5
setne dl
mov rdi, qword [r14 + 0x30]
test esi, esi
je 0x140020dd0
test dl, dl
je 0x140020dd0
movd xmm1, dword [rsp + 0x58]
movd xmm0, eax
mov r9, rbx
xor edx, edx
lea rax, [0x140096780]
mov dword [rbx + 0x30], 1
mov r8d, 2
punpckldq xmm0, xmm1
mov qword [rbx], rax
movq qword [r15], xmm0
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x140020c5e
lea rsi, [rdi + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbx + 0x20], 0
mov rax, qword [rdi + 0x98]
test rax, rax
je 0x140020ef7
mov qword [rax + 0x20], rbx
mov qword [rdi + 0x98], rbx
mov eax, 1
xchg dword [rdi + 0x58], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140020c5e
mov rax, qword [rbp]
mov rcx, rbp
call qword [rax + 0x18]
jmp 0x140020a3c
mov rsi, qword [r14 + 0x30]
lea rax, [0x140096780]
mov r9, rbx
xor edx, edx
mov dword [rbx + 0x30], 1
mov r8d, 2
mov qword [rbx], rax
mov qword [r15], 0x2719
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x140020c5e
lea rdi, [rsi + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbx + 0x20], 0
mov rax, qword [rsi + 0x98]
test rax, rax
je 0x140020ee2
mov qword [rax + 0x20], rbx
mov qword [rsi + 0x98], rbx
mov eax, 1
xchg dword [rsi + 0x58], eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140020c5e
lock add dword [rdx + 0x30], 1
lea rax, [0x140096780]
mov r8d, 2
xor edx, edx
mov rsi, qword [r14 + 0x30]
mov r9, rbx
mov dword [rbx + 0x30], 1
mov qword [rbx], rax
mov qword [r15], 0
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
je 0x140020e60
mov rax, qword [rsp + 0xd8]
sub rax, qword [r13]
jne 0x140020f43
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, byte [rdi + 0x10]
pxor xmm1, xmm1
lea r15, [rbx + 0x10]
movups xmmword [rbx + 0x38], xmm0
lea rdx, [sym._ZN5boost4asio6detail23win_iocp_socket_recv_opINS0_17mutable_buffers_1ENS0_3ssl6detail5io_opINS0_19basic_stream_socketINS0_2ip]
mov qword [rbx + 0x10], 0
mov qword [rbx + 0x28], rdx
mov dword [rbx + 0x30], 0
mov byte [rbx + 0x34], al
movups xmmword [rbx], xmm1
movups xmmword [rbx + 0x18], xmm1
jmp 0x14002096c
cmp qword [rdi + 0x88], 0
je 0x140020fa2
mov rax, qword [rdi + 0x98]
lea rcx, [rdi + 0x68]
lea rsi, [rsp + 0xa0]
mov r9, qword [rax + 0x58]
mov rax, qword [rdi + 0x80]
mov qword [rsp + 0x48], r9
call qword [rax + 0x18]
mov r9, qword [rsp + 0x48]
lea r8, [rsp + 0x80]
mov rcx, rsi
mov rdx, rax
call r9
cmp qword [rsp + 0xc0], 0
je 0x140020ea8
mov rdx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc8], 0
lea rcx, [rbx + 0xd0]
mov qword [rsp + 0xb8], 0
mov qword [rbx + 0xf8], rdx
mov rdx, rsi
mov qword [rbx + 0xe8], rax
call qword [rax + 0x10]
mov rax, qword [rsp + 0xd0]
mov qword [rbx + 0x100], rax
jmp 0x140020a27
mov rcx, qword [sym.imp.libstdc_6.dll_typeinfo_for_void]
jmp 0x1400209ef
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x1400208f0
cmp byte [rcx], 0x41
jbe 0x140020dab
test cl, 0xf
je 0x140020f48
mov edx, 1
jmp 0x1400208e2
mov edx, 1
mov eax, 0x274d
jmp 0x140020ae7
xor eax, eax
mov edx, 1
lock cmpxchg dword [rbx + 0x30], edx
cmp eax, 1
jne 0x140020c5e
mov rcx, qword [rdi + 0x28]
mov r9, rbx
mov r8d, 2
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x140020c5e
lea rsi, [rdi + 0x60]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbx + 0x20], 0
mov rax, qword [rdi + 0x98]
test rax, rax
je 0x140020f0c
mov qword [rax + 0x20], rbx
mov qword [rdi + 0x98], rbx
mov eax, 1
xchg dword [rdi + 0x58], eax
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140020c5e
mov edx, 1
mov eax, 0x2746
jmp 0x140020ae7
lea rdi, [rsi + 0x60]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov qword [rbx + 0x20], 0
mov rax, qword [rsi + 0x98]
test rax, rax
je 0x140020ed0
mov qword [rax + 0x20], rbx
mov qword [rsi + 0x98], rbx
mov eax, 1
xchg dword [rsi + 0x58], eax
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140020c5e
mov qword [rbx + 0xf8], 0
pxor xmm0, xmm0
movups xmmword [rbx + 0xe8], xmm0
jmp 0x140020d64
mov rbx, rcx
xor edx, edx
jmp 0x1400208ca
movq xmm0, rbx
punpcklqdq xmm0, xmm0
movups xmmword [rsi + 0x90], xmm0
jmp 0x140020e8c
movq xmm0, rbx
punpcklqdq xmm0, xmm0
movups xmmword [rsi + 0x90], xmm0
jmp 0x140020c09
movq xmm0, rbx
punpcklqdq xmm0, xmm0
movups xmmword [rdi + 0x90], xmm0
jmp 0x140020b6c
movq xmm0, rbx
punpcklqdq xmm0, xmm0
movups xmmword [rdi + 0x90], xmm0
jmp 0x140020e32
call dbg.__stack_chk_fail
mov rbx, rcx
mov edx, 1
jmp 0x1400208ca
mov rax, qword [sym.imp.libstdc_6.dll_vtable_for_std::bad_alloc]
add rax, 0x10
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xd8]
sub rax, qword [r13]
jne 0x140020f43
call method.void_boost::throw_exception_std.bad_alloc__std::bad_alloc_const___clone_.isra.0_
lea rbx, method.boost::asio::execution::bad_executor.bad_executor__
mov qword [rsp + 0x80], rbx
mov rax, qword [rsp + 0xd8]
sub rax, qword [r13]
jne 0x140020f43
call method.void_boost::throw_exception_boost::asio::execution.bad_executor__boost::asio::execution::bad_executor_const___clone_.isra.0_
endbr64
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x80], rbx
call sym.std::exception::exception__
call sym.std::terminate__
nop
nop
nop word cs:[rax + rax]
nop