Function at 0x1400d2f50
Capabilities:
Create thread

Disassembly:
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x148
mov rax, qword [0x1402ddc80]
xor rax, rsp
mov qword [rsp + 0x130], rax
mov qword [rsp + 0x30], 0
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 8], rcx
cmp qword [rsp + 0x30], 0
jne 0x1400d305c
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x38], eax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0
je 0x1400d2ffa
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x68], rax
mov edx, 1
mov rcx, qword [rsp + 0x48]
call qword [rsp + Ordinal_107]
mov qword [rsp + 0x70], rax
jmp 0x1400d3003
mov qword [rsp + 0x70], 0
call fcn.14000aa30
mov r8, rax
mov edx, dword [rsp + 0x38]
lea rcx, [rsp + 0xe8]
call fcn.140006a90
mov dword [rsp + 0x20], Ordinal_29
lea r9, str.start_thread
mov r8d, 0x4c
lea rdx, str.E:DThirdParty_boost_1_84_0_boost_asiodetailimplwin_thread.ipp
lea rcx, [rsp + 0x98]
call fcn.140006f20
mov r8, rax
lea rdx, str.thread.entry_event
lea rcx, [rsp + 0xe8]
call fcn.14000cf80
xor r9d, r9d
xor r8d, r8d
mov edx, 1
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x150]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x158]
mov rcx, qword [rsp + 0x60]
mov qword [rax + 0x10], rcx
mov rax, qword [rsp + 0x150]
cmp qword [rax + 0x10], 0
jne 0x1400d3155
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x3c], eax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x50], rax
cmp qword [rsp + 0x50], 0
je 0x1400d30f0
mov rax, qword [rsp + 0x50]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x78], rax
mov edx, 1
mov rcx, qword [rsp + 0x50]
call qword [rsp + Ordinal_123]
mov qword [rsp + 0x80], rax
jmp 0x1400d30fc
mov qword [rsp + 0x80], 0
call fcn.14000aa30
mov r8, rax
mov edx, dword [rsp + 0x3c]
lea rcx, [rsp + 0x100]
call fcn.140006a90
mov dword [rsp + 0x20], Ordinal_29
lea r9, str.start_thread
mov r8d, 0x56
lea rdx, str.E:DThirdParty_boost_1_84_0_boost_asiodetailimplwin_thread.ipp
lea rcx, [rsp + 0xb0]
call fcn.140006f20
mov r8, rax
lea rdx, str.thread.exit_event
lea rcx, [rsp + 0x100]
call fcn.14000cf80
mov dword [rsp + 0xe0], 0
lea rax, [rsp + 0xe0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0x158]
lea r8, [0x1400d71a0]
mov edx, dword [rsp + 0x160]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov rcx, qword [rsp + 0x150]
mov qword [rcx + 8], rax
mov rax, qword [rsp + 0x150]
cmp qword [rax + 8], 0
jne 0x1400d3298
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
je 0x1400d31ff
mov rax, qword [rsp + 0x58]
mov rax, qword [rax]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [rsp + Ordinal_139]
mov qword [rsp + 0x90], rax
jmp 0x1400d320b
mov qword [rsp + 0x90], 0
cmp qword [rsp + 0x30], 0
je 0x1400d321e
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, qword [rsp + 0x150]
cmp qword [rax + 0x10], 0
je 0x1400d323f
mov rax, qword [rsp + 0x150]
mov rcx, qword [rax + 0x10]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.14000aa30
mov r8, rax
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x118]
call fcn.140006a90
mov dword [rsp + 0x20], Ordinal_29
lea r9, str.start_thread
mov r8d, Ordinal_107
lea rdx, str.E:DThirdParty_boost_1_84_0_boost_asiodetailimplwin_thread.ipp
lea rcx, [rsp + 0xc8]
call fcn.140006f20
mov r8, rax
lea rdx, str.thread
lea rcx, [rsp + 0x118]
call fcn.14000cf80
cmp qword [rsp + 0x30], 0
je 0x1400d32bb
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x130]
xor rcx, rsp
call fcn.1401f4e50
add rsp, 0x148
ret