Function at 0x140001f00
Capabilities:
Create thread

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1b0
mov rax, qword [0x1402bf200]
xor rax, rsp
mov qword [rsp + 0x1a0], rax
mov r13, rcx
mov qword [rsp + 0x40], rcx
xor ebx, ebx
mov dword [rsp + 0x34], ebx
mov edi, ebx
mov dword [rsp + 0x30], ebx
xorps xmm0, xmm0
movups xmmword [rsp + 0xd0], xmm0
mov qword [r11 - 0xf8], rbx
mov qword [r11 - 0xf0], rbx
lea r8d, [rbx + 8]
lea rdx, str.Bprotect
lea rcx, [r11 - 0x108]
call fcn.14002a920
nop
mov esi, 1
mov dword [rsp + 0x34], esi
lea rcx, [rsp + 0xd0]
call fcn.140049330
test al, al
jne 0x140001fe3
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], rbx
mov qword [rsp + 0xc8], rbx
lea r8d, [rbx + 0xa]
lea rdx, str.BprotectEx
lea rcx, [rsp + 0xb0]
call fcn.14002a920
nop
mov esi, 3
mov dword [rsp + 0x34], esi
lea rcx, [rsp + 0xb0]
call fcn.140049330
test al, al
jne 0x140001fe3
xor r14b, r14b
jmp 0x140001fe6
mov r14b, 1
test sil, 2
je 0x140002001
and esi, 0xfffffffd
mov dword [rsp + 0x34], esi
lea rcx, [rsp + 0xb0]
call fcn.14002adf0
nop
test sil, 1
je 0x140002014
lea rcx, [rsp + 0xd0]
call fcn.14002adf0
test r14b, r14b
je 0x140002089
mov edi, 0x32
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x160], 0x45314444
mov dword [rsp + 0x164], 0x45453332
movsd xmm0, qword [str.dump]
movsd qword [rsp + 0x80], xmm0
mov eax, dword [0x14023c298]
mov dword [rsp + 0x88], eax
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x8c], rax
mov dword [rsp + 0x94], 0x5f
lea r8, str.Driver_incompatible_with_debugger_detected.
lea rdx, [rsp + 0x80]
lea ecx, [rdi - 0x2d]
call fcn.14000c230
nop
jmp 0x140002096
test edi, edi
jne 0x14000246d
lea r15, [0x140329500]
mov qword [rsp + 0x50], r15
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x58], 1
mov esi, dword [r13 + 4]
mov dword [rsp + 0xf0], esi
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xf8], xmm0
mov r14, qword [0x1403294f0]
mov rax, qword [r14 + 8]
mov qword [rsp + 0x60], rax
mov dword [rsp + 0x68], ebx
mov rdi, r14
cmp byte [rax + 0x19], 0
jne 0x140002118
nop dword [rax]
mov qword [rsp + 0x60], rax
cmp dword [rax + 0x20], esi
jae 0x140002104
mov dword [rsp + 0x68], ebx
mov rax, qword [rax + 0x10]
jmp 0x140002112
mov dword [rsp + 0x68], 1
mov rdi, rax
mov rax, qword [rax]
cmp byte [rax + 0x19], 0
je 0x1400020f0
cmp byte [rdi + 0x19], 0
jne 0x14000212b
cmp esi, dword [rdi + 0x20]
jb 0x14000212b
xor sil, sil
jmp 0x1400021b2
movabs rax, 0x492492492492492
cmp qword [0x1403294f8], rax
je 0x14000249c
lea rdi, [0x1403294f0]
mov qword [rsp + 0x110], rdi
mov qword [rsp + 0x118], rbx
mov ecx, 0x38
call fcn.14019af70
nop
mov dword [rax + 0x20], esi
mov qword [rax + 0x28], rbx
mov qword [rax + 0x30], rbx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0xf8], xmm0
mov qword [rax], r14
mov qword [rax + 8], r14
mov qword [rax + 0x10], r14
mov word [rax + 0x18], 0
movups xmm0, xmmword [rsp + 0x60]
movaps xmmword [rsp + 0x120], xmm0
mov r8, rax
lea rdx, [rsp + 0x120]
mov rcx, rdi
call fcn.14000a290
mov rdi, rax
mov sil, 1
lea rcx, [rsp + 0xf8]
call fcn.1400060d0
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [rsp + 0x58], 0
test sil, sil
je 0x140002458
xorps xmm0, xmm0
movups xmmword [rsp + 0x180], xmm0
mov ecx, 0x90
call fcn.14019af70
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.140002500
mov r12, rax
mov qword [rsp + 0x40], rax
mov ecx, 0x18
call fcn.14019af70
mov rsi, rax
mov qword [rsp + 0x108], rax
xorps xmm0, xmm0
movups xmmword [rax], xmm0
mov dword [rax + 8], 1
mov dword [rax + 0xc], 1
lea rax, vtable.std::_Ref_count_struct_asw::crashguard::DebugThreadContext_.0
mov qword [rsi], rax
mov qword [rsi + 0x10], r12
mov qword [rsp + 0x180], r12
mov qword [rsp + 0x188], rsi
lea rcx, [r12 + 0x28]
mov rdx, r13
call fcn.1400025c0
lock inc dword [rsi + 8]
mov qword [rdi + 0x28], r12
mov r15, qword [rdi + 0x30]
mov qword [rdi + 0x30], rsi
mov r14d, 0xffffffff
test r15, r15
je 0x1400022aa
mov eax, r14d
lock xadd dword [r15 + 8], eax
cmp eax, 1
jne 0x1400022aa
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax]
call qword [case.0x1400617cf.0]
mov eax, r14d
lock xadd dword [r15 + 0xc], eax
cmp eax, 1
jne 0x1400022aa
mov rax, qword [r15]
mov rcx, r15
mov rax, qword [rax + 8]
call qword [case.0x1400617cf.0]
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov rdi, rax
mov rcx, qword [r12 + 0x88]
test rcx, rcx
je 0x1400022d2
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r12 + 0x88], rdi
test rdi, rdi
je 0x1400024a2
mov ecx, 0x18
call fcn.14019af70
mov qword [rax], rbx
mov qword [rax + 8], rbx
lock inc dword [rsi + 8]
mov qword [rax], r12
mov qword [rax + 8], rsi
lea rcx, [0x140001de0]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x160], rax
lea rcx, [rsp + 0x178]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x14000d050]
xor edx, edx
xor ecx, ecx
call fcn.1401af428
mov rcx, rax
mov qword [rsp + 0x170], rax
test rax, rax
je 0x1400024e4
cmp dword [rsp + 0x178], 0
je 0x1400023e3
mov rax, qword [r12 + 0x88]
mov qword [rsp + 0x190], rax
mov qword [rsp + 0x198], rcx
mov r9d, 0x4e20
xor r8d, r8d
lea rdx, [rsp + 0x190]
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
neg eax
sbb edi, edi
and edi, 0x2db
cmp dword [rsp + 0x178], 0
je 0x1400024d3
movaps xmm0, xmmword [rsp + 0x170]
movdqa xmmword [rsp + 0x130], xmm0
lea rcx, [rsp + 0x130]
call fcn.140197220
test eax, eax
jne 0x1400024d3
xorps xmm0, xmm0
movaps xmmword [rsp + 0x60], xmm0
movdqa xmmword [rsp + 0x170], xmm0
lea r15, [0x140329500]
jmp 0x140002410
mov edi, 0x52
lea r15, [0x140329500]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [rsp + 0x58], 1
mov eax, dword [r13 + 4]
mov dword [rsp + 0x30], eax
lea rdx, [rsp + 0x30]
call fcn.1400061c0
nop
cmp dword [rsp + 0x178], 0
jne 0x1400024de
mov eax, r14d
lock xadd dword [rsi + 8], eax
cmp eax, 1
jne 0x14000245d
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax]
call qword [case.0x1400617cf.0]
lock xadd dword [rsi + 0xc], r14d
cmp r14d, 1
jne 0x14000245d
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 8]
call qword [case.0x1400617cf.0]
jmp 0x14000245d
mov edi, 0xb7
cmp byte [rsp + 0x58], 0
je 0x14000246d
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
mov rcx, qword [rsp + 0x1a0]
xor rcx, rsp
call fcn.14019acb0
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
call fcn.140022e60
nop
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea r8, str.Unable_to_create_sync_event
lea rcx, [rsp + 0x140]
call fcn.140002660
lea rdx, [0x1402ba3c0]
lea rcx, [rsp + 0x140]
call fcn.14019cd80
nop
mov ecx, 1
call fcn.1401971d8
nop
call fcn.1401a9d48
nop
mov dword [rsp + 0x178], ebx
mov ecx, 6
call fcn.1401971d8
int3