Function at 0x14002bd20
Capabilities:
Check for peb beingdebugged flag
Check os version

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1b8]
sub rsp, 0x280
mov qword [rbp + 0xa0], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1400481f8]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov r12, rdx
mov rsi, rcx
mov ecx, 8
mov rax, qword gs:[0x58]
mov r8, qword [rax]
lea rax, str.CTieredVolume::ProcessVolumeTables
mov qword [rcx + r8], rax
lea rcx, [rsp + 0x48]
call fcn.14000865c
nop
xor r14d, r14d
mov byte [rsp + 0x40], r14b
mov byte [rsp + 0x41], r14b
mov r13d, r14d
mov qword [rsp + 0x68], r14
mov qword [rbp - 0x80], r14
mov qword [rsp + 0x78], r14
mov qword [rsp + 0x70], r14
mov byte [rbp - 0x20], r14b
mov word [rbp], r14w
mov byte [rbp + 2], r14b
mov qword [rbp + 8], r14
mov byte [rbp + 0x10], r14b
mov byte [rbp + 0xb0], r14b
mov word [rbp + 0xd0], r14w
mov byte [rbp + 0xd2], r14b
mov qword [rbp + 0xd8], r14
mov byte [rbp + 0xe0], r14b
mov byte [rbp + 0x40], r14b
mov word [rbp + 0x60], r14w
mov byte [rbp + 0x62], r14b
mov qword [rbp + 0x68], r14
mov byte [rbp + 0x70], r14b
mov byte [rbp - 0x60], r14b
mov word [rbp - 0x40], r14w
mov byte [rbp - 0x3e], r14b
mov qword [rbp - 0x38], r14
mov byte [rbp - 0x30], r14b
mov qword [rsi + 0x210], r14
mov qword [rsi + 0x218], r14
mov qword [rsi + 0x108], r14
mov qword [rsi + 0x110], r14
mov qword [rsi + 0xc0], r14
mov qword [rsi + 0xc8], r14
mov qword [rsp + 0x60], r14
mov byte [rsp + 0x5c], r14b
lea rcx, [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_realtime_l1_1_0.dll_QueryUnbiasedInterruptTime]
mov r9d, dword [rsi + 0xb8]
movabs rdx, 0x200000000000
lea ebx, [r14 + 1]
lea r15d, [r14 + 2]
cmp r9d, 3
je 0x14002bec9
mov r8d, 0x80830006
mov edi, r8d
mov dword [rsp + 0x50], r8d
lea r14, [0x140048138]
mov rcx, qword [0x140048138]
mov r12d, ebx
cmp rcx, r14
je 0x14002ca4d
test byte [rcx + 0x1c], bl
je 0x14002ca4d
cmp byte [rcx + 0x19], r15b
jb 0x14002ca4d
lea edx, [rbx + 9]
mov dword [rsp + 0x28], r8d
lea rax, [rsi + 0x90]
mov qword [rsp + 0x20], rax
mov rcx, qword [rcx + 0x10]
call fcn.14002aa5c
jmp 0x14002ca4d
cmp dword [0x1400480a0], 5
jbe 0x14002bf66
test qword [0x1400480b0], rdx
je 0x14002bf66
mov rax, qword [0x1400480b8]
and rax, rdx
cmp rax, qword [0x1400480b8]
jne 0x14002bf66
mov word [rsp + 0x42], r9w
lea rax, [rsp + 0x42]
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], r15
lea rax, [rbp + 0x168]
mov qword [rbp + 0x150], rax
mov qword [rbp + 0x158], r15
movzx ecx, word [rsi + 0x2b8]
mov rax, qword [rsi + 0x2c0]
mov qword [rbp + 0x160], rax
mov dword [rbp + 0x168], ecx
mov dword [rbp + 0x16c], r14d
lea rax, [rbp + 0x120]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
lea rdx, [0x140041ac8]
call fcn.140001078
call qword [sym.imp.ntdll.dll_RtlGetThreadErrorMode]
or eax, 0x10
lea rdx, [rsp + 0x58]
mov ecx, eax
call qword [sym.imp.ntdll.dll_RtlSetThreadErrorMode]
movzx ecx, byte [rsp + 0x5c]
test eax, eax
cmovns ecx, ebx
mov byte [rsp + 0x5c], cl
lea rbx, [rsi + 0x18]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
cmp byte [rsi + 0x2d1], r14b
jne 0x14002c005
mov edi, 0x80830002
mov dword [rsp + 0x50], edi
lea r14, [0x140048138]
mov rcx, qword [0x140048138]
mov r12d, 1
cmp rcx, r14
je 0x14002bfee
test byte [rcx + 0x1c], r12b
je 0x14002bfee
cmp byte [rcx + 0x19], r15b
jb 0x14002bfee
lea edx, [r12 + 0xa]
mov dword [rsp + 0x20], edi
mov r9d, dword [rsi + 0x80]
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.140001628
test rbx, rbx
je 0x14002ca4d
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
jmp 0x14002ca4d
mov dword [rbp + 0x120], 0x30
mov qword [rbp + 0x128], r14
lea rax, [rsi + 0x90]
mov qword [rbp + 0x130], rax
mov dword [rbp + 0x138], 0xc0
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x140], xmm0
mov dword [rsp + 0x28], 0x21
mov dword [rsp + 0x20], 7
lea r9, [rbp + 0x110]
lea r8, [rbp + 0x120]
mov edx, 0x100080
lea rcx, [rsp + 0x60]
call qword [sym.imp.ntdll.dll_NtOpenFile]
mov r15d, eax
test rbx, rbx
je 0x14002c078
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
test r15d, r15d
jns 0x14002c0df
mov edi, r15d
bts edi, 0x1c
mov dword [rsp + 0x50], edi
lea r14, [0x140048138]
mov rcx, qword [0x140048138]
mov r12d, 1
cmp rcx, r14
je 0x14002ca47
test byte [rcx + 0x1c], r12b
je 0x14002ca47
cmp byte [rcx + 0x19], 2
jb 0x14002ca47
lea edx, [r12 + 0xb]
mov dword [rsp + 0x20], r15d
lea r9, [rsi + 0x90]
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.140008b3c
jmp 0x14002ca47
lea r15, [rsi + 0x4a0]
mov rdx, r15
lea rcx, [rbp - 0x20]
call fcn.1400187f8
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002c157
lea r14, [0x140048138]
mov rcx, qword [0x140048138]
mov r12d, 1
lea r15d, [r12 + 1]
cmp rcx, r14
je 0x14002ca4d
test byte [rcx + 0x1c], r12b
je 0x14002ca4d
cmp byte [rcx + 0x19], r15b
jb 0x14002ca4d
lea edx, [r12 + 0xc]
mov dword [rsp + 0x20], eax
lea r9, [rsi + 0x2a0]
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.140008b3c
jmp 0x14002ca4d
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.14001888c
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002c1c7
lea r14, [0x140048138]
mov rcx, qword [0x140048138]
mov r12d, 1
lea r15d, [r12 + 1]
cmp rcx, r14
je 0x14002c1b6
test byte [rcx + 0x1c], r12b
je 0x14002c1b6
cmp byte [rcx + 0x19], r15b
jb 0x14002c1b6
lea r9, [rsi + 0x2a0]
lea edx, [r12 + 0xd]
mov dword [rsp + 0x20], eax
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.140008b3c
mov dl, r12b
lea rcx, [rbp - 0x20]
call fcn.140019fb0
jmp 0x14002ca4d
cmp qword [rsi + 0x60], r14
je 0x14002c9fd
cmp qword [rsi + 0x118], r14
je 0x14002c9fd
cmp qword [rsi + 0x120], r14
je 0x14002c9fd
cmp byte [rsi + 0xa3], r14b
jne 0x14002c382
lea r14, [0x140048138]
mov rcx, qword [0x140048138]
cmp rcx, r14
je 0x14002c233
test byte [rcx + 0x1c], 1
je 0x14002c233
cmp byte [rcx + 0x19], 4
jb 0x14002c233
lea r9, [rsi + 0x2a0]
mov edx, 0x10
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.14000a010
xor edx, edx
mov rcx, rsi
call fcn.140012fd0
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002c292
mov rcx, qword [0x140048138]
mov r12d, 1
cmp rcx, r14
je 0x14002ca47
test byte [rcx + 0x1c], r12b
je 0x14002ca47
cmp byte [rcx + 0x19], 4
jb 0x14002ca47
lea r9, [rsi + 0x2a0]
lea edx, [r12 + 0x10]
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.14000a010
jmp 0x14002ca47
lea r9, [rsp + 0x41]
mov r8, r12
lea rdx, [rbp - 0x20]
mov rcx, qword [rbp + 8]
call fcn.1400343a0
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002c2ce
mov rcx, qword [0x140048138]
cmp rcx, r14
je 0x14002c306
test byte [rcx + 0x1c], 1
je 0x14002c306
cmp byte [rcx + 0x19], 2
jb 0x14002c306
mov edx, 0x12
jmp 0x14002c2eb
mov rcx, qword [0x140048138]
cmp rcx, r14
je 0x14002c306
test byte [rcx + 0x1c], 1
je 0x14002c306
cmp byte [rcx + 0x19], 2
jb 0x14002c306
mov edx, 0x13
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x80]
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.140001628
cmp byte [r12], 0
jne 0x14002c37a
mov dl, 1
mov rcx, rsi
call fcn.14000c4ec
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002c375
mov rcx, qword [0x140048138]
mov r12d, 1
lea r15d, [r12 + 1]
cmp rcx, r14
je 0x14002c1b6
test byte [rcx + 0x1c], r12b
je 0x14002c1b6
cmp byte [rcx + 0x19], r15b
jb 0x14002c1b6
lea edx, [r12 + 0x13]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x80]
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.140001628
jmp 0x14002c1b6
mov byte [r12], 1
mov r12d, 1
jmp 0x14002c3c3
lea r14, [0x140048138]
mov rcx, qword [0x140048138]
mov r12d, 1
cmp rcx, r14
je 0x14002c3ca
test byte [rcx + 0x1c], r12b
je 0x14002c3ca
cmp byte [rcx + 0x19], 4
jb 0x14002c3ca
lea r9, [rsi + 0x2a0]
lea edx, [r12 + 0x14]
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.14000a010
cmp byte [rsp + 0x41], 0
jne 0x14002c3d6
mov dl, r12b
lea rcx, [rbp - 0x20]
call fcn.140019fb0
mov rdx, r15
lea rcx, [rbp + 0x40]
call fcn.1400187f8
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002c41f
mov rcx, qword [0x140048138]
mov r15d, 2
cmp rcx, r14
je 0x14002ca4d
test byte [rcx + 0x1c], r12b
je 0x14002ca4d
cmp byte [rcx + 0x19], r15b
jb 0x14002ca4d
lea edx, [r15 + 0x14]
jmp 0x14002c137
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.14001888c
mov edi, eax
mov dword [rsp + 0x50], eax
xor eax, eax
test edi, edi
jns 0x14002c46a
mov rcx, qword [0x140048138]
lea r15d, [rax + 2]
cmp rcx, r14
je 0x14002ca4d
test byte [rcx + 0x1c], r12b
je 0x14002ca4d
cmp byte [rcx + 0x19], r15b
jb 0x14002ca4d
lea edx, [rax + 0x17]
mov dword [rsp + 0x20], edi
jmp 0x14002c13b
mov dword [rsi + 0x138], eax
cmp qword [rsi + 0x118], rax
ja 0x14002c4b7
cmp qword [rsi + 0x120], rax
ja 0x14002c4b7
mov rcx, qword [0x140048138]
cmp rcx, r14
je 0x14002ca3e
test byte [rcx + 0x1c], r12b
je 0x14002ca3e
cmp byte [rcx + 0x19], 3
jb 0x14002ca3e
lea r9, [rsi + 0x2a0]
mov edx, 0x18
jmp 0x14002ca2e
mov al, byte [rsi + 0x2d9]
neg al
sbb rdx, rdx
and edx, 0xa0
add rdx, 0x540
add rdx, rsi
lea rcx, [rbp - 0x60]
call fcn.1400187f8
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002c518
mov rcx, qword [0x140048138]
mov r15d, 2
cmp rcx, r14
je 0x14002ca4d
test byte [rcx + 0x1c], r12b
je 0x14002ca4d
cmp byte [rcx + 0x19], r15b
jb 0x14002ca4d
lea edx, [r15 + 0x17]
jmp 0x14002c137
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.14001888c
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002c560
mov rcx, qword [0x140048138]
mov r15d, 2
cmp rcx, r14
je 0x14002ca4d
test byte [rcx + 0x1c], r12b
je 0x14002ca4d
cmp byte [rcx + 0x19], r15b
jb 0x14002ca4d
lea edx, [r15 + 0x18]
jmp 0x14002c137
cmp byte [rsi + 0x2d9], 0
je 0x14002c5b1
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.140031c9c
test eax, eax
jns 0x14002c5b1
mov rcx, qword [0x140048138]
cmp rcx, r14
je 0x14002c5b1
test byte [rcx + 0x1c], r12b
je 0x14002c5b1
cmp byte [rcx + 0x19], 2
jb 0x14002c5b1
lea r9, [rsi + 0x2a0]
mov edx, 0x1b
mov dword [rsp + 0x20], eax
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.140008b3c
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x78]
mov edx, r12d
mov rcx, rsi
call fcn.140032efc
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002c603
mov rcx, qword [0x140048138]
mov r15d, 2
cmp rcx, r14
je 0x14002ca4d
test byte [rcx + 0x1c], r12b
je 0x14002ca4d
cmp byte [rcx + 0x19], r15b
jb 0x14002ca4d
lea edx, [r15 + 0x1a]
jmp 0x14002c137
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
mov rcx, qword [rsi + 0x50]
jmp 0x14002c625
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rcx]
cmp byte [rdx + 0x24], 0
je 0x14002c625
mov eax, dword [rdx + 0x20]
add r13, rax
test rcx, rcx
jne 0x14002c612
test rbx, rbx
je 0x14002c638
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
mov rcx, qword [0x140048138]
cmp rcx, r14
je 0x14002c66d
test byte [rcx + 0x1c], r12b
je 0x14002c66d
cmp byte [rcx + 0x19], 5
jb 0x14002c66d
lea rax, [rsi + 0x2a0]
mov edx, 0x1d
mov qword [rsp + 0x20], rax
mov r9, r13
mov rcx, qword [rcx + 0x10]
call fcn.14002b07c
lea rax, [rsp + 0x68]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea r9, [rbp + 0x40]
lea r8, [rbp - 0x60]
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call fcn.14002cc50
mov ebx, eax
test eax, eax
jns 0x14002c6de
mov rcx, qword [0x140048138]
cmp rcx, r14
je 0x14002c6d3
test byte [rcx + 0x1c], r12b
je 0x14002c6d3
cmp byte [rcx + 0x19], 2
jb 0x14002c6d3
lea r9, [rsi + 0x2a0]
mov edx, 0x1e
mov dword [rsp + 0x20], eax
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.140008b3c
mov byte [rsp + 0x40], r12b
mov dword [rsi + 0x220], ebx
mov r9d, dword [rsi + 0xb8]
cmp r9d, 3
je 0x14002c72c
mov r8d, 0x80830006
mov edi, r8d
mov dword [rsp + 0x50], r8d
mov rcx, qword [0x140048138]
mov r15d, 2
cmp rcx, r14
je 0x14002ca4d
test byte [rcx + 0x1c], r12b
je 0x14002ca4d
cmp byte [rcx + 0x19], r15b
jb 0x14002ca4d
lea edx, [r15 + 0x1d]
jmp 0x14002beaa
mov rdx, r15
lea rcx, [rbp + 0xb0]
call fcn.1400187f8
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002c778
mov rcx, qword [0x140048138]
mov r15d, 2
cmp rcx, r14
je 0x14002ca4d
test byte [rcx + 0x1c], r12b
je 0x14002ca4d
cmp byte [rcx + 0x19], r15b
jb 0x14002ca4d
lea edx, [r15 + 0x1e]
jmp 0x14002c137
mov dl, r12b
lea rcx, [rbp + 0xb0]
call fcn.14001888c
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002c7c4
mov rcx, qword [0x140048138]
mov r15d, 2
cmp rcx, r14
je 0x14002ca4d
test byte [rcx + 0x1c], r12b
je 0x14002ca4d
cmp byte [rcx + 0x19], r15b
jb 0x14002ca4d
lea edx, [r15 + 0x1f]
jmp 0x14002c137
mov rcx, qword [0x140048138]
cmp rcx, r14
je 0x14002c7f8
test byte [rcx + 0x1c], r12b
je 0x14002c7f8
cmp byte [rcx + 0x19], 4
jb 0x14002c7f8
lea r9, [rsi + 0x2a0]
mov edx, 0x22
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.14000a010
mov dword [rsi + 0xb8], 4
lea r8, [rbp + 0x40]
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call fcn.14002dcf0
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002c865
mov byte [rsp + 0x40], r12b
mov dword [rsi + 0x220], eax
mov rcx, qword [0x140048138]
mov r15d, 2
cmp rcx, r14
je 0x14002c872
test byte [rcx + 0x1c], r12b
je 0x14002c872
cmp byte [rcx + 0x19], r15b
jb 0x14002c872
lea r9, [rsi + 0x2a0]
lea edx, [r15 + 0x21]
mov dword [rsp + 0x20], eax
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.140008b3c
jmp 0x14002c86b
mov r15d, 2
mov rcx, qword [0x140048138]
mov r9d, dword [rsi + 0xb8]
cmp r9d, 4
je 0x14002c8b4
mov r8d, 0x80830006
mov edi, r8d
mov dword [rsp + 0x50], r8d
cmp rcx, r14
je 0x14002ca4d
test byte [rcx + 0x1c], r12b
je 0x14002ca4d
cmp byte [rcx + 0x19], r15b
jb 0x14002ca4d
mov edx, 0x24
jmp 0x14002beaa
cmp rcx, r14
je 0x14002c8e1
test byte [rcx + 0x1c], r12b
je 0x14002c8e1
cmp byte [rcx + 0x19], 4
jb 0x14002c8e1
lea r9, [rsi + 0x2a0]
mov edx, 0x25
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.14000a010
mov dword [rsi + 0xb8], 5
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x70]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9, r13
lea r8, [rbp + 0xb0]
mov rcx, rsi
call fcn.14002ec78
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002c971
mov byte [rsp + 0x40], r12b
mov dword [rsi + 0x220], eax
mov rcx, qword [0x140048138]
cmp rcx, r14
je 0x14002c978
test byte [rcx + 0x1c], r12b
je 0x14002c978
cmp byte [rcx + 0x19], r15b
jb 0x14002c978
lea r9, [rsi + 0x2a0]
mov edx, 0x26
mov dword [rsp + 0x20], eax
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.140008b3c
mov rcx, qword [0x140048138]
mov r9d, dword [rsi + 0xb8]
cmp r9d, 5
je 0x14002c9ba
mov r8d, 0x80830006
mov edi, r8d
mov dword [rsp + 0x50], r8d
cmp rcx, r14
je 0x14002ca4d
test byte [rcx + 0x1c], r12b
je 0x14002ca4d
cmp byte [rcx + 0x19], r15b
jb 0x14002ca4d
mov edx, 0x27
jmp 0x14002beaa
cmp byte [rsi + 0xa3], 0
je 0x14002ca4d
cmp rcx, r14
je 0x14002c9f4
test byte [rcx + 0x1c], r12b
je 0x14002c9f4
cmp byte [rcx + 0x19], 4
jb 0x14002c9f4
lea r9, [rsi + 0x2a0]
mov edx, 0x28
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.14000a010
mov byte [rsi + 0xa3], 0
jmp 0x14002ca4d
lea r14, [0x140048138]
mov rcx, qword [0x140048138]
mov r12d, 1
cmp rcx, r14
je 0x14002ca3e
test byte [rcx + 0x1c], r12b
je 0x14002ca3e
cmp byte [rcx + 0x19], 3
jb 0x14002ca3e
lea edx, [r12 + 0xe]
lea r9, [rsi + 0x90]
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.14000a010
mov edi, 0x80040206
mov dword [rsp + 0x50], edi
mov r15d, 2
lea rcx, [rbp - 0x78]
call qword [sym.imp.api_ms_win_core_realtime_l1_1_0.dll_QueryUnbiasedInterruptTime]
mov rcx, qword [rbp - 0x78]
sub rcx, qword [rbp - 0x70]
movabs rax, 0xe5109ec205d7bea7
mul rcx
shr rdx, 0x1d
mov dword [rsi + 0x224], edx
cmp byte [rsp + 0x40], 0
jne 0x14002ca83
mov dword [rsi + 0x220], edi
mov dl, r12b
lea rcx, [rbp - 0x60]
call fcn.140019fb0
mov dl, r12b
lea rcx, [rbp + 0xb0]
call fcn.140019fb0
mov dl, r12b
lea rcx, [rbp + 0x40]
call fcn.140019fb0
lea rbx, [rsi + 0x18]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockExclusive]
mov edx, dword [rsi + 0xb8]
lea eax, [rdx - 3]
cmp eax, r12d
jbe 0x14002caca
cmp edx, 5
jne 0x14002cb09
mov rcx, qword [0x140048138]
cmp rcx, r14
je 0x14002cafe
test byte [rcx + 0x1c], r12b
je 0x14002cafe
cmp byte [rcx + 0x19], 4
jb 0x14002cafe
lea r9, [rsi + 0x2a0]
mov edx, 0x29
lea r8, [0x14003fdf0]
mov rcx, qword [rcx + 0x10]
call fcn.14000a010
mov dword [rsi + 0xb8], r15d
movzx edx, r15w
cmp dword [0x1400480a0], 5
jbe 0x14002cbb8
movabs r8, 0x200000000000
test qword [0x1400480b0], r8
je 0x14002cbb8
mov rax, qword [0x1400480b8]
and rax, r8
cmp rax, qword [0x1400480b8]
jne 0x14002cbb8
mov word [rsp + 0x42], dx
lea rax, [rsp + 0x42]
mov qword [rbp + 0x140], rax
mov qword [rbp + 0x148], 2
xor edx, edx
lea rax, [rbp + 0x168]
mov qword [rbp + 0x150], rax
mov qword [rbp + 0x158], 2
movzx ecx, word [rsi + 0x2b8]
mov rax, qword [rsi + 0x2c0]
mov qword [rbp + 0x160], rax
mov dword [rbp + 0x168], ecx
mov dword [rbp + 0x16c], edx
lea rax, [rbp + 0x120]
add byte [rax], al
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
lea rdx, [0x140041a74]
call fcn.140001078
test rbx, rbx
je 0x14002cbc7
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop
cmp byte [rsp + 0x5c], 0
je 0x14002cbdb
xor edx, edx
mov ecx, dword [rsp + 0x58]
call qword [sym.imp.ntdll.dll_RtlSetThreadErrorMode]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14002cbec
call qword [sym.imp.ntdll.dll_NtClose]
nop
lea rcx, [rbp - 0x60]
call fcn.14001ba74
nop
lea rcx, [rbp + 0x40]
call fcn.14001ba74
nop
lea rcx, [rbp + 0xb0]
call fcn.14001ba74
nop
lea rcx, [rbp - 0x20]
call fcn.14001ba74
nop
lea rcx, [rsp + 0x48]
call fcn.1400084bc
mov eax, edi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14003b8a0
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret