Function at 0x10019580
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 [0x100a400c]
xor eax, ebp
mov dword [esp + 0x30], eax
cmp byte [0x100a58f8], 0
jne 0x100198de
mov byte [0x100a58f8], 1
push 0x1000
push 0x100a58c0
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 0x100198f1
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.kernel32.dll_QueryPerformanceFrequency]
test eax, eax
setne al
mov byte [0x100a4210], al
mov al, byte [0x100a4210]
test al, 1
je 0x1001972c
test bl, bl
jne 0x10019934
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 0x1001993b
mov eax, 0x80000000
xor ecx, ecx
cpuid
xor ecx, ecx
cmp eax, 0x80000007
jb 0x1001964c
mov eax, 0x80000007
xor ecx, ecx
cpuid
and dh, 1
mov cl, dh
mov byte [0x100a58a0], cl
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [0x100a420c], ecx
mov dword [0x100a4208], 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 0x1001995b
dec eax
mov ecx, 0xd1b71759
mul ecx
shr edx, 0xd
imul ebx, edx, 0x2710
mov ecx, 0x2710
add ebx, ecx
mov eax, dword [0x100a4208]
mov dword [esp], eax
mul ebx
mov esi, dword [0x100a420c]
mov edi, esi
imul edi, ebx
add edx, edi
push 0
push ecx
push edx
push eax
call fcn.1004fde0
shld edx, eax, 2
shl eax, 2
mov dword [0x100a58ac], edx
mov dword [0x100a58a8], eax
mov ecx, 0x7d0
mov ebx, dword [esp]
mov eax, ebx
mul ecx
imul ecx, esi, 0x7d0
add ecx, edx
mov dword [0x100a58b8], eax
mov dword [0x100a58bc], 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 [0x100a58e0], ecx
mov dword [0x100a58e4], edi
imul ecx, esi, 0x32
add ecx, edx
mov dword [0x100a58b0], eax
mov dword [0x100a58b4], ecx
mov al, byte [0x100a4210]
test al, 1
je 0x10019965
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 0x100a58c0
call dword [sym.imp.kernel32.dll_EnterCriticalSection]
mov esi, dword [0x100a590c]
mov edx, dword [0x100a5908]
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 0x10019798
mov dword [0x100a5908], eax
mov dword [0x100a590c], ecx
mov dword [esp + 4], eax
mov dword [esp], ecx
mov esi, 0x100a58c0
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 [0x100a590c]
mov esi, dword [0x100a5908]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp eax, esi
mov edx, ecx
sbb edx, ebx
jl 0x100197dd
mov dword [0x100a5908], eax
mov dword [0x100a590c], ecx
mov esi, eax
mov ebx, ecx
push 0x100a58c0
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 0x10019835
inc ecx
mov eax, edi
or eax, edx
jne 0x1001974d
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 [0x100a420c]
mov edx, dword [0x100a4208]
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.1004fde0
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 [0x100a58ec], edx
xor edx, edx
mov dword [esp], ecx
mov dword [0x100a58e8], 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 0x100198d2
lea ecx, [esi + esi*4]
lea edx, [edx + ecx*2]
cmp dword [esp], eax
mov ecx, dword [esp + 4]
sbb ecx, edx
jae 0x100198a7
mov dword [0x100a58f0], edi
mov dword [0x100a58f4], esi
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.1004f020
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov esi, eax
push 0x10096d6c
push eax
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
je 0x100195d4
push 0x10096d68
push esi
call sub.api_ms_win_crt_string_l1_1_0.dll_strcmp
add esp, 8
test eax, eax
jne 0x10019981
mov byte [0x100a4210], 0
mov al, byte [0x100a4210]
test al, 1
jne 0x100195fe
jmp 0x1001972c
mov cl, 1
jmp 0x1001964c
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 0x1001962c
xor ecx, ecx
jmp 0x1001964c
mov eax, 0x26161
jmp 0x1001968a
mov esi, dword [0x100a420c]
mov eax, dword [0x100a4208]
mov ecx, esi
shld ecx, eax, 4
mov dword [esp], eax
shl eax, 4
jmp 0x10019855
xor ebx, ebx
jmp 0x100195d4