Function at 0x14001ffb0
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 [0x140059cfc], 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 0x1400201c6
mov ecx, 0x370
call fcn.140039824
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 0x1400200dd
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.140022250
mov rax, qword [rsp + 0xf0]
test rax, rax
je 0x14002013a
movups xmm0, xmmword [rax]
movdqu xmmword [rsi + 0x28], xmm0
mov rbx, rsi
cmp qword [rsi + 0x40], r13
jne 0x14002016f
mov rcx, rsi
call fcn.1400211e8
mov rbp, rax
test rax, rax
je 0x1400201c6
mov rdx, rax
mov rcx, rsi
call fcn.1400212b8
mov rcx, rbp
mov dil, al
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test dil, dil
je 0x1400201c6
mov rdi, qword [r14 + 0x18]
mov rbx, r13
cmp rsi, rdi
je 0x1400201c6
test rdi, rdi
je 0x1400201c2
mov rcx, qword [rdi + 0x40]
test rcx, rcx
je 0x14002018f
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x48]
test rcx, rcx
je 0x14002019e
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rdi + 0x50]
test rcx, rcx
je 0x1400201ad
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call fcn.14000f86c
mov edx, 0x370
mov rcx, rdi
call fcn.1400218ec
mov qword [r14 + 0x18], rsi
cmp qword [r14 + 0x18], r13
jne 0x1400202e3
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 0x140020248
cmp qword [r14 + 0x118], r13
je 0x140020248
lea rax, [rsp + 0x30]
mov r9, r14
mov qword [rsp + 0x28], rax
lea r8, [0x140020734]
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 0x140020278
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 0x1400202a8
lea rdx, [0x140050798]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [r14 + 0xb8], rax
lea rdi, [r14 + 0x20]
cmp rdi, r15
je 0x1400202ca
cmp qword [r15 + 0x18], 8
mov r8, qword [r15 + 0x10]
jb 0x1400202bf
mov r15, qword [r15]
mov rdx, r15
mov rcx, rdi
call fcn.14000f8d0
cmp qword [rdi + 0x18], 8
jb 0x1400202d4
mov rdi, qword [rdi]
mov rcx, r14
mov qword [r14 + 0x80], rdi
call fcn.1400210a4
mov rdi, qword [r14 + 0x148]
movabs rax, 0x7ffffffffffffff
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x48], r13d
cmp qword [r14 + 0x150], rax
je 0x140020452
mov rsi, qword [rdi + 8]
mov ecx, 0x20
call fcn.140039824
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, [0x140059d00]
mov qword [rsi], rax
cmp r12d, 1
jne 0x14002034e
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x140059cf0]
test rax, rax
jne 0x14002037d
lea ecx, [rax + 0x18]
call fcn.140039824
mov qword [0x140059cf0], 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 0x140020396
mov qword [rdx], r14
add qword [rax + 8], 8
jmp 0x1400203a3
lea r8, [rsp + 0x38]
mov rcx, rax
call fcn.140012648
lea rcx, [0x140020870]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
lea rcx, [0x1400209a0]
mov qword [r14 + 0xc8], rax
call fcn.14002552c
lea rcx, [0x140020b70]
mov qword [r14 + 0xd0], rax
call fcn.140023210
mov rcx, rdi
mov qword [r14 + 0xd8], rax
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test rbx, rbx
je 0x14002042d
mov rcx, qword [rbx + 0x40]
test rcx, rcx
je 0x1400203fa
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x48]
test rcx, rcx
je 0x140020409
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbx + 0x50]
test rcx, rcx
je 0x140020418
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call fcn.14000f86c
mov edx, 0x370
mov rcx, rbx
call fcn.1400218ec
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.140021640
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.140039ac4
int3