Function at 0x10002f60
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 [0x1009a00c]
xor eax, ebp
mov dword [esp + 0x30], eax
cmp byte [0x1009b8f0], 0
jne 0x100032ba
mov byte [0x1009b8f0], 1
push 0x1000
push 0x1009b8b8
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 0x100032cd
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
setne al
mov byte [0x1009a210], al
mov al, byte [0x1009a210]
test al, 1
je 0x1000310c
test bl, bl
jne 0x10003310
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 0x10003317
mov eax, 0x80000000
xor ecx, ecx
cpuid
xor ecx, ecx
cmp eax, 0x80000007
jb 0x1000302c
mov eax, 0x80000007
xor ecx, ecx
cpuid
and dh, 1
mov cl, dh
mov byte [0x1009b898], cl
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0x1009a20c], ecx
mov dword [0x1009a208], 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 0x10003337
dec eax
mov ecx, 0xd1b71759
mul ecx
shr edx, 0xd
imul ebx, edx, 0x2710
mov ecx, 0x2710
add ebx, ecx
mov eax, dword [0x1009a208]
mov dword [esp], eax
mul ebx
mov esi, dword [0x1009a20c]
mov edi, esi
imul edi, ebx
add edx, edi
push 0
push ecx
push edx
push eax
call fcn.100476d0
shld edx, eax, 2
shl eax, 2
mov dword [0x1009b8a4], edx
mov dword [0x1009b8a0], eax
mov ecx, 0x7d0
mov ebx, dword [esp]
mov eax, ebx
mul ecx
imul ecx, esi, 0x7d0
add ecx, edx
mov dword [0x1009b8b0], eax
mov dword [0x1009b8b4], 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 [0x1009b8d8], ecx
mov dword [0x1009b8dc], edi
imul ecx, esi, 0x32
add ecx, edx
mov dword [0x1009b8a8], eax
mov dword [0x1009b8ac], ecx
mov al, byte [0x1009a210]
test al, 1
je 0x10003341
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 + 0xc], edx
mov dword [esp + 8], ecx
push esi
call ebx
push 0x1009b8b8
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [0x1009b904]
mov edx, dword [0x1009b900]
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 0x10003178
mov dword [0x1009b900], eax
mov dword [0x1009b904], ecx
mov dword [esp + 4], eax
mov dword [esp], ecx
mov esi, 0x1009b8b8
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 [0x1009b904]
mov esi, dword [0x1009b900]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp eax, esi
mov edx, ecx
sbb edx, ebx
jl 0x100031bd
mov dword [0x1009b900], eax
mov dword [0x1009b904], ecx
mov esi, eax
mov ebx, ecx
push 0x1009b8b8
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 + 0xc]
cmp ecx, esi
cmovb edi, eax
cmove edi, edx
mov edx, esi
cmovb edx, ecx
mov ecx, dword [esp + 8]
test ecx, ecx
lea esi, [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
je 0x10003215
inc ecx
mov eax, edi
or eax, edx
jne 0x1000312d
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 [0x1009a20c]
mov edx, dword [0x1009a208]
mov dword [esp], edx
mov dword [esp + 8], esi
mov edx, 0xf4240
mul edx
mov dword [esp + 4], eax
imul ebx, ecx, 0xf4240
add ebx, edx
push esi
mov edi, dword [esp + 4]
push edi
push ebx
push eax
call fcn.100476d0
mov ecx, eax
mov esi, edx
xor edx, edx
xor eax, eax
inc eax
cmp dword [esp + 4], edi
sbb ebx, dword [esp + 8]
cmovb ecx, eax
cmovb esi, edx
mov dword [esp + 4], esi
mov dword [0x1009b8e4], esi
mov dword [esp], ecx
mov dword [0x1009b8e0], ecx
mov esi, edx
mov ecx, eax
mov edi, eax
xor edi, dword [esp]
mov edx, 0xa
mul edx
mov ebx, esi
xor ebx, dword [esp + 4]
or ebx, edi
je 0x100032ae
lea edi, [esi + esi*4]
lea edx, [edx + edi*2]
cmp dword [esp], eax
mov edi, dword [esp + 4]
sbb edi, edx
jae 0x10003283
mov dword [0x1009b8e8], ecx
mov dword [0x1009b8ec], esi
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.100468e0
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, eax
push 0x1008cee3
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x10002fb4
push 0x1008cedf
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x1000335d
mov byte [0x1009a210], 0
mov al, byte [0x1009a210]
test al, 1
jne 0x10002fde
jmp 0x1000310c
mov cl, 1
jmp 0x1000302c
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 0x1000300c
xor ecx, ecx
jmp 0x1000302c
mov eax, 0x26161
jmp 0x1000306a
mov esi, dword [0x1009a20c]
mov eax, dword [0x1009a208]
mov ecx, esi
shld ecx, eax, 4
mov dword [esp], eax
shl eax, 4
jmp 0x10003235
xor ebx, ebx
jmp 0x10002fb4