Function at 0x75dca0
Capabilities:
Terminate thread

Disassembly:
push r13
push r12
push rsi
push rbx
sub rsp, 0x38
mov r12, qword [rcx + 0x68]
mov rbx, rcx
test r12, r12
je 0x75dcd7
mov rax, qword [r12]
mov ecx, 1
lock sub dword [rax + 0x30], 1
je 0x75de28
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 0x75de1a
mov edx, 1
mov rax, qword [rax + 0x10]
mov ecx, edx
xchg dword [rax + 0x34], ecx
test ecx, ecx
je 0x75de90
mov rsi, qword [rbx + 0x70]
test rsi, rsi
je 0x75dd85
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 [0x00867500], eax
test eax, eax
je 0x75dee8
mov rcx, qword [rsi]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov r12, qword [rbx + 0x70]
test r12, r12
je 0x75dd7d
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 0x75de12
mov r12, qword [r13 + 8]
test r12, r12
je 0x75ddf7
mov rsi, qword [r12 + 0x38]
test rsi, rsi
je 0x75dddf
nop dword [rax]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x10]
mov rsi, qword [rsi + 0x20]
test rsi, rsi
jne 0x75dda8
mov rsi, qword [r12 + 0x38]
test rsi, rsi
je 0x75dddf
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 0x75ddc8
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 [0x008674f0], 1
je 0x75df10
mov edx, 0x18
mov rcx, r13
call sym.operator_delete_void__unsigned_long_long_
mov qword [rbx + 0x58], 0
add rsp, 0x38
pop rbx
pop rsi
pop r12
pop r13
ret
mov edx, ecx
xchg dword [rax + 0x34], edx
test edx, edx
jne 0x75dcca
xchg dword [rax + 0x38], ecx
test ecx, ecx
jne 0x75dcca
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x75dcca
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 0x75dcca
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]
xchg dword [rax + 0x38], edx
test edx, edx
jne 0x75dd02
xor r9d, r9d
xor r8d, r8d
mov rcx, qword [rax + 0x28]
call qword [sym.imp.KERNEL32.dll_PostQueuedCompletionStatus]
test eax, eax
jne 0x75dd02
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 0x75dd02
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 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 0x75dd60
call qword [sym.imp.WS2_32.dll_WSACleanup]
jmp 0x75de05