Function at 0x140043e70
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
mov dword [rsp + 0x18], r8d
push rbp
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x60
xor r9d, r9d
mov rsi, rdx
mov r14, rcx
xor r8d, r8d
xor ecx, ecx
lea edx, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r12d, r12d
mov qword [rsi + 8], rax
lea r15, [0x1400d6130]
mov rbx, rax
lea r13, str.C:_vcpkginstalledx64_windowsinclude_boost_asiodetailimplwin_thread.ipp
test rax, rax
jne 0x140043f5e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
lea edx, [rbx + 1]
mov rcx, rsi
mov edi, eax
call qword [r8]
mov rdx, qword [0x1400d6138]
movabs rax, 0x4d54ee85da812030
add rdx, rax
mov dword [rbp - 0x14], r12d
cmp rdx, 1
jbe 0x140043f14
mov rcx, qword [0x1400d6130]
mov edx, edi
mov r8, qword [rcx + 0x30]
mov rcx, r15
call r8
jmp 0x140043f19
test edi, edi
setne al
movzx eax, al
lea rcx, str.start_thread
add rax, 2
mov dword [rbp - 0x18], edi
mov qword [rbp - 8], rax
mov qword [rbp - 0x10], r15
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], rcx
mov dword [rbp - 0x20], 0x4c
mov dword [rbp - 0x1c], 0x1a
test al, 1
je 0x140043f5e
cmp rax, 1
jne 0x140044138
test edi, edi
jne 0x140044138
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], r12
jne 0x140044015
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov edi, eax
call qword [r8]
mov rdx, qword [0x1400d6138]
movabs rax, 0x4d54ee85da812030
add rdx, rax
mov dword [rbp - 0x2c], r12d
cmp rdx, 1
jbe 0x140043fcb
mov rcx, qword [0x1400d6130]
mov edx, edi
mov r8, qword [rcx + 0x30]
mov rcx, r15
call r8
jmp 0x140043fd0
test edi, edi
setne al
movzx eax, al
lea rcx, str.start_thread
add rax, 2
mov dword [rbp - 0x30], edi
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], rcx
mov dword [rbp - 8], 0x56
mov dword [rbp - 4], 0x1a
test al, 1
je 0x140044015
cmp rax, 1
jne 0x14004414d
test edi, edi
jne 0x14004414d
lea rax, [rbp + 0x40]
mov dword [rbp + 0x40], r12d
mov qword [rsp + 0x28], rax
lea r8, [0x140044170]
mov r9, rsi
mov dword [rsp + 0x20], r12d
xor edx, edx
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 0x1400440e9
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8, qword [rsi]
mov edx, 1
mov rcx, rsi
mov edi, eax
call qword [r8]
test rbx, rbx
je 0x14004406c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [r14 + 0x10]
test rcx, rcx
je 0x14004407b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movabs rcx, 0x4d54ee85da812030
mov dword [rbp - 0x2c], r12d
add rcx, qword [0x1400d6138]
cmp rcx, 1
jbe 0x1400440a7
mov rax, qword [0x1400d6130]
mov edx, edi
mov rcx, r15
call qword [rax + 0x30]
jmp 0x1400440ac
test edi, edi
setne al
movzx eax, al
lea rcx, str.start_thread
add rax, 2
mov dword [rbp - 0x30], edi
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x28], r15
mov qword [rbp - 0x18], r13
mov qword [rbp - 0x10], rcx
mov dword [rbp - 8], 0x66
mov dword [rbp - 4], 0x1a
test al, 1
je 0x1400440e9
cmp rax, 1
jne 0x140044123
test edi, edi
jne 0x140044123
test rbx, rbx
je 0x140044105
mov 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 + 0x38]
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.140043940
int3
lea r8, [rbp - 0x30]
lea rdx, str.thread.entry_event
lea rcx, [rbp - 0x18]
call fcn.140043940
int3
lea r8, [rbp - 0x18]
lea rdx, str.thread.exit_event
lea rcx, [rbp - 0x30]
call fcn.140043940
int3