Function at 0x762270
Capabilities:
Terminate thread

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x38
lea rax, method.boost::asio::ip::resolver_service_boost::asio::ip::tcp_.resolver_service__
mov r12, qword [rcx + 0x68]
mov qword [rcx], rax
mov rbx, rcx
test r12, r12
je 0x7622b1
mov rax, qword [r12]
mov ecx, 1
lock sub dword [rax + 0x30], 1
je 0x7624f0
mov edx, 8
mov rcx, r12
call sym.operator_delete_void__unsigned_long_long_
mov rax, qword [rbx + 0x58]
mov qword [rbx + 0x68], 0
test rax, rax
je 0x7623f2
mov edx, 1
mov rax, qword [rax + 0x10]
mov ecx, edx
xchg dword [rax + 0x34], ecx
test ecx, ecx
je 0x762550
mov rsi, qword [rbx + 0x70]
test rsi, rsi
je 0x76235f
mov rax, qword [rsi + 8]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov ecx, 2
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rsi + 8]
mov r13, qword [sym.imp.KERNEL32.dll_CloseHandle]
call r13
xor eax, eax
lock xadd dword [0x0086d5a0], eax
test eax, eax
je 0x762620
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov r12, qword [rbx + 0x70]
test r12, r12
je 0x762357
mov rcx, qword [r12]
call r13
mov edx, 0x10
mov rcx, r12
call sym.operator_delete_void__unsigned_long_long_
mov qword [rbx + 0x70], 0
mov r13, qword [rbx + 0x58]
test r13, r13
je 0x7623ea
mov r12, qword [r13 + 8]
test r12, r12
je 0x7623cf
mov rsi, qword [r12 + 0x38]
test rsi, rsi
je 0x7623b7
nop
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov rsi, qword [rsi + 0x20]
test rsi, rsi
jne 0x762380
mov rsi, qword [r12 + 0x38]
test rsi, rsi
je 0x7623b7
nop dword [rax]
mov rcx, rsi
mov rsi, qword [rsi + 0x20]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [r12 + 0x38], rsi
test rsi, rsi
jne 0x7623a0
lea rcx, [r12 + 8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edx, 0x40
mov rcx, r12
call sym.operator_delete_void__unsigned_long_long_
lock sub dword [0x0086d590], 1
je 0x762650
mov edx, 0x18
mov rcx, r13
call sym.operator_delete_void__unsigned_long_long_
mov qword [rbx + 0x58], 0
mov r12, qword [rbx + 0x70]
test r12, r12
je 0x762412
mov rcx, qword [r12]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x10
mov rcx, r12
call sym.operator_delete_void__unsigned_long_long_
mov r12, qword [rbx + 0x68]
test r12, r12
je 0x76243c
mov rax, qword [r12]
mov ecx, 1
lock sub dword [rax + 0x30], 1
je 0x7625a8
mov edx, 8
mov rcx, r12
call sym.operator_delete_void__unsigned_long_long_
mov r13, qword [rbx + 0x58]
mov rsi, qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test r13, r13
je 0x7624d5
mov r12, qword [r13 + 8]
test r12, r12
je 0x7624ba
mov rsi, qword [r12 + 0x38]
test rsi, rsi
je 0x76249f
nop dword [rax + rax]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov rsi, qword [rsi + 0x20]
test rsi, rsi
jne 0x762468
mov rsi, qword [r12 + 0x38]
test rsi, rsi
je 0x76249f
nop dword [rax]
mov rcx, rsi
mov rsi, qword [rsi + 0x20]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [r12 + 0x38], rsi
test rsi, rsi
jne 0x762488
lea rcx, [r12 + 8]
mov rsi, qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call rsi
mov edx, 0x40
mov rcx, r12
call sym.operator_delete_void__unsigned_long_long_
lock sub dword [0x0086d590], 1
je 0x762610
mov edx, 0x18
mov rcx, r13
call sym.operator_delete_void__unsigned_long_long_
lea rcx, [rbx + 0x30]
call rsi
nop
add rsp, 0x38
pop rbx
pop rsi
pop r12
pop r13
ret
mov edx, ecx
xchg dword [rax + 0x34], edx
test edx, edx
jne 0x7622a4
xchg dword [rax + 0x38], ecx
test ecx, ecx
jne 0x7622a4
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x7622a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call method.boost::system.system_category__
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x28], rax
test esi, esi
je 0x7622a4
lea rcx, [rsp + 0x20]
lea rdx, str.pqcs
call method.boost::asio::detail.do_throw_error_boost::system::error_code_const__char_const_
nop
xchg dword [rax + 0x38], edx
test edx, edx
jne 0x7622dc
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x7622dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call method.boost::system.system_category__
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x28], rax
test esi, esi
je 0x7622dc
lea rcx, [rsp + 0x20]
lea rdx, str.pqcs
call method.boost::asio::detail.do_throw_error_boost::system::error_code_const__char_const_
nop word [rax + rax]
mov edx, ecx
xchg dword [rax + 0x34], edx
test edx, edx
jne 0x76242f
xchg dword [rax + 0x38], ecx
test ecx, ecx
jne 0x76242f
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x76242f
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call method.boost::system.system_category__
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x28], rax
test esi, esi
je 0x76242f
lea rcx, [rsp + 0x20]
lea rdx, str.pqcs
call method.boost::asio::detail.do_throw_error_boost::system::error_code_const__char_const_
nop word [rax + rax]
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x7624c8
mov rdx, qword [rsi]
xor r8d, r8d
lea rcx, [method.boost::asio::detail.apc_function_unsigned_long_long_]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rsi]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x76233a
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x7623dd