Function at 0x140230560
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push r15
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0xe8
mov r15, qword [0x140485900]
mov r14, qword [rsp + 0x150]
mov r13, rcx
lea rcx, [0x14037b4e0]
mov r12, rdx
mov rbp, r8
mov rax, qword [r15]
mov qword [rsp + 0xd8], rax
xor eax, eax
mov qword [rsp + 0x60], r9
mov rsi, r9
mov qword [rsp + 0x68], 0
mov qword [rsp + 0x70], 0
call sym.__emutls_get_address
mov rax, qword [rax]
test rax, rax
je 0x140230628
mov rax, qword [rax + 8]
test rax, rax
je 0x140230628
mov rcx, qword [rax]
test rcx, rcx
je 0x140230ac0
cmp byte [rcx], 0x4b
jbe 0x1402305e9
test cl, 0xf
je 0x140230bd3
mov rbx, qword [rax + 8]
test rbx, rbx
je 0x140230618
cmp byte [rbx], 0x4b
jbe 0x140230618
mov edx, 1
test bl, 0xf
jne 0x140230618
mov qword [rax + rdx*8], 0
movzx eax, byte [rbx]
mov byte [rbx + 0x130], al
jmp 0x14023064b
xor edx, edx
mov qword [rax + rdx*8], 0
call qword [sym.imp.msvcrt.dll__aligned_free]
mov edx, 0x10
mov ecx, 0x140
call qword [sym.imp.msvcrt.dll__aligned_malloc]
mov rbx, rax
test rax, rax
je 0x140230c85
mov byte [rax + 0x130], 0x4c
movdqu xmm0, xmmword [r12 + 0x10]
mov qword [rsp + 0x68], rbx
movhlps xmm2, xmm0
movq rdi, xmm2
test rdi, rdi
je 0x1402309c8
lock add dword [rdi + 0xc], 1
pxor xmm1, xmm1
lea rax, [sym._ZN5boost4asio6detail23win_iocp_socket_send_opINS0_15const_buffers_1ENS1_8write_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_1]
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x10], 0
mov dword [rbx + 0x30], 0
movups xmmword [rbx], xmm1
movups xmmword [rbx + 0x18], xmm1
movups xmmword [rbx + 0x38], xmm0
lock add dword [rdi + 0xc], 1
movdqu xmm3, xmmword [rbp]
movups xmmword [rbx + 0x48], xmm3
mov rax, qword [rsi]
movdqu xmm4, xmmword [rsi + 8]
mov qword [rbx + 0x58], rax
mov rax, qword [rsi + 0x18]
movups xmmword [rbx + 0x60], xmm4
mov qword [rbx + 0x70], rax
mov eax, dword [rsi + 0x20]
mov dword [rbx + 0x78], eax
mov rax, qword [rsi + 0x58]
movdqu xmm5, xmmword [rsi + 0x28]
movdqu xmm2, xmmword [rsi + 0x38]
mov qword [rbx + 0xb0], rax
mov rax, qword [rsi + 0x70]
movdqu xmm3, xmmword [rsi + 0x48]
movdqu xmm4, xmmword [rsi + 0x60]
movups xmmword [rbx + 0x80], xmm5
mov qword [rbx + 0xc8], rax
mov rax, qword [rsi + 0x78]
movups xmmword [rbx + 0x90], xmm2
mov qword [rbx + 0xd0], rax
movups xmmword [rbx + 0xa0], xmm3
movups xmmword [rbx + 0xb8], xmm4
movdqu xmm5, xmmword [rsi + 0x80]
movdqu xmm1, xmmword [rsi + 0x90]
movups xmmword [rbx + 0xd8], xmm5
movups xmmword [rbx + 0xe8], xmm1
cmp qword [r14 + 0x20], 0
je 0x140230ab0
mov rax, qword [r14 + 0x28]
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 0x140230a00
lea rax, method.void_boost::asio::execution::detail::any_executor_base::query_fn_void__boost::asio::execution::context_as_t_boost::asio.execution_context____void__void_const__void_const_
pxor xmm0, xmm0
mov qword [rbx + 0x120], 0
mov qword [rbx + 0x128], rax
movups xmmword [rbx + 0x110], xmm0
mov qword [rsp + 0x70], rbx
test rdi, rdi
je 0x140230792
lock sub dword [rdi + 0xc], 1
je 0x1402308d0
mov rax, qword [rbp + 8]
mov rdx, qword [rbp]
mov dword [rsp + 0x80], eax
mov qword [rsp + 0x88], rdx
mov rdx, qword [r13 + 8]
mov qword [rsp + 0x90], rax
test byte [r12 + 8], 0x10
je 0x1402307c6
test rax, rax
je 0x140230960
lock add dword [rdx + 0x30], 1
mov rcx, qword [r12]
cmp rcx, 0xffffffffffffffff
je 0x1402308e0
mov qword [rsp + 0x28], rbx
lea rdx, [rsp + 0x80]
lea r9, [rsp + 0x5c]
mov r8d, 1
mov dword [rsp + 0x5c], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x20], 0
call qword [sym.imp.WS2_32.dll_WSASend]
mov esi, eax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x4d2
je 0x140230b60
cmp eax, 0x3e5
setne dl
mov rdi, qword [r13 + 8]
test esi, esi
je 0x140230ae8
test dl, dl
je 0x140230ae8
movd xmm2, dword [rsp + 0x5c]
movd xmm0, eax
mov r9, rbx
xor edx, edx
lea rax, [0x14037a7e0]
mov dword [rbx + 0x30], 1
mov r8d, 2
punpckldq xmm0, xmm2
mov qword [rbx], rax
movq qword [rbx + 0x10], xmm0
mov rcx, qword [rdi + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x14023099f
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 0x140230c07
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 0x14023099f
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + 0x18]
jmp 0x140230792
mov rsi, qword [r13 + 8]
lea rax, [0x14037a7e0]
mov r9, rbx
xor edx, edx
mov dword [rbx + 0x30], 1
mov r8d, 2
mov qword [rbx], rax
mov qword [rbx + 0x10], 0x2719
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x14023099f
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 0x140230bf2
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 0x14023099f
lock add dword [rdx + 0x30], 1
lea rax, [0x14037a7e0]
mov r8d, 2
xor edx, edx
mov rsi, qword [r13 + 8]
mov r9, rbx
mov dword [rbx + 0x30], 1
mov qword [rbx], rax
mov qword [rbx + 0x10], 0
mov rcx, qword [rsi + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
je 0x140230b70
mov rax, qword [rsp + 0xd8]
sub rax, qword [r15]
jne 0x140230c52
add rsp, 0xe8
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
pop r15
ret
pxor xmm1, xmm1
lea rax, [sym._ZN5boost4asio6detail23win_iocp_socket_send_opINS0_15const_buffers_1ENS1_8write_opINS0_19basic_stream_socketINS0_2ip3tcpENS0_1]
movups xmmword [rbx + 0x38], xmm0
mov qword [rbx + 0x28], rax
mov qword [rbx + 0x10], 0
mov dword [rbx + 0x30], 0
movups xmmword [rbx], xmm1
movups xmmword [rbx + 0x18], xmm1
jmp 0x14023069b
cmp qword [r14 + 0x20], 0
je 0x140230c64
mov rax, qword [r14 + 0x30]
mov rcx, r14
lea rsi, [rsp + 0xa0]
mov r9, qword [rax + 0x58]
mov rax, qword [r14 + 0x18]
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 0x140230bb8
mov rdx, qword [rsp + 0xc8]
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0xc8], 0
lea rcx, [rbx + 0xf8]
mov qword [rsp + 0xb8], 0
mov qword [rbx + 0x120], rdx
mov rdx, rsi
mov qword [rbx + 0x110], rax
call qword [rax + 0x10]
mov rax, qword [rsp + 0xd0]
mov qword [rbx + 0x128], rax
jmp 0x14023077d
mov rcx, qword [sym.imp.libstdc_6.dll_typeinfo_for_void]
jmp 0x140230745
mov rcx, qword [rax + 8]
test rcx, rcx
je 0x140230628
cmp byte [rcx], 0x4b
jbe 0x140230adb
test cl, 0xf
je 0x140230c57
mov edx, 1
jmp 0x14023061a
xor eax, eax
mov edx, 1
lock cmpxchg dword [rbx + 0x30], edx
cmp eax, 1
jne 0x14023099f
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 0x14023099f
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 0x140230c1c
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 0x14023099f
mov edx, 1
mov eax, 0x274d
jmp 0x14023082b
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 0x140230be0
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 0x14023099f
mov qword [rbx + 0x120], 0
pxor xmm0, xmm0
movups xmmword [rbx + 0x110], xmm0
jmp 0x140230a92
mov rbx, rcx
xor edx, edx
jmp 0x140230601
movq xmm0, rbx
punpcklqdq xmm0, xmm0
movups xmmword [rsi + 0x90], xmm0
jmp 0x140230b9c
movq xmm0, rbx
punpcklqdq xmm0, xmm0
movups xmmword [rsi + 0x90], xmm0
jmp 0x14023094a
movq xmm0, rbx
punpcklqdq xmm0, xmm0
movups xmmword [rdi + 0x90], xmm0
jmp 0x1402308b0
movq xmm0, rbx
punpcklqdq xmm0, xmm0
movups xmmword [rdi + 0x90], xmm0
jmp 0x140230b4a
call dbg.__stack_chk_fail
mov rbx, rcx
mov edx, 1
jmp 0x140230601
lea rbx, method.boost::asio::execution::bad_executor.bad_executor__
mov qword [rsp + 0x80], rbx
mov rax, qword [rsp + 0xd8]
sub rax, qword [r15]
jne 0x140230c52
call sym.void_boost::throw_exception_boost::asio::execution::bad_executor__boost::asio::execution::bad_executor_const___clone_isra0_
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 [r15]
jne 0x140230c52
call sym.void_boost::throw_exception_std::bad_alloc__std::bad_alloc_const___clone_isra0_
endbr64
lea rcx, [rsp + 0x60]
mov rbx, rax
call fcn.140370ade
mov rax, qword [rsp + 0xd8]
sub rax, qword [r15]
jne 0x140230c52
mov rcx, rbx
call sym._Unwind_Resume
endbr64
lea rcx, [rsp + 0x80]
mov qword [rsp + 0x80], rbx
call sym.std::exception::exception__
call sym.std::terminate__
nop
nop