Function at 0x10018fa0
Capabilities:
Check for time delay via queryperformancecounter
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x100a500c]
xor eax, ebp
mov dword [esp + 0x30], eax
cmp byte [0x100a68f8], 0
jne 0x100192fe
mov byte [0x100a68f8], 1
push 0x1000
push 0x100a68c0
call dword [sym.imp.kernel32.dll_InitializeCriticalSectionAndSpinCount]
push str.MOZ_TIMESTAMP_MODE
call dword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
add esp, 4
test eax, eax
setne bl
jne 0x10019311
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
setne al
mov byte [0x100a5210], al
mov al, byte [0x100a5210]
test al, 1
je 0x1001914c
test bl, bl
jne 0x10019354
xor eax, eax
xor ecx, ecx
cpuid
lea esi, [esp + 0x24]
mov dword [esi - 4], eax
mov dword [esi], ebx
mov dword [esi + 4], ecx
mov dword [esi + 8], edx
push 0xc
push str.GenuntelineI
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
add esp, 0xc
test eax, eax
jne 0x1001935b
mov eax, 0x80000000
xor ecx, ecx
cpuid
xor ecx, ecx
cmp eax, 0x80000007
jb 0x1001906c
mov eax, 0x80000007
xor ecx, ecx
cpuid
and dh, 1
mov cl, dh
mov byte [0x100a68a0], cl
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0x100a520c], ecx
mov dword [0x100a5208], eax
xor eax, eax
lea ecx, [esp + 0x20]
mov dword [ecx], eax
lea esi, [esp + 0x1c]
mov dword [esi], eax
lea eax, [esp + 0x18]
push eax
push esi
push ecx
call dword [sym.imp.kernel32.dll_GetSystemTimeAdjustment]
mov eax, dword [esi]
test eax, eax
je 0x1001937b
dec eax
mov ecx, 0xd1b71759
mul ecx
shr edx, 0xd
imul ebx, edx, 0x2710
mov ecx, 0x2710
add ebx, ecx
mov eax, dword [0x100a5208]
mov dword [esp], eax
mul ebx
mov esi, dword [0x100a520c]
mov edi, esi
imul edi, ebx
add edx, edi
push 0
push ecx
push edx
push eax
call fcn.10050910
shld edx, eax, 2
shl eax, 2
mov dword [0x100a68ac], edx
mov dword [0x100a68a8], eax
mov ecx, 0x7d0
mov ebx, dword [esp]
mov eax, ebx
mul ecx
imul ecx, esi, 0x7d0
add ecx, edx
mov dword [0x100a68b8], eax
mov dword [0x100a68bc], ecx
mov ecx, 0x1388
mov eax, ebx
mul ecx
mov ecx, eax
imul edi, esi, 0x1388
add edi, edx
mov edx, 0x32
mov eax, ebx
mul edx
mov dword [0x100a68e0], ecx
mov dword [0x100a68e4], edi
imul ecx, esi, 0x32
add ecx, edx
mov dword [0x100a68b0], eax
mov dword [0x100a68b4], ecx
mov al, byte [0x100a5210]
test al, 1
je 0x10019385
xor edi, edi
dec edi
mov ecx, 0xfffffff7
lea esi, [esp + 0x20]
mov ebx, dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
mov edx, edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
push esi
call ebx
push 0x100a68c0
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov esi, dword [0x100a690c]
mov edx, dword [0x100a6908]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov dword [esp + 4], edx
cmp eax, edx
mov edx, ecx
mov dword [esp], esi
sbb edx, esi
jl 0x100191b8
mov dword [0x100a6908], eax
mov dword [0x100a690c], ecx
mov dword [esp + 4], eax
mov dword [esp], ecx
mov esi, 0x100a68c0
push esi
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
lea eax, [esp + 0x20]
push eax
call ebx
push esi
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov ebx, dword [0x100a690c]
mov esi, dword [0x100a6908]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp eax, esi
mov edx, ecx
sbb edx, ebx
jl 0x100191fd
mov dword [0x100a6908], eax
mov dword [0x100a690c], ecx
mov esi, eax
mov ebx, ecx
push 0x100a68c0
call dword [sym.imp.kernel32.dll_LeaveCriticalSection]
sub esi, dword [esp + 4]
sbb ebx, dword [esp]
mov eax, esi
mov ecx, 0x3e8
mul ecx
imul ecx, ebx, 0x3e8
add ecx, edx
cmp eax, edi
mov edx, edi
cmovb edx, eax
mov esi, dword [esp + 8]
cmp ecx, esi
cmovb edi, eax
cmove edi, edx
mov edx, esi
cmovb edx, ecx
mov ecx, dword [esp + 0xc]
test ecx, ecx
lea esi, [esp + 0x20]
mov ebx, dword [sym.imp.kernel32.dll_QueryPerformanceCounter]
je 0x10019255
inc ecx
mov eax, edi
or eax, edx
jne 0x1001916d
xor eax, eax
inc eax
xor ecx, ecx
mov esi, edx
mov edx, edi
or edx, esi
cmovne ecx, esi
cmovne eax, edi
mov esi, dword [0x100a520c]
mov edx, dword [0x100a5208]
mov dword [esp], edx
mov dword [esp + 4], esi
mov edx, 0xf4240
mul edx
mov edi, eax
imul ebx, ecx, 0xf4240
add ebx, edx
push esi
mov esi, dword [esp + 4]
push esi
push ebx
push eax
call fcn.10050910
mov ecx, eax
xor eax, eax
inc eax
cmp edi, esi
sbb ebx, dword [esp + 4]
cmovb ecx, eax
mov esi, 0
cmovb edx, esi
mov dword [esp + 4], edx
mov dword [0x100a68ec], edx
xor edx, edx
mov dword [esp], ecx
mov dword [0x100a68e8], ecx
mov ebx, 0xa
mov esi, edx
mov edi, eax
mov ecx, eax
xor ecx, dword [esp]
mul ebx
mov ebx, esi
xor ebx, dword [esp + 4]
or ebx, ecx
mov ebx, 0xa
je 0x100192f2
lea ecx, [esi + esi*4]
lea edx, [edx + ecx*2]
cmp dword [esp], eax
mov ecx, dword [esp + 4]
sbb ecx, edx
jae 0x100192c7
mov dword [0x100a68f0], edi
mov dword [0x100a68f4], esi
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.1004fb50
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, eax
push 0x10097d0c
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x10018ff4
push 0x10097d08
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x100193a1
mov byte [0x100a5210], 0
mov al, byte [0x100a5210]
test al, 1
jne 0x1001901e
jmp 0x1001914c
mov cl, 1
jmp 0x1001906c
push 0xc
push str.AuthcAMDenti
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__strnicmp]
add esp, 0xc
test eax, eax
je 0x1001904c
xor ecx, ecx
jmp 0x1001906c
mov eax, 0x26161
jmp 0x100190aa
mov esi, dword [0x100a520c]
mov eax, dword [0x100a5208]
mov ecx, esi
shld ecx, eax, 4
mov dword [esp], eax
shl eax, 4
jmp 0x10019275
xor ebx, ebx
jmp 0x10018ff4