Function at 0x761e70
Capabilities:
Terminate thread

Disassembly:
push r14
push r13
push r12
push rbx
sub rsp, 0x38
lea rax, method.boost::asio::ip::resolver_service_boost::asio::ip::tcp_.resolver_service__
mov r13, qword [rcx + 0x68]
mov qword [rcx], rax
mov r12, rcx
test r13, r13
je 0x761eb2
mov rax, qword [r13]
mov ecx, 1
lock sub dword [rax + 0x30], 1
je 0x762100
mov edx, 8
mov rcx, r13
call sym.operator_delete_void__unsigned_long_long_
mov qword [r12 + 0x68], 0
mov rax, qword [r12 + 0x58]
test rax, rax
je 0x761ff9
mov edx, 1
mov rax, qword [rax + 0x10]
mov ecx, edx
xchg dword [rax + 0x34], ecx
test ecx, ecx
je 0x762160
mov rbx, qword [r12 + 0x70]
test rbx, rbx
je 0x761f65
mov rax, qword [rbx + 8]
lea rdx, [rsp + 0x20]
xor r8d, r8d
mov ecx, 2
mov r9d, 0xffffffff
mov qword [rsp + 0x20], rax
mov rax, qword [rbx]
mov qword [rsp + 0x28], rax
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
mov rcx, qword [rbx + 8]
mov r14, qword [sym.imp.KERNEL32.dll_CloseHandle]
call r14
xor eax, eax
lock xadd dword [0x0086d5a0], eax
test eax, eax
je 0x762230
mov rcx, qword [rbx]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov r13, qword [r12 + 0x70]
test r13, r13
je 0x761f5c
mov rcx, qword [r13]
call r14
mov edx, 0x10
mov rcx, r13
call sym.operator_delete_void__unsigned_long_long_
mov qword [r12 + 0x70], 0
mov r14, qword [r12 + 0x58]
test r14, r14
je 0x761ff0
mov r13, qword [r14 + 8]
test r13, r13
je 0x761fd5
mov rbx, qword [r13 + 0x38]
test rbx, rbx
je 0x761fbe
nop dword [rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x761f88
mov rbx, qword [r13 + 0x38]
test rbx, rbx
je 0x761fbe
nop dword [rax + rax]
mov rcx, rbx
mov rbx, qword [rbx + 0x20]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [r13 + 0x38], rbx
test rbx, rbx
jne 0x761fa8
lea rcx, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov edx, 0x40
mov rcx, r13
call sym.operator_delete_void__unsigned_long_long_
lock sub dword [0x0086d590], 1
je 0x762260
mov edx, 0x18
mov rcx, r14
call sym.operator_delete_void__unsigned_long_long_
mov qword [r12 + 0x58], 0
mov r13, qword [r12 + 0x70]
test r13, r13
je 0x76201a
mov rcx, qword [r13]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0x10
mov rcx, r13
call sym.operator_delete_void__unsigned_long_long_
mov r13, qword [r12 + 0x68]
test r13, r13
je 0x762045
mov rax, qword [r13]
mov ecx, 1
lock sub dword [rax + 0x30], 1
je 0x7621b8
mov edx, 8
mov rcx, r13
call sym.operator_delete_void__unsigned_long_long_
mov r14, qword [r12 + 0x58]
mov rbx, qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
test r14, r14
je 0x7620db
mov r13, qword [r14 + 8]
test r13, r13
je 0x7620c0
mov rbx, qword [r13 + 0x38]
test rbx, rbx
je 0x7620a6
nop dword [rax]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov rbx, qword [rbx + 0x20]
test rbx, rbx
jne 0x762070
mov rbx, qword [r13 + 0x38]
test rbx, rbx
je 0x7620a6
nop dword [rax + rax]
mov rcx, rbx
mov rbx, qword [rbx + 0x20]
mov rax, qword [rcx]
call qword [rax + 8]
mov qword [r13 + 0x38], rbx
test rbx, rbx
jne 0x762090
lea rcx, [r13 + 8]
mov rbx, qword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
call rbx
mov edx, 0x40
mov rcx, r13
call sym.operator_delete_void__unsigned_long_long_
lock sub dword [0x0086d590], 1
je 0x762220
mov edx, 0x18
mov rcx, r14
call sym.operator_delete_void__unsigned_long_long_
lea rcx, [r12 + 0x30]
call rbx
mov edx, 0x78
mov rcx, r12
call sym.operator_delete_void__unsigned_long_long_
nop
add rsp, 0x38
pop rbx
pop r12
pop r13
pop r14
ret
mov edx, ecx
xchg dword [rax + 0x34], edx
test edx, edx
jne 0x761ea5
xchg dword [rax + 0x38], ecx
test ecx, ecx
jne 0x761ea5
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x761ea5
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call method.boost::system.system_category__
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], rax
test ebx, ebx
je 0x761ea5
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 0x761edf
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x761edf
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call method.boost::system.system_category__
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], rax
test ebx, ebx
je 0x761edf
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 0x762038
xchg dword [rax + 0x38], ecx
test ecx, ecx
jne 0x762038
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x762038
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
call method.boost::system.system_category__
mov dword [rsp + 0x20], ebx
mov qword [rsp + 0x28], rax
test ebx, ebx
je 0x762038
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 0x7620ce
mov rdx, qword [rbx]
xor r8d, r8d
lea rcx, [method.boost::asio::detail.apc_function_unsigned_long_long_]
call qword [sym.imp.KERNEL32.dll_QueueUserAPC]
mov rcx, qword [rbx]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x761f3e
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x761fe3