Function at 0x14001f6f3
Capabilities:
Create thread
Resume thread

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x60
mov qword [rbp + 0x10], rcx
mov qword [rbp + 0x18], rdx
mov qword [rbp + 0x20], r8
mov qword [rbp + 0x28], r9
mov qword [rbp - 8], 0
mov dword [rbp - 0xc], 0
mov dword [rbp - 0x10], 0
mov qword [rbp - 0x20], 0xffffffffffffffff
cmp qword [rbp + 0x18], 0
je 0x14001f74c
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x10]
mov edx, 0xffffffff
cmp rdx, rax
jae 0x14001f74c
mov eax, 0x16
jmp 0x14001fac0
call sym.pop_pthread_mem
mov qword [rbp - 0x28], rax
cmp qword [rbp - 0x28], 0
jne 0x14001f766
mov eax, 0xb
jmp 0x14001fac0
cmp qword [rbp + 0x10], 0
je 0x14001f77f
mov rax, qword [rbp - 0x28]
mov rdx, qword [rax + 0x1d8]
mov rax, qword [rbp + 0x10]
mov qword [rax], rdx
mov rax, qword [rbp - 0x28]
mov dword [rax + 0xbc], 0
mov rax, qword [rbp - 0x28]
mov rdx, qword [rbp + 0x28]
mov qword [rax + 8], rdx
mov rax, qword [rbp - 0x28]
mov rdx, qword [rbp + 0x20]
mov qword [rax + 0x10], rdx
mov rax, qword [rbp - 0x28]
mov dword [rax + 0x44], 1
mov rax, qword [rbp - 0x28]
mov qword [rax + 0x28], 0xffffffffffffffff
mov r9d, 0
mov r8d, 0
mov edx, 1
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_CreateEventA]
call rax
mov rdx, qword [rbp - 0x28]
mov qword [rdx + 0x30], rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x14001f819
cmp dword [rbp - 0xc], 0
jne 0x14001f7fd
mov eax, 0
jmp 0x14001f802
mov eax, 0x14
mov ecx, eax
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
add dword [rbp - 0xc], 1
cmp dword [rbp - 0xc], 4
jle 0x14001f7bc
jmp 0x14001f81a
nop
mov rax, qword [rbp - 0x28]
mov qword [rax + 0x38], 0xffffffffffffffff
mov rax, qword [rbp - 0x28]
lea rcx, [rax + 0x68]
mov rax, qword [rbp - 0x20]
mov rdx, rax
call sym.replace_spin_keys
mov rax, qword [rbp - 0x28]
mov dword [rax], 0xbab1f00d
mov rax, qword [rbp - 0x28]
mov dword [rax + 0xc0], 0
mov rax, qword [rbp - 0x28]
mov dword [rax + 0xb8], 0
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 0x30]
test rax, rax
jne 0x14001f8a1
cmp qword [rbp + 0x10], 0
je 0x14001f88b
mov rax, qword [rbp + 0x10]
mov r8d, 8
mov edx, 0
mov rcx, rax
call sym.memset
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.push_pthread_mem
mov eax, 0xb
jmp 0x14001fac0
cmp qword [rbp + 0x18], 0
je 0x14001f906
mov dword [rbp - 0x2c], 0
mov rax, qword [rbp + 0x18]
mov edx, dword [rax]
mov rax, qword [rbp - 0x28]
mov dword [rax + 0x44], edx
mov rax, qword [rbp + 0x18]
mov rax, qword [rax + 0x10]
mov dword [rbp - 0x10], eax
lea rdx, [rbp - 0x2c]
mov rax, qword [rbp + 0x18]
mov rcx, rax
call sym.pthread_attr_getinheritsched
mov eax, dword [rbp - 0x2c]
test eax, eax
je 0x14001f8f5
call sym.__pthread_self_lite
mov edx, dword [rax + 0xc0]
mov rax, qword [rbp - 0x28]
mov dword [rax + 0xc0], edx
jmp 0x14001f906
mov rax, qword [rbp + 0x18]
mov edx, dword [rax + 0x18]
mov rax, qword [rbp - 0x28]
mov dword [rax + 0xc0], edx
mov rdx, qword [rbp - 0x28]
mov eax, dword [rbp - 0x10]
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 4
mov r9, rdx
lea r8, [sym.pthread_create_wrapper]
mov edx, eax
mov ecx, 0
mov rax, qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
call rax
mov qword [rbp - 8], rax
cmp qword [rbp - 8], 0xffffffffffffffff
jne 0x14001f94b
mov qword [rbp - 8], 0
cmp qword [rbp - 8], 0
jne 0x14001f9e7
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 0x30]
test rax, rax
je 0x14001f977
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
mov rax, qword [rbp - 0x28]
add rax, 0x38
mov rcx, rax
call sym.pthread_mutex_destroy
mov rax, qword [rbp - 0x28]
lea rcx, [rax + 0x68]
mov rax, qword [rbp - 0x20]
mov rdx, rax
call sym.replace_spin_keys
mov rax, qword [rbp - 0x28]
mov qword [rax + 0x30], 0
mov rax, qword [rbp - 0x28]
mov qword [rax + 0x28], 0
cmp qword [rbp + 0x10], 0
je 0x14001f9d1
mov rax, qword [rbp + 0x10]
mov r8d, 8
mov edx, 0
mov rcx, rax
call sym.memset
mov rax, qword [rbp - 0x28]
mov rcx, rax
call sym.push_pthread_mem
mov eax, 0xb
jmp 0x14001fac0
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0xc0]
mov dword [rbp - 0x14], eax
cmp dword [rbp - 0x14], 0xfffffff2
jge 0x14001fa03
mov dword [rbp - 0x14], 0xfffffff1
jmp 0x14001fa2e
cmp dword [rbp - 0x14], 0xffffffff
jge 0x14001fa12
mov dword [rbp - 0x14], 0xfffffffe
jmp 0x14001fa2e
cmp dword [rbp - 0x14], 0xe
jle 0x14001fa21
mov dword [rbp - 0x14], 0xf
jmp 0x14001fa2e
cmp dword [rbp - 0x14], 1
jle 0x14001fa2e
mov dword [rbp - 0x14], 2
mov edx, dword [rbp - 0x14]
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_SetThreadPriority]
call rax
mov rax, qword [rbp - 0x28]
mov rax, qword [rax + 0x30]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ResetEvent]
call rax
mov rax, qword [rbp - 0x28]
mov eax, dword [rax + 0x44]
and eax, 4
test eax, eax
je 0x14001fa91
mov rax, qword [rbp - 0x28]
mov qword [rax + 0x28], 0
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ResumeThread]
call rax
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_CloseHandle]
call rax
jmp 0x14001faad
mov rax, qword [rbp - 0x28]
mov rdx, qword [rbp - 8]
mov qword [rax + 0x28], rdx
mov rax, qword [rbp - 8]
mov rcx, rax
mov rax, qword [sym.imp.KERNEL32.dll_ResumeThread]
call rax
mov ecx, 0
mov rax, qword [sym.imp.KERNEL32.dll_Sleep]
call rax
mov eax, 0
add rsp, 0x60
pop rbp
ret