Function at 0x14002f020
Capabilities:
Create thread

Disassembly:
push r14
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x70
mov ebp, 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 0x14002f113
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rax, qword [rbx]
mov rcx, rbx
mov edx, 1
call qword [rax]
mov qword [rsp + 0x38], 0
mov rax, qword [0x1400ab638]
shr rax, 1
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
je 0x14002f0b3
mov rax, qword [0x1400ab630]
mov rax, qword [rax + 0x30]
lea rcx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp rax, rcx
je 0x14002f0b3
lea rcx, [0x1400ab630]
mov edx, r14d
call rax
jmp 0x14002f0b9
test r14d, r14d
setne al
movzx eax, al
or rax, 2
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], r14d
lea rax, [0x1400ab630]
mov qword [rsp + 0x40], rax
lea rax, str.win_thread.ipp
mov qword [rsp + 0x50], rax
lea rax, str.void___cdecl_boost::asio::detail::win_thread::start_thread_func_base___unsigned_int_
mov qword [rsp + 0x58], rax
movabs rax, 0x50000004c
mov qword [rsp + 0x60], rax
lea rdx, str.thread.entry_event
lea rcx, [rsp + 0x38]
lea r8, [rsp + 0x50]
call fcn.140029fd0
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
test rax, rax
jne 0x14002f1f4
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, eax
mov rax, qword [rbx]
mov rcx, rbx
mov edx, 1
call qword [rax]
mov qword [rsp + 0x38], 0
mov rax, qword [0x1400ab638]
shr rax, 1
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
je 0x14002f194
mov rax, qword [0x1400ab630]
mov rax, qword [rax + 0x30]
lea rcx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp rax, rcx
je 0x14002f194
lea rcx, [0x1400ab630]
mov edx, r14d
call rax
jmp 0x14002f19a
test r14d, r14d
setne al
movzx eax, al
or rax, 2
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], r14d
lea rax, [0x1400ab630]
mov qword [rsp + 0x40], rax
lea rax, str.win_thread.ipp
mov qword [rsp + 0x50], rax
lea rax, str.void___cdecl_boost::asio::detail::win_thread::start_thread_func_base___unsigned_int_
mov qword [rsp + 0x58], rax
movabs rax, 0x500000056
mov qword [rsp + 0x60], rax
lea rdx, str.thread.exit_event
lea rcx, [rsp + 0x38]
lea r8, [rsp + 0x50]
call fcn.140029fd0
mov dword [rsp + 0x6c], 0
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
lea r8, [0x14002f3b0]
xor ecx, ecx
mov edx, ebp
mov r9, rbx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi + 8], rax
test rax, rax
jne 0x14002f305
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebp, eax
mov rax, qword [rbx]
mov rcx, rbx
mov edx, 1
call qword [rax]
test rsi, rsi
je 0x14002f252
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x10]
test rcx, rcx
je 0x14002f261
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x38], 0
mov rax, qword [0x1400ab638]
shr rax, 1
movabs rcx, 0x595588bd12bf6fe8
cmp rax, rcx
je 0x14002f2a7
mov rax, qword [0x1400ab630]
mov rax, qword [rax + 0x30]
lea rcx, [method.boost::beast::http::detail::http_error_category.virtual_48]
cmp rax, rcx
je 0x14002f2a7
lea rcx, [0x1400ab630]
mov edx, ebp
call rax
jmp 0x14002f2ac
test ebp, ebp
setne al
movzx eax, al
or rax, 2
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x38], ebp
lea rax, [0x1400ab630]
mov qword [rsp + 0x40], rax
lea rax, str.win_thread.ipp
mov qword [rsp + 0x50], rax
lea rax, str.void___cdecl_boost::asio::detail::win_thread::start_thread_func_base___unsigned_int_
mov qword [rsp + 0x58], rax
movabs rax, 0x500000066
mov qword [rsp + 0x60], rax
lea rdx, str.thread
lea rcx, [rsp + 0x38]
lea r8, [rsp + 0x50]
call fcn.140029fd0
test rsi, rsi
je 0x14002f321
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, 0x70
pop rbx
pop rbp
pop rdi
pop rsi
pop r14
ret