Function at 0x140030820
Capabilities:
Create thread

Disassembly:
push rbp
push r15
push r14
push rsi
push rdi
push rbx
sub rsp, 0xa8
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x20], 0xfffffffffffffffe
mov r14d, r8d
mov rbx, rdx
mov rdi, rcx
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rsi, rax
mov qword [rbx + 8], rax
test rax, rax
jne 0x140030904
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rbx]
mov rcx, rbx
mov edx, 1
call qword [rax]
mov qword [rbp + 8], 0
mov rax, qword [0x1400c1358]
shr rax, 1
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
jne 0x1400308aa
test r15d, r15d
setne al
jmp 0x1400308be
mov rax, qword [0x1400c1350]
lea rcx, [0x1400c1350]
mov edx, r15d
call qword [rax + 0x30]
movzx eax, al
or rax, 2
mov qword [rbp + 0x18], rax
mov dword [rbp + 8], r15d
lea rcx, [0x1400c1350]
mov qword [rbp + 0x10], rcx
lea rcx, str.W:3rdParty_boost_1_85_0_boost_asio_detail_impl_win_thread.ipp
mov qword [rbp - 0x10], rcx
lea rcx, str.void___cdecl_boost::asio::detail::win_thread::start_thread_func_base___unsigned_int_
mov qword [rbp - 8], rcx
movabs rcx, 0x50000004c
mov qword [rbp], rcx
test al, 1
jne 0x140030adb
xor ecx, ecx
mov edx, 1
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rdi + 0x10], rax
mov qword [rbx + 0x10], rax
cmp qword [rdi + 0x10], 0
jne 0x1400309c3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r15d, eax
mov rax, qword [rbx]
mov rcx, rbx
mov edx, 1
call qword [rax]
mov qword [rbp + 8], 0
mov rax, qword [0x1400c1358]
shr rax, 1
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
jne 0x140030969
test r15d, r15d
setne al
jmp 0x14003097d
mov rax, qword [0x1400c1350]
lea rcx, [0x1400c1350]
mov edx, r15d
call qword [rax + 0x30]
movzx eax, al
or rax, 2
mov qword [rbp + 0x18], rax
mov dword [rbp + 8], r15d
lea rcx, [0x1400c1350]
mov qword [rbp + 0x10], rcx
lea rcx, str.W:3rdParty_boost_1_85_0_boost_asio_detail_impl_win_thread.ipp
mov qword [rbp - 0x10], rcx
lea rcx, str.void___cdecl_boost::asio::detail::win_thread::start_thread_func_base___unsigned_int_
mov qword [rbp - 8], rcx
movabs rcx, 0x500000056
mov qword [rbp], rcx
test al, 1
jne 0x140030afe
mov dword [rbp - 0x14], 0
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x140030c10]
xor ecx, ecx
mov edx, r14d
mov r9, rbx
call fcn.1400769c0
mov qword [rdi + 8], rax
test rax, rax
jne 0x140030aae
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rax, qword [rbx]
mov rcx, rbx
mov edx, 1
call qword [rax]
test rsi, rsi
je 0x140030a20
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x140030a2f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 8], 0
mov rax, qword [0x1400c1358]
shr rax, 1
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
jne 0x140030a58
test r14d, r14d
setne al
jmp 0x140030a6c
mov rax, qword [0x1400c1350]
lea rcx, [0x1400c1350]
mov edx, r14d
call qword [rax + 0x30]
movzx eax, al
or rax, 2
mov qword [rbp + 0x18], rax
mov dword [rbp + 8], r14d
lea rcx, [0x1400c1350]
mov qword [rbp + 0x10], rcx
lea rcx, str.W:3rdParty_boost_1_85_0_boost_asio_detail_impl_win_thread.ipp
mov qword [rbp - 0x10], rcx
lea rcx, str.void___cdecl_boost::asio::detail::win_thread::start_thread_func_base___unsigned_int_
mov qword [rbp - 8], rcx
movabs rcx, 0x500000066
mov qword [rbp], rcx
test al, 1
jne 0x140030b21
test rsi, rsi
je 0x140030aca
mov rcx, rsi
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
add rsp, 0xa8
pop rbx
pop rdi
pop rsi
pop r14
pop r15
pop rbp
ret
lea r8, str.thread.entry_event
lea rsi, [rbp - 0x48]
lea rdx, [rbp + 8]
mov rcx, rsi
call fcn.14002b5d0
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.14002b9a0
lea r8, str.thread.exit_event
lea rsi, [rbp - 0x48]
lea rdx, [rbp + 8]
mov rcx, rsi
call fcn.14002b5d0
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.14002b9a0
lea r8, str.thread
lea rsi, [rbp - 0x48]
lea rdx, [rbp + 8]
mov rcx, rsi
call fcn.14002b5d0
lea rdx, [rbp - 0x10]
mov rcx, rsi
call fcn.14002b9a0
int3