Function at 0x14004a1c0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x20], r9
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xa0
lea rdi, [rsp + 0x30]
mov ecx, 0x1c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0xb0]
cmp qword [rsp + 0xb8], 0
je 0x14004a216
cmp qword [rsp + 0xd0], 0
je 0x14004a216
mov qword [rsp + 0x60], 1
jmp 0x14004a21f
mov qword [rsp + 0x60], 0
mov r9d, 0x17f
lea r8, [0x1401d9550]
lea rdx, str.fnThreadMain___NULL__hAllocedVolThread___0
mov rcx, qword [rsp + 0x60]
call fcn.14001a3b0
mov rax, qword [rsp + 0xb0]
add rax, 0x28
xor edx, edx
mov rcx, rax
call fcn.14001e2b0
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
cmp rax, 2
jne 0x14004a457
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xd0]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 0x70], rcx
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x78], rcx
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 0x80], rcx
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x50], 0
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x58], 0
mov rax, qword [rsp + 0xb0]
add rax, 0x10
mov rcx, rax
call fcn.14004c6e0
mov rax, qword [rsp + 0xb0]
add rax, 0x20
mov rcx, rax
call fcn.14004c6e0
mov rax, qword [rsp + 0xb0]
add rax, 0x18
mov rcx, rax
call fcn.14004c6c0
mov rax, qword [rsp + 0xb0]
add rax, 0x28
mov rcx, rax
call fcn.14001e300
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
cmp rax, 2
jne 0x14004a34a
mov ecx, 0xa
call fcn.14004c540
jmp 0x14004a32c
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
cmp rax, 3
jne 0x14004a367
mov qword [rsp + 0x68], 1
jmp 0x14004a370
mov qword [rsp + 0x68], 0
mov r9d, 0x194
lea r8, [0x1401d95e0]
lea rdx, str.m_npState___VPTS_CONTINUE
mov rcx, qword [rsp + 0x68]
call fcn.14001a3b0
mov rax, qword [rsp + 0xb0]
add rax, 0x10
mov rcx, rax
call fcn.14004c6e0
mov rax, qword [rsp + 0xb0]
add rax, 0x18
mov rcx, rax
call fcn.14004c6e0
mov rax, qword [rsp + 0xb0]
add rax, 0x20
mov rcx, rax
call fcn.14004c6c0
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
cmp rax, 3
jne 0x14004a3e8
mov ecx, 0xa
call fcn.14004c540
jmp 0x14004a3ca
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
cmp rax, 1
je 0x14004a417
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
cmp rax, 2
je 0x14004a417
mov qword [rsp + 0x70], 0
jmp 0x14004a420
mov qword [rsp + 0x70], 1
mov r9d, 0x19c
lea r8, [0x1401d9660]
lea rdx, [0x1401d96c0]
mov rcx, qword [rsp + 0x70]
call fcn.14001a3b0
mov rax, qword [rsp + 0xb0]
add rax, 0x20
mov rcx, rax
call fcn.14004c6e0
jmp 0x14004a6d1
mov rax, qword [rsp + 0xb0]
add rax, 0x28
mov rcx, rax
call fcn.14001e300
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
cmp rax, 1
jne 0x14004a484
xor eax, eax
jmp 0x14004a6d6
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
test rax, rax
jne 0x14004a4a0
mov qword [rsp + 0x78], 1
jmp 0x14004a4a9
mov qword [rsp + 0x78], 0
mov r9d, 0x1a6
lea r8, [0x1401d9700]
lea rdx, str.m_npState__VPTS_NONE
mov rcx, qword [rsp + 0x78]
call fcn.14001a3b0
mov rcx, qword [rsp + 0xb0]
call fcn.14004acd0
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x70], 0
jne 0x14004a4f1
mov qword [rsp + 0x80], 1
jmp 0x14004a4fd
mov qword [rsp + 0x80], 0
mov r9d, 0x1a9
lea r8, [0x1401d9790]
lea rdx, str.m_fnThreadMain__NULL
mov rcx, qword [rsp + 0x80]
call fcn.14001a3b0
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xb8]
mov qword [rax + 0x70], rcx
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xc0]
mov qword [rax + 0x78], rcx
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xc8]
mov qword [rax + 0x80], rcx
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0xd0]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0xb0]
cmp qword [rax + 0x50], 0
jne 0x14004a59f
mov qword [rsp + 0x88], 1
jmp 0x14004a5ab
mov qword [rsp + 0x88], 0
mov r9d, 0x1b1
lea r8, [0x1401d97f0]
lea rdx, str.m_blpExitThread__FALSE
mov rcx, qword [rsp + 0x88]
call fcn.14001a3b0
lea rax, [rsp + 0x44]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, qword [rsp + 0xb0]
lea r8, [0x14004ad80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rsp + 0x58], rax
cmp qword [rsp + 0x58], 0
jne 0x14004a62c
mov rax, qword [rsp + 0xb0]
mov qword [rax + 0x70], 0
mov rax, qword [rsp + 0xb0]
mov rcx, qword [rsp + 0x30]
mov qword [rax + 8], rcx
xor eax, eax
jmp 0x14004a6d6
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cdqe
mov r9d, 0x1ba
lea r8, [0x1401d98d0]
lea rdx, str.::CloseHandle__hWinThread_
mov rcx, rax
call fcn.14001a3b0
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
test rax, rax
jne 0x14004a672
mov ecx, 0xa
call fcn.14004c540
jmp 0x14004a655
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
cmp rax, 1
je 0x14004a6a4
mov rax, qword [rsp + 0xb0]
mov rax, qword [rax + 0x68]
cmp rax, 2
je 0x14004a6a4
mov qword [rsp + 0x90], 0
jmp 0x14004a6b0
mov qword [rsp + 0x90], 1
mov r9d, 0x1bf
lea r8, [0x1401d9930]
lea rdx, str.m_npState__VPTS_RUNNING__m_npState__VPTS_IDLE
mov rcx, qword [rsp + 0x90]
call fcn.14001a3b0
mov eax, 1
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401dbdd8]
call fcn.1400bf880
mov rax, rdi
add rsp, 0xa0
pop rdi
ret