Function at 0x14002cf10
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 [0x1400491f8]
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.140008b4c
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 0x14002d0b9
mov r8d, 0x80830006
mov edi, r8d
mov dword [rsp + 0x50], r8d
lea r14, [0x140049138]
mov rcx, qword [0x140049138]
mov r12d, ebx
cmp rcx, r14
je 0x14002dc3d
test byte [rcx + 0x1c], bl
je 0x14002dc3d
cmp byte [rcx + 0x19], r15b
jb 0x14002dc3d
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.14002bbc0
jmp 0x14002dc3d
cmp dword [0x1400490a0], 5
jbe 0x14002d156
test qword [0x1400490b0], rdx
je 0x14002d156
mov rax, qword [0x1400490b8]
and rax, rdx
cmp rax, qword [0x1400490b8]
jne 0x14002d156
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, [0x140043b08]
call fcn.1400010d0
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 0x14002d1f5
mov edi, 0x80830002
mov dword [rsp + 0x50], edi
lea r14, [0x140049138]
mov rcx, qword [0x140049138]
mov r12d, 1
cmp rcx, r14
je 0x14002d1de
test byte [rcx + 0x1c], r12b
je 0x14002d1de
cmp byte [rcx + 0x19], r15b
jb 0x14002d1de
lea edx, [r12 + 0xa]
mov dword [rsp + 0x20], edi
mov r9d, dword [rsi + 0x80]
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.1400016d8
test rbx, rbx
je 0x14002dc3d
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
jmp 0x14002dc3d
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 0x14002d268
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
test r15d, r15d
jns 0x14002d2cf
mov edi, r15d
bts edi, 0x1c
mov dword [rsp + 0x50], edi
lea r14, [0x140049138]
mov rcx, qword [0x140049138]
mov r12d, 1
cmp rcx, r14
je 0x14002dc37
test byte [rcx + 0x1c], r12b
je 0x14002dc37
cmp byte [rcx + 0x19], 2
jb 0x14002dc37
lea edx, [r12 + 0xb]
mov dword [rsp + 0x20], r15d
lea r9, [rsi + 0x90]
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.14000903c
jmp 0x14002dc37
lea r15, [rsi + 0x4a0]
mov rdx, r15
lea rcx, [rbp - 0x20]
call fcn.14001973c
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002d347
lea r14, [0x140049138]
mov rcx, qword [0x140049138]
mov r12d, 1
lea r15d, [r12 + 1]
cmp rcx, r14
je 0x14002dc3d
test byte [rcx + 0x1c], r12b
je 0x14002dc3d
cmp byte [rcx + 0x19], r15b
jb 0x14002dc3d
lea edx, [r12 + 0xc]
mov dword [rsp + 0x20], eax
lea r9, [rsi + 0x2a0]
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.14000903c
jmp 0x14002dc3d
xor edx, edx
lea rcx, [rbp - 0x20]
call fcn.1400197d8
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002d3b7
lea r14, [0x140049138]
mov rcx, qword [0x140049138]
mov r12d, 1
lea r15d, [r12 + 1]
cmp rcx, r14
je 0x14002d3a6
test byte [rcx + 0x1c], r12b
je 0x14002d3a6
cmp byte [rcx + 0x19], r15b
jb 0x14002d3a6
lea r9, [rsi + 0x2a0]
lea edx, [r12 + 0xd]
mov dword [rsp + 0x20], eax
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.14000903c
mov dl, r12b
lea rcx, [rbp - 0x20]
call fcn.14001af08
jmp 0x14002dc3d
cmp qword [rsi + 0x60], r14
je 0x14002dbed
cmp qword [rsi + 0x118], r14
je 0x14002dbed
cmp qword [rsi + 0x120], r14
je 0x14002dbed
cmp byte [rsi + 0xa3], r14b
jne 0x14002d572
lea r14, [0x140049138]
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14002d423
test byte [rcx + 0x1c], 1
je 0x14002d423
cmp byte [rcx + 0x19], 4
jb 0x14002d423
lea r9, [rsi + 0x2a0]
mov edx, 0x10
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.14000a8c4
xor edx, edx
mov rcx, rsi
call fcn.140013944
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002d482
mov rcx, qword [0x140049138]
mov r12d, 1
cmp rcx, r14
je 0x14002dc37
test byte [rcx + 0x1c], r12b
je 0x14002dc37
cmp byte [rcx + 0x19], 4
jb 0x14002dc37
lea r9, [rsi + 0x2a0]
lea edx, [r12 + 0x10]
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.14000a8c4
jmp 0x14002dc37
lea r9, [rsp + 0x41]
mov r8, r12
lea rdx, [rbp - 0x20]
mov rcx, qword [rbp + 8]
call fcn.1400358b8
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002d4be
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14002d4f6
test byte [rcx + 0x1c], 1
je 0x14002d4f6
cmp byte [rcx + 0x19], 2
jb 0x14002d4f6
mov edx, 0x12
jmp 0x14002d4db
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14002d4f6
test byte [rcx + 0x1c], 1
je 0x14002d4f6
cmp byte [rcx + 0x19], 2
jb 0x14002d4f6
mov edx, 0x13
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x80]
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.1400016d8
cmp byte [r12], 0
jne 0x14002d56a
mov dl, 1
mov rcx, rsi
call fcn.14000cdac
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002d565
mov rcx, qword [0x140049138]
mov r12d, 1
lea r15d, [r12 + 1]
cmp rcx, r14
je 0x14002d3a6
test byte [rcx + 0x1c], r12b
je 0x14002d3a6
cmp byte [rcx + 0x19], r15b
jb 0x14002d3a6
lea edx, [r12 + 0x13]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsi + 0x80]
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.1400016d8
jmp 0x14002d3a6
mov byte [r12], 1
mov r12d, 1
jmp 0x14002d5b3
lea r14, [0x140049138]
mov rcx, qword [0x140049138]
mov r12d, 1
cmp rcx, r14
je 0x14002d5ba
test byte [rcx + 0x1c], r12b
je 0x14002d5ba
cmp byte [rcx + 0x19], 4
jb 0x14002d5ba
lea r9, [rsi + 0x2a0]
lea edx, [r12 + 0x14]
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.14000a8c4
cmp byte [rsp + 0x41], 0
jne 0x14002d5c6
mov dl, r12b
lea rcx, [rbp - 0x20]
call fcn.14001af08
mov rdx, r15
lea rcx, [rbp + 0x40]
call fcn.14001973c
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002d60f
mov rcx, qword [0x140049138]
mov r15d, 2
cmp rcx, r14
je 0x14002dc3d
test byte [rcx + 0x1c], r12b
je 0x14002dc3d
cmp byte [rcx + 0x19], r15b
jb 0x14002dc3d
lea edx, [r15 + 0x14]
jmp 0x14002d327
xor edx, edx
lea rcx, [rbp + 0x40]
call fcn.1400197d8
mov edi, eax
mov dword [rsp + 0x50], eax
xor eax, eax
test edi, edi
jns 0x14002d65a
mov rcx, qword [0x140049138]
lea r15d, [rax + 2]
cmp rcx, r14
je 0x14002dc3d
test byte [rcx + 0x1c], r12b
je 0x14002dc3d
cmp byte [rcx + 0x19], r15b
jb 0x14002dc3d
lea edx, [rax + 0x17]
mov dword [rsp + 0x20], edi
jmp 0x14002d32b
mov dword [rsi + 0x138], eax
cmp qword [rsi + 0x118], rax
ja 0x14002d6a7
cmp qword [rsi + 0x120], rax
ja 0x14002d6a7
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14002dc2e
test byte [rcx + 0x1c], r12b
je 0x14002dc2e
cmp byte [rcx + 0x19], 3
jb 0x14002dc2e
lea r9, [rsi + 0x2a0]
mov edx, 0x18
jmp 0x14002dc1e
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.14001973c
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002d708
mov rcx, qword [0x140049138]
mov r15d, 2
cmp rcx, r14
je 0x14002dc3d
test byte [rcx + 0x1c], r12b
je 0x14002dc3d
cmp byte [rcx + 0x19], r15b
jb 0x14002dc3d
lea edx, [r15 + 0x17]
jmp 0x14002d327
xor edx, edx
lea rcx, [rbp - 0x60]
call fcn.1400197d8
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002d750
mov rcx, qword [0x140049138]
mov r15d, 2
cmp rcx, r14
je 0x14002dc3d
test byte [rcx + 0x1c], r12b
je 0x14002dc3d
cmp byte [rcx + 0x19], r15b
jb 0x14002dc3d
lea edx, [r15 + 0x18]
jmp 0x14002d327
cmp byte [rsi + 0x2d9], 0
je 0x14002d7a1
lea rdx, [rbp - 0x60]
mov rcx, rsi
call fcn.14003311c
test eax, eax
jns 0x14002d7a1
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14002d7a1
test byte [rcx + 0x1c], r12b
je 0x14002d7a1
cmp byte [rcx + 0x19], 2
jb 0x14002d7a1
lea r9, [rsi + 0x2a0]
mov edx, 0x1b
mov dword [rsp + 0x20], eax
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.14000903c
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x78]
mov edx, r12d
mov rcx, rsi
call fcn.140034378
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002d7f3
mov rcx, qword [0x140049138]
mov r15d, 2
cmp rcx, r14
je 0x14002dc3d
test byte [rcx + 0x1c], r12b
je 0x14002dc3d
cmp byte [rcx + 0x19], r15b
jb 0x14002dc3d
lea edx, [r15 + 0x1a]
jmp 0x14002d327
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_AcquireSRWLockShared]
mov rcx, qword [rsi + 0x50]
jmp 0x14002d815
mov rdx, qword [rcx + 0x10]
mov rcx, qword [rcx]
cmp byte [rdx + 0x24], 0
je 0x14002d815
mov eax, dword [rdx + 0x20]
add r13, rax
test rcx, rcx
jne 0x14002d802
test rbx, rbx
je 0x14002d828
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockShared]
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14002d85d
test byte [rcx + 0x1c], r12b
je 0x14002d85d
cmp byte [rcx + 0x19], 5
jb 0x14002d85d
lea rax, [rsi + 0x2a0]
mov edx, 0x1d
mov qword [rsp + 0x20], rax
mov r9, r13
mov rcx, qword [rcx + 0x10]
call fcn.14002c214
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.14002de44
mov ebx, eax
test eax, eax
jns 0x14002d8ce
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14002d8c3
test byte [rcx + 0x1c], r12b
je 0x14002d8c3
cmp byte [rcx + 0x19], 2
jb 0x14002d8c3
lea r9, [rsi + 0x2a0]
mov edx, 0x1e
mov dword [rsp + 0x20], eax
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.14000903c
mov byte [rsp + 0x40], r12b
mov dword [rsi + 0x220], ebx
mov r9d, dword [rsi + 0xb8]
cmp r9d, 3
je 0x14002d91c
mov r8d, 0x80830006
mov edi, r8d
mov dword [rsp + 0x50], r8d
mov rcx, qword [0x140049138]
mov r15d, 2
cmp rcx, r14
je 0x14002dc3d
test byte [rcx + 0x1c], r12b
je 0x14002dc3d
cmp byte [rcx + 0x19], r15b
jb 0x14002dc3d
lea edx, [r15 + 0x1d]
jmp 0x14002d09a
mov rdx, r15
lea rcx, [rbp + 0xb0]
call fcn.14001973c
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002d968
mov rcx, qword [0x140049138]
mov r15d, 2
cmp rcx, r14
je 0x14002dc3d
test byte [rcx + 0x1c], r12b
je 0x14002dc3d
cmp byte [rcx + 0x19], r15b
jb 0x14002dc3d
lea edx, [r15 + 0x1e]
jmp 0x14002d327
mov dl, r12b
lea rcx, [rbp + 0xb0]
call fcn.1400197d8
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002d9b4
mov rcx, qword [0x140049138]
mov r15d, 2
cmp rcx, r14
je 0x14002dc3d
test byte [rcx + 0x1c], r12b
je 0x14002dc3d
cmp byte [rcx + 0x19], r15b
jb 0x14002dc3d
lea edx, [r15 + 0x1f]
jmp 0x14002d327
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14002d9e8
test byte [rcx + 0x1c], r12b
je 0x14002d9e8
cmp byte [rcx + 0x19], 4
jb 0x14002d9e8
lea r9, [rsi + 0x2a0]
mov edx, 0x22
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.14000a8c4
mov dword [rsi + 0xb8], 4
lea r8, [rbp + 0x40]
mov rdx, qword [rsp + 0x60]
mov rcx, rsi
call fcn.14002eee8
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002da55
mov byte [rsp + 0x40], r12b
mov dword [rsi + 0x220], eax
mov rcx, qword [0x140049138]
mov r15d, 2
cmp rcx, r14
je 0x14002da62
test byte [rcx + 0x1c], r12b
je 0x14002da62
cmp byte [rcx + 0x19], r15b
jb 0x14002da62
lea r9, [rsi + 0x2a0]
lea edx, [r15 + 0x21]
mov dword [rsp + 0x20], eax
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.14000903c
jmp 0x14002da5b
mov r15d, 2
mov rcx, qword [0x140049138]
mov r9d, dword [rsi + 0xb8]
cmp r9d, 4
je 0x14002daa4
mov r8d, 0x80830006
mov edi, r8d
mov dword [rsp + 0x50], r8d
cmp rcx, r14
je 0x14002dc3d
test byte [rcx + 0x1c], r12b
je 0x14002dc3d
cmp byte [rcx + 0x19], r15b
jb 0x14002dc3d
mov edx, 0x24
jmp 0x14002d09a
cmp rcx, r14
je 0x14002dad1
test byte [rcx + 0x1c], r12b
je 0x14002dad1
cmp byte [rcx + 0x19], 4
jb 0x14002dad1
lea r9, [rsi + 0x2a0]
mov edx, 0x25
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.14000a8c4
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.14002fe78
mov edi, eax
mov dword [rsp + 0x50], eax
test eax, eax
jns 0x14002db61
mov byte [rsp + 0x40], r12b
mov dword [rsi + 0x220], eax
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14002db68
test byte [rcx + 0x1c], r12b
je 0x14002db68
cmp byte [rcx + 0x19], r15b
jb 0x14002db68
lea r9, [rsi + 0x2a0]
mov edx, 0x26
mov dword [rsp + 0x20], eax
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.14000903c
mov rcx, qword [0x140049138]
mov r9d, dword [rsi + 0xb8]
cmp r9d, 5
je 0x14002dbaa
mov r8d, 0x80830006
mov edi, r8d
mov dword [rsp + 0x50], r8d
cmp rcx, r14
je 0x14002dc3d
test byte [rcx + 0x1c], r12b
je 0x14002dc3d
cmp byte [rcx + 0x19], r15b
jb 0x14002dc3d
mov edx, 0x27
jmp 0x14002d09a
cmp byte [rsi + 0xa3], 0
je 0x14002dc3d
cmp rcx, r14
je 0x14002dbe4
test byte [rcx + 0x1c], r12b
je 0x14002dbe4
cmp byte [rcx + 0x19], 4
jb 0x14002dbe4
lea r9, [rsi + 0x2a0]
mov edx, 0x28
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.14000a8c4
mov byte [rsi + 0xa3], 0
jmp 0x14002dc3d
lea r14, [0x140049138]
mov rcx, qword [0x140049138]
mov r12d, 1
cmp rcx, r14
je 0x14002dc2e
test byte [rcx + 0x1c], r12b
je 0x14002dc2e
cmp byte [rcx + 0x19], 3
jb 0x14002dc2e
lea edx, [r12 + 0xe]
lea r9, [rsi + 0x90]
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.14000a8c4
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 0x14002dc73
mov dword [rsi + 0x220], edi
mov dl, r12b
lea rcx, [rbp - 0x60]
call fcn.14001af08
mov dl, r12b
lea rcx, [rbp + 0xb0]
call fcn.14001af08
mov dl, r12b
lea rcx, [rbp + 0x40]
call fcn.14001af08
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 0x14002dcba
cmp edx, 5
jne 0x14002dcf9
mov rcx, qword [0x140049138]
cmp rcx, r14
je 0x14002dcee
test byte [rcx + 0x1c], r12b
je 0x14002dcee
cmp byte [rcx + 0x19], 4
jb 0x14002dcee
lea r9, [rsi + 0x2a0]
mov edx, 0x29
lea r8, [0x140041e60]
mov rcx, qword [rcx + 0x10]
call fcn.14000a8c4
mov dword [rsi + 0xb8], r15d
movzx edx, r15w
cmp dword [0x1400490a0], 5
jbe 0x14002dda8
movabs r8, 0x200000000000
test qword [0x1400490b0], r8
je 0x14002dda8
mov rax, qword [0x1400490b8]
and rax, r8
cmp rax, qword [0x1400490b8]
jne 0x14002dda8
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]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
lea rdx, [0x140043ab4]
call fcn.1400010d0
test rbx, rbx
je 0x14002ddb7
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ReleaseSRWLockExclusive]
nop
cmp byte [rsp + 0x5c], 0
je 0x14002ddcb
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 0x14002dddc
call qword [sym.imp.ntdll.dll_NtClose]
nop
lea rcx, [rbp - 0x60]
call fcn.14001ca38
nop
lea rcx, [rbp + 0x40]
call fcn.14001ca38
nop
lea rcx, [rbp + 0xb0]
call fcn.14001ca38
nop
lea rcx, [rbp - 0x20]
call fcn.14001ca38
nop
lea rcx, [rsp + 0x48]
call fcn.1400089a4
mov eax, edi
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.14003d760
mov rbx, qword [rsp + 0x2d0]
add rsp, 0x280
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret