Function at 0x140008a24
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
xor r9d, r9d
mov r15d, r8d
mov rsi, rdx
mov r14, rcx
xor r8d, r8d
xor ecx, ecx
lea r13d, [r9 + 1]
mov edx, r13d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsi + 8], rax
mov rbx, rax
test rax, rax
jne 0x140008b08
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, r13d
mov rcx, rsi
mov edi, eax
call qword [r8]
mov rdx, qword [0x14007f0d8]
movabs rax, 0x4d54ee85da812030
and dword [rbp - 0x14], ebx
add rdx, rax
cmp rdx, r13
jbe 0x140008ab0
mov rax, qword [0x14007f0d0]
lea rcx, [0x14007f0d0]
mov edx, edi
call qword [rax + 0x30]
jmp 0x140008ab5
test edi, edi
setne al
lea rcx, [0x14007f0d0]
movzx eax, al
mov qword [rbp - 0x10], rcx
add rax, 2
mov qword [rbp - 8], rax
lea rcx, str.E:_software_boost_1_85_0_boost_asiodetailimplwin_thread.ipp
mov qword [rbp - 0x30], rcx
lea rcx, str.void___cdecl_boost::asio::detail::win_thread::start_thread_class_boost::asio::detail::win_thread::func_base__unsigned_int_
mov qword [rbp - 0x28], rcx
mov dword [rbp - 0x18], edi
mov dword [rbp - 0x20], 0x4c
mov dword [rbp - 0x1c], 0x1a
test r13b, al
je 0x140008b08
cmp rax, r13
jne 0x140008cf6
test edi, edi
jne 0x140008cf6
xor r9d, r9d
xor r8d, r8d
mov edx, r13d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [r14 + 0x10], rax
mov qword [rsi + 0x10], rax
cmp qword [r14 + 0x10], 0
jne 0x140008bca
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, r13d
mov rcx, rsi
mov edi, eax
call qword [r8]
mov rdx, qword [0x14007f0d8]
movabs rax, 0x4d54ee85da812030
and dword [rbp - 0x2c], 0
add rdx, rax
cmp rdx, r13
jbe 0x140008b72
mov rax, qword [0x14007f0d0]
lea rcx, [0x14007f0d0]
mov edx, edi
call qword [rax + 0x30]
jmp 0x140008b77
test edi, edi
setne al
lea rcx, [0x14007f0d0]
movzx eax, al
mov qword [rbp - 0x28], rcx
add rax, 2
mov qword [rbp - 0x20], rax
lea rcx, str.E:_software_boost_1_85_0_boost_asiodetailimplwin_thread.ipp
mov qword [rbp - 0x18], rcx
lea rcx, str.void___cdecl_boost::asio::detail::win_thread::start_thread_class_boost::asio::detail::win_thread::func_base__unsigned_int_
mov qword [rbp - 0x10], rcx
mov dword [rbp - 0x30], edi
mov dword [rbp - 8], 0x56
mov dword [rbp - 4], 0x1a
test r13b, al
je 0x140008bca
cmp rax, r13
jne 0x140008d0b
test edi, edi
jne 0x140008d0b
and dword [rbp + 0x38], 0
lea rax, [rbp + 0x38]
mov qword [rsp + 0x28], rax
lea r8, [0x140008d20]
and dword [rsp + 0x20], 0
mov r9, rsi
mov edx, r15d
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [r14 + 8], rax
test rax, rax
jne 0x140008cae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, r13d
mov rcx, rsi
mov edi, eax
call qword [r8]
test rbx, rbx
je 0x140008c20
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x140008c2f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [rbp - 0x2c], 0
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x14007f0d8]
cmp rcx, r13
jbe 0x140008c5e
mov rax, qword [0x14007f0d0]
lea rcx, [0x14007f0d0]
mov edx, edi
call qword [rax + 0x30]
jmp 0x140008c63
test edi, edi
setne al
lea rcx, [0x14007f0d0]
movzx eax, al
mov qword [rbp - 0x28], rcx
add rax, 2
mov qword [rbp - 0x20], rax
lea rcx, str.E:_software_boost_1_85_0_boost_asiodetailimplwin_thread.ipp
mov qword [rbp - 0x18], rcx
lea rcx, str.void___cdecl_boost::asio::detail::win_thread::start_thread_class_boost::asio::detail::win_thread::func_base__unsigned_int_
mov qword [rbp - 0x10], rcx
mov dword [rbp - 0x30], edi
mov dword [rbp - 8], 0x66
mov dword [rbp - 4], 0x1a
test r13b, al
je 0x140008cae
cmp rax, r13
jne 0x140008ce1
test edi, edi
jne 0x140008ce1
test rbx, rbx
je 0x140008cc8
or edx, 0xffffffff
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
lea r8, [rbp - 0x18]
lea rdx, str.thread
lea rcx, [rbp - 0x30]
call fcn.140007bd0
int3
lea r8, [rbp - 0x30]
lea rdx, str.thread.entry_event
lea rcx, [rbp - 0x18]
call fcn.140007bd0
int3
lea r8, [rbp - 0x18]
lea rdx, str.thread.exit_event
lea rcx, [rbp - 0x30]
call fcn.140007bd0
int3