Function at 0x1402a16c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
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 edx, [r9 + 1]
call qword [sym.imp.KERNEL32.DLL_CreateEventW]
xor r13d, r13d
mov qword [rsi + 8], rax
lea r12, [0x140a28de0]
mov rdi, rax
test rax, rax
jne 0x1402a17ac
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r8, qword [rsi]
lea edx, [rdi + 1]
mov rcx, rsi
mov ebx, eax
call qword [r8]
mov rdx, qword [0x140a28de8]
movabs rax, 0x4d54ee85da812030
add rdx, rax
mov dword [rbp - 0x14], r13d
cmp rdx, 1
jbe 0x1402a175b
mov rcx, qword [0x140a28de0]
mov edx, ebx
mov r8, qword [rcx + 0x30]
mov rcx, r12
call r8
jmp 0x1402a1760
test ebx, ebx
setne al
lea rcx, str.C:_Boost_include_boost_1_82_boost_asio_detail_impl_win_thread.ipp
movzx eax, al
add rax, 2
mov qword [rbp - 0x30], rcx
mov qword [rbp - 8], rax
lea rcx, str.start_thread
mov qword [rbp - 0x28], rcx
mov dword [rbp - 0x18], ebx
mov qword [rbp - 0x10], r12
mov dword [rbp - 0x20], Ordinal_79
mov dword [rbp - 0x1c], reloc.WLDAP32.dll_Ordinal_26
test al, 1
je 0x1402a17ac
cmp rax, 1
jne 0x1402a1994
test ebx, ebx
jne 0x1402a1994
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.DLL_CreateEventW]
mov qword [r14 + 0x10], rax
mov qword [rsi + 0x10], rax
cmp qword [r14 + 0x10], r13
jne 0x1402a186a
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov ebx, eax
call qword [r8]
mov rdx, qword [0x140a28de8]
movabs rax, 0x4d54ee85da812030
add rdx, rax
mov dword [rbp - 0x2c], r13d
cmp rdx, 1
jbe 0x1402a1819
mov rcx, qword [0x140a28de0]
mov edx, ebx
mov r8, qword [rcx + 0x30]
mov rcx, r12
call r8
jmp 0x1402a181e
test ebx, ebx
setne al
lea rcx, str.C:_Boost_include_boost_1_82_boost_asio_detail_impl_win_thread.ipp
movzx eax, al
add rax, 2
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x20], rax
lea rcx, str.start_thread
mov qword [rbp - 0x10], rcx
mov dword [rbp - 0x30], ebx
mov qword [rbp - 0x28], r12
mov dword [rbp - 8], 0x56
mov dword [rbp - 4], reloc.WLDAP32.dll_Ordinal_26
test al, 1
je 0x1402a186a
cmp rax, 1
jne 0x1402a19a9
test ebx, ebx
jne 0x1402a19a9
lea rax, [rbp + 0x38]
mov dword [rbp + 0x38], r13d
mov qword [rsp + 0x28], rax
lea r8, [0x1402a8610]
mov r9, rsi
mov dword [rsp + 0x20], r13d
mov edx, r15d
xor ecx, ecx
call fcn.140585d04
mov qword [r14 + 8], rax
test rax, rax
jne 0x1402a1945
call qword [sym.imp.KERNEL32.DLL_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov ebx, eax
call qword [r8]
test rdi, rdi
je 0x1402a18c1
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x1402a18d0
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
movabs rcx, 0x4d54ee85da812030
mov dword [rbp - 0x2c], r13d
add rcx, qword [0x140a28de8]
cmp rcx, 1
jbe 0x1402a18fc
mov rax, qword [0x140a28de0]
mov edx, ebx
mov rcx, r12
call qword [rax + Ordinal_50]
jmp 0x1402a1901
test ebx, ebx
setne al
lea rcx, str.C:_Boost_include_boost_1_82_boost_asio_detail_impl_win_thread.ipp
movzx eax, al
add rax, 2
mov qword [rbp - 0x18], rcx
mov qword [rbp - 0x20], rax
lea rcx, str.start_thread
mov qword [rbp - 0x10], rcx
mov dword [rbp - 0x30], ebx
mov qword [rbp - 0x28], r12
mov dword [rbp - 8], 0x66
mov dword [rbp - 4], reloc.WLDAP32.dll_Ordinal_26
test al, 1
je 0x1402a1945
cmp rax, 1
jne 0x1402a197f
test ebx, ebx
jne 0x1402a197f
test rdi, rdi
je 0x1402a1961
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.DLL_CloseHandle]
lea r11, [rsp + 0x60]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rbp - 0x18]
lea rdx, str.thread
lea rcx, [rbp - 0x30]
call fcn.1400e3640
int3
lea r8, [rbp - 0x30]
lea rdx, str.thread.entry_event
lea rcx, [rbp - 0x18]
call fcn.1400e3640
int3
lea r8, [rbp - 0x18]
lea rdx, str.thread.exit_event
lea rcx, [rbp - 0x30]
call fcn.1400e3640
int3