Function at 0x140003ce0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x1400561a8]
xor rax, rsp
mov qword [rbp - 8], rax
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, [0x140056e58]
mov rdi, rax
test rax, rax
jne 0x140003dd2
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 [0x140056e60]
movabs rax, 0x4d54ee85da812030
add rdx, rax
mov dword [rbp - 0x24], r13d
cmp rdx, 1
jbe 0x140003d81
mov rcx, qword [0x140056e58]
mov edx, ebx
mov r8, qword [rcx + 0x30]
mov rcx, r12
call r8
jmp 0x140003d86
test ebx, ebx
setne al
lea rcx, str.C:Users_nixiangDesktopcodePEPacker_master_vcpkg_masterinstalledx64_windowsinclude_boost_asiodetailimplwin_thread.ipp
movzx eax, al
add rax, 2
mov qword [rbp - 0x40], rcx
mov qword [rbp - 0x18], rax
lea rcx, str.start_thread
mov qword [rbp - 0x38], rcx
mov dword [rbp - 0x28], ebx
mov qword [rbp - 0x20], r12
mov dword [rbp - 0x30], 0x4c
mov dword [rbp - 0x2c], 0x1a
test al, 1
je 0x140003dd2
cmp rax, 1
jne 0x140003fc0
test ebx, ebx
jne 0x140003fc0
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 0x140003e90
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 [0x140056e60]
movabs rax, 0x4d54ee85da812030
add rdx, rax
mov dword [rbp - 0x3c], r13d
cmp rdx, 1
jbe 0x140003e3f
mov rcx, qword [0x140056e58]
mov edx, ebx
mov r8, qword [rcx + 0x30]
mov rcx, r12
call r8
jmp 0x140003e44
test ebx, ebx
setne al
lea rcx, str.C:Users_nixiangDesktopcodePEPacker_master_vcpkg_masterinstalledx64_windowsinclude_boost_asiodetailimplwin_thread.ipp
movzx eax, al
add rax, 2
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x30], rax
lea rcx, str.start_thread
mov qword [rbp - 0x20], rcx
mov dword [rbp - 0x40], ebx
mov qword [rbp - 0x38], r12
mov dword [rbp - 0x18], 0x56
mov dword [rbp - 0x14], 0x1a
test al, 1
je 0x140003e90
cmp rax, 1
jne 0x140003fd5
test ebx, ebx
jne 0x140003fd5
lea rax, [rbp - 0x10]
mov dword [rbp - 0x10], r13d
mov qword [rsp + 0x28], rax
lea r8, [0x140003ff0]
mov r9, rsi
mov dword [rsp + 0x20], r13d
mov edx, r15d
xor ecx, ecx
call fcn.14001fdb0
mov qword [r14 + 8], rax
test rax, rax
jne 0x140003f6b
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 0x140003ee7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x140003ef6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movabs rcx, 0x4d54ee85da812030
mov dword [rbp - 0x3c], r13d
add rcx, qword [0x140056e60]
cmp rcx, 1
jbe 0x140003f22
mov rax, qword [0x140056e58]
mov edx, ebx
mov rcx, r12
call qword [rax + 0x30]
jmp 0x140003f27
test ebx, ebx
setne al
lea rcx, str.C:Users_nixiangDesktopcodePEPacker_master_vcpkg_masterinstalledx64_windowsinclude_boost_asiodetailimplwin_thread.ipp
movzx eax, al
add rax, 2
mov qword [rbp - 0x28], rcx
mov qword [rbp - 0x30], rax
lea rcx, str.start_thread
mov qword [rbp - 0x20], rcx
mov dword [rbp - 0x40], ebx
mov qword [rbp - 0x38], r12
mov dword [rbp - 0x18], 0x66
mov dword [rbp - 0x14], 0x1a
test al, 1
je 0x140003f6b
cmp rax, 1
jne 0x140003fab
test ebx, ebx
jne 0x140003fab
test rdi, rdi
je 0x140003f87
mov edx, 0xffffffff
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.140019460
mov rbx, qword [rsp + 0xc8]
add rsp, 0x70
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea r8, [rbp - 0x28]
lea rdx, str.thread
lea rcx, [rbp - 0x40]
call fcn.1400037c0
int3
lea r8, [rbp - 0x40]
lea rdx, str.thread.entry_event
lea rcx, [rbp - 0x28]
call fcn.1400037c0
int3
lea r8, [rbp - 0x28]
lea rdx, str.thread.exit_event
lea rcx, [rbp - 0x40]
call fcn.1400037c0
int3