Function at 0x140033aa0
Capabilities:
Terminate thread

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x78
lea rbp, [rsp + 0x70]
movaps xmmword [rbp - 0x10], xmm6
mov qword [rbp - 0x18], 0xfffffffffffffffe
mov edi, edx
mov rsi, rcx
lea rax, vtable.boost::asio::detail::win_iocp_io_context.0
mov qword [rcx], rax
cmp qword [rcx + 0xa8], 0
je 0x140033c56
mov eax, 1
mov ecx, 1
xchg dword [rsi + 0x34], ecx
test ecx, ecx
jne 0x140033bb8
xchg dword [rsi + 0x38], eax
test eax, eax
jne 0x140033bb8
mov rcx, qword [rsi + 0x28]
xor edx, edx
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x140033bb8
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov qword [rbp - 0x30], 0
mov rcx, qword [0x1400b3478]
shr rcx, 1
movabs rdx, 0x595588bd12bf6fe8
cmp rcx, rdx
je 0x140033b62
mov rcx, qword [0x1400b3470]
mov r8, qword [rcx + 0x30]
lea rcx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp r8, rcx
je 0x140033b62
lea rcx, [0x1400b3470]
mov edx, eax
mov ebx, eax
call r8
mov ecx, eax
mov eax, ebx
jmp 0x140033b67
test eax, eax
setne cl
movzx ecx, cl
or rcx, 2
mov qword [rbp - 0x20], rcx
mov dword [rbp - 0x30], eax
lea rax, [0x1400b3470]
mov qword [rbp - 0x28], rax
lea rax, str.win_iocp_io_context.ipp
mov qword [rbp - 0x48], rax
lea rax, str.void___cdecl_boost::asio::detail::win_iocp_io_context::stop_void_
mov qword [rbp - 0x40], rax
movabs rax, 0x90000011f
mov qword [rbp - 0x38], rax
lea rdx, str.pqcs
lea rcx, [rbp - 0x30]
lea r8, [rbp - 0x48]
call fcn.14002dab0
mov rbx, qword [rsi + 0xa8]
movdqu xmm0, xmmword [rbx + 8]
pshufd xmm0, xmm0, 0x4e
movdqa xmmword [rbp - 0x30], xmm0
lea rdx, [rbp - 0x30]
mov ecx, 2
xor r8d, r8d
mov r9d, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mfence
mov eax, dword [0x1400bb700]
mov rdx, qword [rbx + 8]
test eax, eax
je 0x140033c0e
mov rcx, rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x140033c2d
lea rcx, [method.boost::asio::detail::deadline_timer_service_struct_boost::asio::time_traits_class_boost::posix_time::ptime__.virtual_8]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rbx, qword [rsi + 0xa8]
test rbx, rbx
je 0x140033c4b
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140082698
mov qword [rsi + 0xa8], 0
mov rdx, qword [rsi + 0x90]
test rdx, rdx
je 0x140033cb9
xorps xmm6, xmm6
lea rbx, [rbp - 0x30]
nop dword [rax]
mov rax, qword [rdx + 0x20]
mov qword [rsi + 0x90], rax
test rax, rax
jne 0x140033c8b
mov qword [rsi + 0x98], 0
mov qword [rdx + 0x20], 0
mov rax, qword [rdx + 0x28]
movaps xmmword [rbp - 0x30], xmm6
mov qword [rbp - 0x20], 0
xor ecx, ecx
mov r8, rbx
xor r9d, r9d
call rax
mov rdx, qword [rsi + 0x90]
test rdx, rdx
jne 0x140033c70
lea rcx, [rsi + 0x60]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov rcx, qword [rsi + 0x50]
test rcx, rcx
je 0x140033cd2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsi + 0x48]
test rbx, rbx
je 0x140033ced
mov rcx, qword [rbx + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.140082698
mov rcx, qword [rsi + 0x28]
test rcx, rcx
je 0x140033cfc
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140033d08
mov rcx, rsi
call fcn.140082698
mov rax, rsi
movaps xmm6, xmmword [rbp - 0x10]
add rsp, 0x78
pop rbx
pop rdi
pop rsi
pop rbp
ret