Function at 0x1400303e0
Capabilities:
Terminate thread

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
movaps xmmword [rbp + 0x10], xmm6
mov qword [rbp + 8], 0xfffffffffffffffe
mov rsi, rcx
mov eax, 1
xchg dword [rcx + 0x3c], eax
cmp qword [rcx + 0x48], 0
je 0x140030449
mov qword [rbp - 0x30], 1
mov rcx, qword [rsi + 0x50]
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x20], 0
lea rdx, [rbp - 0x30]
mov r8d, 1
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_SetWaitableTimer]
cmp qword [rsi + 0xa8], 0
je 0x1400305d6
mov eax, 1
mov ecx, 1
xchg dword [rsi + 0x34], ecx
test ecx, ecx
jne 0x140030534
xchg dword [rsi + 0x38], eax
test eax, eax
jne 0x140030534
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 0x140030534
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov qword [rbp - 0x30], 0
mov rax, qword [0x1400ab638]
shr rax, 1
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
je 0x1400304de
mov rax, qword [0x1400ab630]
mov rax, qword [rax + 0x30]
lea rcx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp rax, rcx
je 0x1400304de
lea rcx, [0x1400ab630]
mov edx, edi
call rax
jmp 0x1400304e3
test edi, edi
setne al
movzx eax, al
or rax, 2
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x30], edi
lea rax, [0x1400ab630]
mov qword [rbp - 0x28], rax
lea rax, str.win_iocp_io_context.ipp
mov qword [rbp - 0x10], rax
lea rax, str.void___cdecl_boost::asio::detail::win_iocp_io_context::stop_void_
mov qword [rbp - 8], rax
movabs rax, 0x90000011f
mov qword [rbp], rax
lea rdx, str.pqcs
lea rcx, [rbp - 0x30]
lea r8, [rbp - 0x10]
call fcn.140029fd0
mov rdi, qword [rsi + 0xa8]
movdqu xmm0, xmmword [rdi + 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 [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mfence
mov eax, dword [0x1400b2db8]
mov rdx, qword [rdi + 8]
test eax, eax
je 0x14003058a
mov rcx, rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x1400305a9
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 [rdi + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rsi + 0xa8]
test rdi, rdi
je 0x1400305c7
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.14007cae8
mov qword [rsi + 0xa8], 0
lock dec dword [rsi + 0x30]
mfence
mov eax, dword [rsi + 0x30]
test eax, eax
jle 0x140030776
lea rdi, [rsi + 0x90]
xorps xmm6, xmm6
lea r14, [rbp - 0x38]
mov rbx, qword [sym.imp.KERNEL32.dll_GetQueuedCompletionStatus]
lea r15, [rbp - 0x30]
lea r12, [rbp - 0x10]
jmp 0x14003061e
mfence
mov eax, dword [rsi + 0x30]
test eax, eax
jle 0x140030776
movaps xmmword [rbp - 0x10], xmm6
mov r13, qword [rsi + 0x88]
test r13, r13
je 0x140030646
nop
mov rax, qword [r13]
mov rcx, r13
mov rdx, r12
call qword [rax + 0x28]
mov r13, qword [r13 + 8]
test r13, r13
jne 0x140030630
mov rax, qword [rdi]
test rax, rax
je 0x140030672
mov rcx, qword [rbp - 8]
test rcx, rcx
je 0x140030660
mov qword [rcx + 0x20], rax
jmp 0x140030664
mov qword [rbp - 0x10], rax
mov rax, qword [rsi + 0x98]
mov qword [rbp - 8], rax
movups xmmword [rdi], xmm6
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x1400306d0
nop dword [rax + rax]
mov rax, qword [rdx + 0x20]
mov qword [rbp - 0x10], rax
test rax, rax
jne 0x140030695
mov qword [rbp - 8], 0
mov qword [rdx + 0x20], 0
lock dec dword [rsi + 0x30]
mov rax, qword [rdx + 0x28]
movaps xmmword [rbp - 0x30], xmm6
mov qword [rbp - 0x20], 0
xor ecx, ecx
mov r8, r15
xor r9d, r9d
call rax
mov rdx, qword [rbp - 0x10]
test rdx, rdx
jne 0x140030680
jmp 0x140030610
mov dword [rbp - 0x3c], 0
mov qword [rbp - 0x48], 0
mov qword [rbp - 0x38], 0
mov eax, dword [rsi + 0x40]
mov rcx, qword [rsi + 0x28]
mov dword [rsp + 0x20], eax
lea rdx, [rbp - 0x3c]
lea r8, [rbp - 0x48]
mov r9, r14
call rbx
cmp qword [rbp - 0x38], 0
je 0x140030752
lock dec dword [rsi + 0x30]
mov rdx, qword [rbp - 0x38]
mov rax, qword [rdx + 0x28]
movaps xmmword [rbp - 0x30], xmm6
mov qword [rbp - 0x20], 0
xor ecx, ecx
mov r8, r15
xor r9d, r9d
call rax
jmp 0x140030752
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, r15
xor r9d, r9d
call rax
mov rdx, qword [rbp - 0x10]
test rdx, rdx
je 0x140030610
mov rax, qword [rdx + 0x20]
mov qword [rbp - 0x10], rax
test rax, rax
jne 0x140030730
mov qword [rbp - 8], 0
jmp 0x140030730
mov rdi, qword [rsi + 0x48]
test rdi, rdi
je 0x140030814
movdqu xmm0, xmmword [rdi + 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 [rdi + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mfence
mov eax, dword [0x1400b2db8]
mov rdx, qword [rdi + 8]
test eax, eax
je 0x1400307d2
mov rcx, rdx
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
jmp 0x1400307f1
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 [rdi + 8]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rdi, qword [rsi + 0x48]
test rdi, rdi
je 0x14003080c
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.14007cae8
mov qword [rsi + 0x48], 0
movaps xmm6, xmmword [rbp + 0x10]
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret