Function at 0x180002fd0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x48
mov rax, qword [0x1800a6010]
xor rax, rsp
mov qword [rsp + 0x40], rax
cmp byte [0x1800a8600], 0
jne 0x18000328a
mov byte [0x1800a8600], 1
lea rcx, [0x1800a85b8]
mov edx, 0x1000
call qword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
lea rcx, str.MOZ_TIMESTAMP_MODE
call qword [0x1800a3090]
mov rsi, rax
test rax, rax
jne 0x1800032a9
test rsi, rsi
setne sil
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
setne al
mov byte [0x1800a6250], al
mov al, byte [0x1800a6250]
test al, 1
je 0x180003171
test sil, sil
jne 0x1800032ed
xor eax, eax
xor ecx, ecx
xchg rbx, rbp
cpuid
xchg rbx, rbp
xor esi, esi
lea rdi, [rsp + 0x34]
mov dword [rdi - 4], eax
mov dword [rdi], ebp
mov dword [rdi + 4], ecx
mov dword [rdi + 8], edx
lea rdx, str.GenuntelineI
mov r8d, 0xc
mov rcx, rdi
call qword [0x1800a2ff0]
test eax, eax
jne 0x1800032f5
xor ecx, ecx
mov eax, 0x80000000
xchg rbx, rbp
cpuid
xchg rbx, rbp
cmp eax, 0x80000007
jb 0x1800030cc
mov eax, 0x80000007
xor ecx, ecx
xchg rbx, rbp
cpuid
xchg rbx, rbp
mov esi, edx
shr esi, 8
and sil, 1
mov byte [0x1800a8598], sil
mov rax, qword [rsp + 0x20]
mov qword [0x1800a6248], rax
xor eax, eax
lea rcx, [rsp + 0x30]
mov dword [rcx], eax
lea rsi, [rsp + 0x2c]
mov dword [rsi], eax
lea r8, [rsp + 0x28]
mov rdx, rsi
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAdjustment]
mov eax, dword [rsi]
test eax, eax
je 0x18000331a
dec eax
mov ecx, 0xd1b71759
imul rcx, rax
shr rcx, 0x2d
imul ecx, ecx, 0x2710
mov eax, 0x2710
add eax, ecx
mov rcx, qword [0x1800a6248]
imul rax, rcx
movabs rdx, 0x346dc5d63886594b
mul rdx
shr rdx, 9
and rdx, 0xfffffffffffffffc
mov qword [0x1800a85a0], rdx
imul rax, rcx, 0x7d0
mov qword [0x1800a85b0], rax
imul rax, rcx, 0x1388
mov qword [0x1800a85e8], rax
imul rax, rcx, 0x32
mov qword [0x1800a85a8], rax
mov al, byte [0x1800a6250]
test al, 1
je 0x180003324
mov rbx, 0xffffffffffffffff
mov r13d, 0xfffffff7
lea rdi, [rsp + 0x30]
mov rbp, qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rcx, rdi
call rbp
lea rcx, [0x1800a85b8]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rsi, qword [0x1800a8620]
mov rax, qword [rsp + 0x30]
cmp rsi, rax
jg 0x1800031c5
mov qword [0x1800a8620], rax
mov rsi, rax
lea r14, [0x1800a85b8]
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov r12, rdi
mov rcx, rdi
mov r15, rbp
call rbp
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov r14, qword [0x1800a8620]
mov rax, qword [rsp + 0x30]
cmp r14, rax
jg 0x180003204
mov qword [0x1800a8620], rax
mov r14, rax
sub r14, rsi
lea rcx, [0x1800a85b8]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
imul rax, r14, 0x3e8
cmp rax, rbx
cmovb rbx, rax
test r13d, r13d
je 0x180003239
mov rdi, r12
mov rbp, r15
inc r13d
test rbx, rbx
jne 0x180003198
test rbx, rbx
mov eax, 1
cmovne rax, rbx
mov rbp, qword [0x1800a6248]
imul rcx, rax, 0xf4240
mov rax, rcx
xor edx, edx
div rbp
cmp rbp, rcx
mov edx, 1
cmova rax, rdx
mov qword [0x1800a85f0], rax
mov rcx, rdx
cmp rdx, rax
je 0x180003283
lea rdx, [rcx + rcx]
lea rdx, [rdx + rdx*4]
cmp rdx, rax
jbe 0x18000326e
mov qword [0x1800a85f8], rcx
mov rcx, qword [rsp + 0x40]
xor rcx, rsp
call fcn.18004b970
nop
add rsp, 0x48
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rdx, [0x180097925]
mov rcx, rsi
call fcn.180091e10
test eax, eax
je 0x18000302e
lea rdx, [0x180097921]
mov rcx, rsi
call fcn.180091e10
test eax, eax
jne 0x180003337
mov byte [0x1800a6250], 0
mov al, byte [0x1800a6250]
test al, 1
jne 0x180003062
jmp 0x180003171
mov sil, 1
jmp 0x1800030cc
lea rdx, str.AuthcAMDenti
mov r8d, 0xc
mov rcx, rdi
call qword [0x1800a2ff0]
test eax, eax
je 0x18000309e
xor esi, esi
jmp 0x1800030cc
mov eax, 0x26161
jmp 0x180003107
mov rbp, qword [0x1800a6248]
mov rax, rbp
shl rax, 4
jmp 0x18000324c
xor esi, esi
jmp 0x180003035