Function at 0x1400993b0
Capabilities:
Create thread

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x50
mov r14, rdx
mov rdi, rcx
mov r12d, 1
lock xadd dword [0x1400e99b4], r12d
inc r12d
mov qword [rcx], r8
mov qword [rcx + 8], r9
mov rax, qword [rsp + 0xa0]
mov qword [rcx + 0x10], rax
xor r13d, r13d
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 eax, dword [rsp + 0xb0]
mov dword [rcx + 0xa8], eax
mov qword [rcx + 0xb0], r13
mov qword [rcx + 0xb8], r13
mov r15d, dword [rsp + 0xa8]
mov dword [rcx + 0xc0], r15d
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
mov ebx, r13d
mov qword [rsp + 0xa0], rbx
mov rax, qword [rsp + 0xc8]
test rax, rax
jne 0x140099533
mov rsi, qword [rsp + 0xb8]
test rsi, rsi
je 0x1400994f0
mov ecx, 0x370
call fcn.1400a3a40
mov qword [rsp + 0xc8], rax
mov r9, qword [rsp + 0xd0]
mov r8d, dword [rdi + 0xa8]
mov rdx, rsi
mov rcx, rax
call fcn.1400a2b30
nop
jmp 0x14009952e
mov rsi, qword [rsp + 0xc0]
test rsi, rsi
je 0x140099584
mov ecx, 0x370
call fcn.1400a3a40
mov qword [rsp + 0xc8], rax
mov r9, qword [rsp + 0xd0]
mov r8d, dword [rdi + 0xa8]
mov rdx, rsi
mov rcx, rax
call fcn.1400a2ab0
nop
test rax, rax
je 0x140099584
mov rbx, rax
mov qword [rsp + 0xa0], rax
test rax, rax
je 0x140099584
mov rcx, rax
call fcn.1400a2e20
test al, al
je 0x140099584
mov rbp, rbx
mov rbx, r13
mov qword [rsp + 0xa0], rbx
mov rsi, qword [rdi + 0x18]
cmp rbp, rsi
je 0x140099584
test rsi, rsi
je 0x140099580
mov rcx, rsi
call fcn.1400a2ce0
mov edx, 0x370
mov rcx, rsi
call fcn.1400a35d4
mov qword [rdi + 0x18], rbp
cmp qword [rdi + 0x18], 0
jne 0x1400996a6
lea rcx, [rdi + 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]
mov qword [rdi + 0x118], rax
xor r9d, r9d
xor edx, edx
xor ecx, ecx
lea r8d, [r9 + 1]
call qword [sym.imp.KERNEL32.dll_CreateSemaphoreW]
mov qword [rdi + 0x120], rax
test rax, rax
je 0x14009960b
cmp qword [rdi + 0x118], 0
je 0x14009960b
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9, rdi
lea r8, [0x140098c40]
mov edx, 0x10000
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rdi + 0xe0], rax
lea rcx, str.dbghelp.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rdi + 0x98], rax
test rax, rax
je 0x14009963b
lea rdx, str.MiniDumpWriteDump
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xa0], rax
lea rcx, str.rpcrt4.dll
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov qword [rdi + 0xb0], rax
test rax, rax
je 0x14009966b
lea rdx, str.UuidCreate
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov qword [rdi + 0xb8], rax
lea rsi, [rdi + 0x20]
cmp rsi, r14
je 0x14009968d
mov r8, qword [r14 + 0x10]
cmp qword [r14 + 0x18], 7
jbe 0x140099682
mov r14, qword [r14]
mov rdx, r14
mov rcx, rsi
call fcn.140099ea0
cmp qword [rsi + 0x18], 7
jbe 0x140099697
mov rsi, qword [rsi]
mov qword [rdi + 0x80], rsi
mov rcx, rdi
call fcn.1400998b0
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x38], r13d
lea rsi, [rdi + 0x148]
mov rbp, qword [rsi]
movabs rax, 0x7ffffffffffffff
cmp qword [rsi + 8], rax
je 0x14009980f
mov qword [rsp + 0x40], rsi
mov qword [rsp + 0x48], r13
mov ecx, 0x20
call fcn.1400a3a40
movups xmm0, xmmword [rsp + 0x30]
movups xmmword [rax + 0x10], xmm0
inc qword [rsi + 8]
mov rcx, qword [rbp + 8]
mov qword [rax], rbp
mov qword [rax + 8], rcx
mov qword [rbp + 8], rax
mov qword [rcx], rax
cmp r12d, 1
jne 0x140099714
lea rcx, [0x1400e99b8]
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
test r15d, r15d
je 0x1400997d7
lea rcx, [0x1400e99b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x1400e99a8]
test rax, rax
jne 0x140099750
lea ecx, [rax + 0x18]
call fcn.1400a3a40
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rax + 0x10], r13
mov qword [0x1400e99a8], rax
mov qword [rsp + 0xc8], rdi
mov rdx, qword [rax + 8]
cmp rdx, qword [rax + 0x10]
je 0x14009976c
mov qword [rdx], rdi
add qword [rax + 8], 8
jmp 0x14009977c
lea r8, [rsp + 0xc8]
mov rcx, rax
call fcn.1400534a0
test r15b, 1
je 0x140099796
lea rcx, [0x140098d50]
call qword [sym.imp.KERNEL32.dll_SetUnhandledExceptionFilter]
mov qword [rdi + 0xc8], rax
test r15b, 2
je 0x1400997b0
lea rcx, [0x140098ec0]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__set_invalid_parameter_handler]
mov qword [rdi + 0xd0], rax
test r15b, 4
je 0x1400997c9
lea rcx, [0x1400990b0]
call sub.VCRUNTIME140.dll__set_purecall_handler
mov qword [rdi + 0xd8], rax
lea rcx, [0x1400e99b8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop
test rbx, rbx
je 0x1400997f1
mov rcx, rbx
call fcn.1400a2ce0
mov edx, 0x370
mov rcx, rbx
call fcn.1400a35d4
lea r11, [rsp + 0x50]
mov rbx, qword [r11 + 0x30]
mov rbp, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
lea rcx, str.list_too_long
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const____ptr64_
int3