Function at 0x1402933b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x40
mov r14, rdx
mov rsi, rcx
lea rbx, [rcx + 8]
mov rcx, qword [rbx]
test rcx, rcx
je 0x140293421
lea rdx, [rsp + 0x88]
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x140293421
cmp dword [rsp + 0x88], 0x103
jne 0x140293421
lea r8, str.Tried_to_create_a_thread_that_has_already_been_created_
mov edx, 0xeb1
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_src_tier0_threadtools.cpp
call fcn.14029bf90
test al, al
jne 0x14029340e
int3
xor al, al
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov byte [rsp + 0x70], 0
xor r15d, r15d
mov qword [rsp + 0x30], r15
mov byte [rsp + 0x38], 1
xor r9d, r9d
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventA]
mov qword [rsp + 0x30], rax
test rax, rax
jne 0x140293473
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.Failed_to_create_event__error_0x_x_
mov edx, 0x7b1
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_src_tier0_threadtools.cpp
call fcn.14029bfa0
test al, al
jne 0x140293473
int3
mov dword [rsp + 0x80], r15d
mov rax, r14
neg rax
sbb ebp, ebp
and ebp, 0x10000
mov ecx, 0x18
call fcn.14031dc78
mov rdi, rax
test rax, rax
je 0x1402934b2
mov qword [rax], rsi
lea rax, [rsp + 0x30]
mov qword [rdi + 8], rax
lea rax, [rsp + 0x70]
mov qword [rdi + 0x10], rax
jmp 0x1402934b5
mov rdi, r15
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x28]
mov r8, rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], ebp
mov r9, rdi
mov rdx, r14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov rdi, rax
test rax, rax
jne 0x140293519
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r9d, eax
lea r8, str.Failed_to_create_thread__error_0x_x_
mov edx, 0xecc
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_src_tier0_threadtools.cpp
call fcn.14029bfa0
test al, al
jne 0x140293631
int3
cmp qword [rsp + 0x30], 0
jne 0x14029353e
lea r8, str.Thread_synchronization_object_is_unuseable
mov edx, 0x748
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_src_tier0_threadtools.cpp
call fcn.14029bf90
test al, al
jne 0x14029353e
int3
mov edx, 0xea60
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, 0xffffff7f
je 0x1402935cf
lea r8, str.Probably_deadlock_or_failure_waiting_for_thread_to_initialize.
mov edx, 0x1079
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_src_tier0_threadtools.cpp
call fcn.14029bf90
test al, al
jne 0x140293572
int3
lea rcx, str.Thread_failed_to_initialize_n
call fcn.14029c780
test rbx, rbx
jne 0x1402935ae
lea r8, str.pThread
mov edx, 0x197
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_src_tier0_threadtools.cpp
call fcn.14029bf90
test al, al
jne 0x1402935bf
int3
mov rcx, qword [rbx]
test rcx, rcx
je 0x1402935bf
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
jmp 0x14029366e
cmp byte [rsp + 0x70], 0
jne 0x140293635
lea rcx, str.Thread_failed_to_initialize_n
call fcn.14029c780
test rbx, rbx
jne 0x140293613
lea r8, str.pThread
mov edx, 0x197
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_src_tier0_threadtools.cpp
call fcn.14029bf90
test al, al
jne 0x140293624
int3
mov rcx, qword [rbx]
test rcx, rcx
je 0x140293624
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], r15
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsi + 0x10], r15d
xor bl, bl
jmp 0x14029366e
mov eax, dword [rsp + 0x80]
cmp dword [rsi + 0x10], eax
je 0x14029365e
lea r8, str.Mismatched_thread_id_during_thread_Start__
mov edx, 0xf24
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_src_tier0_threadtools.cpp
call fcn.14029bf90
test al, al
jne 0x14029365e
int3
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp qword [rbx], 0
setne bl
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1402936a6
cmp byte [rsp + 0x38], 0
je 0x1402936a6
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x1402936a6
lea r8, [0x1404830b0]
mov edx, 0x722
lea rcx, str.c:_buildslave_steam_rel_client_hotfix_win64_build_src_tier0_threadtools.cpp
call fcn.14029bf90
test al, al
jne 0x1402936a6
int3
movzx eax, bl
mov rbx, qword [rsp + 0x78]
add rsp, 0x40
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret