Function at 0x1402f5d20
Capabilities:
Create thread

Disassembly:
endbr64
push r14
push r13
push r12
push rbp
push rdi
push rsi
push rbx
sub rsp, 0x90
movups xmmword [rsp + 0x80], xmm6
mov rbp, qword [0x140485900]
mov r13, qword [sym.imp.KERNEL32.dll_CreateEventW]
xor r9d, r9d
mov rax, qword [rbp]
mov qword [rsp + 0x78], rax
xor eax, eax
mov rsi, rdx
lea rax, str.C:_msys64_mingw64_include_boost_asio_detail_impl_win_thread.ipp
mov rdi, rcx
lea rdx, [0x14046dde0]
movq xmm6, rax
mov r12d, r8d
xor ecx, ecx
movq xmm0, rdx
xor r8d, r8d
mov edx, 1
punpcklqdq xmm6, xmm0
call r13
mov qword [rsi + 8], rax
mov rbx, rax
test rax, rax
je 0x1402f5ec0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call r13
mov qword [rdi + 8], rax
mov qword [rsi + 0x10], rax
test rax, rax
je 0x1402f5f20
lea rax, [rsp + 0x3c]
mov r9, rsi
mov edx, r12d
xor ecx, ecx
mov dword [rsp + 0x3c], 0
lea r8, [method.boost::asio::detail.win_thread_function_void_]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
call qword [sym.imp.msvcrt.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x1402f5e40
test rbx, rbx
je 0x1402f5e0f
mov rcx, rbx
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x78]
sub rax, qword [rbp]
jne 0x1402f5f7e
movups xmm6, xmmword [rsp + 0x80]
add rsp, 0x90
pop rbx
pop rsi
pop rdi
pop rbp
pop r12
pop r13
pop r14
ret
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov r12d, eax
mov rax, qword [rsi]
call qword [rax + 8]
test rbx, rbx
je 0x1402f5e60
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1402f5e6f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp r12d, 1
mov eax, 2
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x60], r12d
sbb rax, 0xffffffffffffffff
lea r8, [rsp + 0x40]
lea rdx, [0x14046de12]
mov qword [rsp + 0x50], 0x66
mov qword [rsp + 0x70], rax
lea rax, [0x14037a7e0]
mov qword [rsp + 0x68], rax
movups xmmword [rsp + 0x40], xmm6
call method.boost::asio::detail.throw_error_boost::system::error_code_const__char_const__boost::source_location_const_
jmp 0x1402f5df3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov r14d, eax
mov rax, qword [rsi]
call qword [rax + 8]
cmp r14d, 1
mov eax, 2
lea rcx, [rsp + 0x60]
sbb rax, 0xffffffffffffffff
lea r8, [rsp + 0x40]
mov dword [rsp + 0x60], r14d
lea rdx, str.thread.entry_event
mov qword [rsp + 0x70], rax
lea rax, [0x14037a7e0]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], 0x4c
movups xmmword [rsp + 0x40], xmm6
call method.boost::asio::detail.throw_error_boost::system::error_code_const__char_const__boost::source_location_const_
jmp 0x1402f5d9b
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, rsi
mov r13d, eax
mov rax, qword [rsi]
call qword [rax + 8]
cmp r13d, 1
mov eax, 2
lea rcx, [rsp + 0x60]
sbb rax, 0xffffffffffffffff
lea r8, [rsp + 0x40]
mov dword [rsp + 0x60], r13d
lea rdx, str.thread.exit_event
mov qword [rsp + 0x70], rax
lea rax, [0x14037a7e0]
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x50], 0x56
movups xmmword [rsp + 0x40], xmm6
call method.boost::asio::detail.throw_error_boost::system::error_code_const__char_const__boost::source_location_const_
jmp 0x1402f5dbc
call dbg.__stack_chk_fail
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop