Function at 0x14001fc0c
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 [0x140059cf4], r12d
xor r13d, r13d
lea rax, [0x140018a58]
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 0x14001fe22
mov ecx, 0x370
call fcn.140039484
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 0x14001fd39
mov rdx, rdi
mov rcx, rsi
call fcn.14000f4ac
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.140021eb0
mov rax, qword [rsp + 0xf0]
test rax, rax
je 0x14001fd96
movups xmm0, xmmword [rax]
movdqu xmmword [rsi + 0x28], xmm0
mov rbx, rsi
cmp qword [rsi + 0x40], r13
jne 0x14001fdcb
mov rcx, rsi
call fcn.140020e44
mov rbp, rax
test rax, rax
je 0x14001fe22
mov rdx, rax
mov rcx, rsi
call fcn.140020f14
mov rcx, rbp
mov dil, al
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
je 0x14001fe22
mov rdi, qword [r14 + 0x18]
mov rbx, r13
cmp rsi, rdi
je 0x14001fe22
test rdi, rdi
je 0x14001fe1e
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x14001fdeb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x14001fdfa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x14001fe09
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.14000f448
mov edx, 0x370
mov rcx, rdi
call fcn.14002154c
mov qword [r14 + 0x18], rsi
cmp qword [r14 + 0x18], r13
jne 0x14001ff3f
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 0x14001fea4
cmp qword [r14 + 0x118], r13
je 0x14001fea4
lea rax, [rsp + 0x30]
mov r9, r14
mov qword [rsp + 0x28], rax
lea r8, [0x140020390]
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 0x14001fed4
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 0x14001ff04
lea rdx, [0x140050758]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0xb8], rax
lea rdi, [r14 + 0x20]
cmp rdi, r15
je 0x14001ff26
cmp qword [r15 + 0x18], 8
mov r8, qword [r15 + 0x10]
jb 0x14001ff1b
mov r15, qword [r15]
mov rdx, r15
mov rcx, rdi
call fcn.14000f4ac
cmp qword [rdi + 0x18], 8
jb 0x14001ff30
mov rdi, qword [rdi]
mov rcx, r14
mov qword [r14 + 0x80], rdi
call fcn.140020d00
mov rdi, qword [r14 + 0x148]
movabs rax, 0x7ffffffffffffff
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], r13d
cmp qword [r14 + 0x150], rax
je 0x1400200ae
mov rsi, qword [rdi + 8]
mov ecx, 0x20
call fcn.140039484
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, [0x140059cf8]
mov qword [rsi], rax
cmp r12d, 1
jne 0x14001ffaa
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 0x14001ffd9
lea ecx, [rax + 0x18]
call fcn.140039484
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 0x14001fff2
mov qword [rdx], r14
add qword [rax + 8], 8
jmp 0x14001ffff
lea r8, [rsp + 0x38]
mov rcx, rax
call fcn.140012224
lea rcx, [0x1400204cc]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400205fc]
mov qword [r14 + 0xc8], rax
call fcn.14002518c
lea rcx, [0x1400207cc]
mov qword [r14 + 0xd0], rax
call fcn.140022e70
mov rcx, rdi
mov qword [r14 + 0xd8], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x140020089
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x140020056
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140020065
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x140020074
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.14000f448
mov edx, 0x370
mov rcx, rbx
call fcn.14002154c
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400212a0
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.140039724
int3