Function at 0x14001ffec
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x140057010]
xor rax, rsp
mov qword [rsp + 0x50], rax
mov rdi, qword [rsp + 0xd8]
mov r15, rdx
mov r14, rcx
mov r12d, 1
lock xadd dword [0x140059d18], r12d
xor r13d, r13d
lea rax, [0x140018e7c]
mov qword [rcx + 8], rax
inc r12d
mov rax, qword [rsp + 0xc0]
mov ebx, r13d
mov qword [rcx + 0x10], rax
mov eax, dword [rsp + 0xd0]
lea ebp, [r13 + 7]
mov dword [rcx + 0xa8], eax
mov dword [rcx + 0xc0], ebp
mov qword [rcx], r13
mov qword [rcx + 0x80], r13
mov qword [rcx + 0x88], r13
mov qword [rcx + 0x90], r13
mov qword [rcx + 0x98], r13
mov qword [rcx + 0xa0], r13
mov qword [rcx + 0xb0], r13
mov qword [rcx + 0xb8], r13
mov qword [rcx + 0xc8], r13
mov qword [rcx + 0xd0], r13
mov qword [rcx + 0xd8], r13
mov qword [rcx + 0xe0], r13
mov byte [rcx + 0xe8], r13b
mov qword [rcx + 0x118], r13
mov qword [rcx + 0x120], r13
mov dword [rcx + 0x128], r13d
mov qword [rcx + 0x130], r13
mov qword [rcx + 0x138], r13
mov word [rcx + 0x140], r13w
mov byte [rcx + 0x142], r13b
test rdi, rdi
je 0x140020202
mov ecx, 0x370
call fcn.140039864
mov ebx, dword [r14 + 0xa8]
mov rsi, rax
or r8, 0xffffffffffffffff
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rbp
mov word [rax], r13w
inc r8
cmp word [rdi + r8*2], r13w
jne 0x140020119
mov rdx, rdi
mov rcx, rsi
call fcn.14000f8d0
xorps xmm0, xmm0
mov qword [rsi + 0x20], r13
movups xmmword [rsi + 0x28], xmm0
lea rcx, [rsi + 0x68]
mov dword [rsi + 0x38], ebx
xor edx, edx
mov qword [rsi + 0x40], r13
mov r8d, 0x308
mov qword [rsi + 0x48], r13
mov qword [rsi + 0x50], r13
mov qword [rsi + 0x58], r13
mov qword [rsi + 0x60], r13
call fcn.140022290
mov rax, qword [rsp + 0xf0]
test rax, rax
je 0x140020176
movups xmm0, xmmword [rax]
movdqu xmmword [rsi + 0x28], xmm0
mov rbx, rsi
cmp qword [rsi + 0x40], r13
jne 0x1400201ab
mov rcx, rsi
call fcn.140021224
mov rbp, rax
test rax, rax
je 0x140020202
mov rdx, rax
mov rcx, rsi
call fcn.1400212f4
mov rcx, rbp
mov dil, al
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
je 0x140020202
mov rdi, qword [r14 + 0x18]
mov rbx, r13
cmp rsi, rdi
je 0x140020202
test rdi, rdi
je 0x1400201fe
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x1400201cb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x1400201da
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x1400201e9
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.14000f86c
mov edx, 0x370
mov rcx, rdi
call fcn.14002192c
mov qword [r14 + 0x18], rsi
cmp qword [r14 + 0x18], r13
jne 0x14002031f
lea rcx, [r14 + 0xf0]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
xor r9d, r9d
xor edx, edx
xor ecx, ecx
mov qword [r14 + 0x118], rax
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [r14 + 0x120], rax
test rax, rax
je 0x140020284
cmp qword [r14 + 0x118], r13
je 0x140020284
lea rax, [rsp + 0x30]
mov r9, r14
mov qword [rsp + 0x28], rax
lea r8, [0x140020770]
mov edx, 0x10000
mov dword [rsp + 0x20], r13d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [r14 + 0xe0], rax
lea rcx, str.dbghelp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [r14 + 0x98], rax
test rax, rax
je 0x1400202b4
lea rdx, str.MiniDumpWriteDump
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0xa0], rax
lea rcx, str.rpcrt4.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [r14 + 0xb0], rax
test rax, rax
je 0x1400202e4
lea rdx, [0x1400507a8]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0xb8], rax
lea rdi, [r14 + 0x20]
cmp rdi, r15
je 0x140020306
cmp qword [r15 + 0x18], 8
mov r8, qword [r15 + 0x10]
jb 0x1400202fb
mov r15, qword [r15]
mov rdx, r15
mov rcx, rdi
call fcn.14000f8d0
cmp qword [rdi + 0x18], 8
jb 0x140020310
mov rdi, qword [rdi]
mov rcx, r14
mov qword [r14 + 0x80], rdi
call fcn.1400210e0
mov rdi, qword [r14 + 0x148]
movabs rax, 0x7ffffffffffffff
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], r13d
cmp qword [r14 + 0x150], rax
je 0x14002048e
mov rsi, qword [rdi + 8]
mov ecx, 0x20
call fcn.140039864
movups xmm0, xmmword [rsp + 0x40]
movdqu xmmword [rax + 0x10], xmm0
mov qword [rax], rdi
mov qword [rax + 8], rsi
inc qword [r14 + 0x150]
mov qword [rdi + 8], rax
lea rdi, [0x140059ae8]
mov qword [rsi], rax
cmp r12d, 1
jne 0x14002038a
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x140059d20]
test rax, rax
jne 0x1400203b9
lea ecx, [rax + 0x18]
call fcn.140039864
mov qword [0x140059d20], rax
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov rdx, qword [rax + 8]
mov qword [rsp + 0x38], r14
cmp qword [rax + 0x10], rdx
je 0x1400203d2
mov qword [rdx], r14
add qword [rax + 8], 8
jmp 0x1400203df
lea r8, [rsp + 0x38]
mov rcx, rax
call fcn.140012648
lea rcx, [0x1400208ac]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400209dc]
mov qword [r14 + 0xc8], rax
call fcn.14002556c
lea rcx, [0x140020bac]
mov qword [r14 + 0xd0], rax
call fcn.140023250
mov rcx, rdi
mov qword [r14 + 0xd8], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140020469
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x140020436
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140020445
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x140020454
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.14000f86c
mov edx, 0x370
mov rcx, rbx
call fcn.14002192c
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140021680
mov rbx, qword [rsp + 0xb0]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
lea rcx, str.list_T__too_long
call fcn.140039b04
int3