Function at 0x4267d4
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov eax, dword [0x4ea418]
xor eax, ebp
mov dword [esp + 0x48], eax
movsd xmm1, qword [0x4f1c90]
xorpd xmm0, xmm0
ucomisd xmm1, xmm0
jne 0x4267ff
jnp 0x42680a
movapd xmmword [esp + 0x10], xmm1
jmp 0x42696c
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0x10], eax
call esi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x4f1ca0]
mov ecx, dword [0x4ed65c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x426984
mov eax, dword [0x4f1cb0]
mov ecx, dword [0x4ed65c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x4269bd
rdtsc
mov dword [esp + 0xc], eax
mov dword [esp + 8], edx
xor eax, eax
lea ebx, [esp + 0x40]
mov dword [ebx + 4], eax
mov dword [ebx], eax
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [ebx]
mov esi, dword [ebx + 4]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
xor eax, eax
mov dword [ebx + 4], eax
mov dword [ebx], eax
push ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov eax, dword [0x4f1cac]
mov ecx, dword [0x4f1ca8]
cmp edi, ecx
mov edx, esi
sbb edx, eax
jl 0x426a0b
sub edi, ecx
movd xmm0, edi
sbb esi, eax
movd xmm1, esi
punpckldq xmm0, xmm1
movq qword [esp + 0x30], xmm0
fild qword [esp + 0x30]
fstp qword [esp + 0x28]
movsd xmm0, qword [esp + 0x28]
fild qword [esp + 0x40]
fstp qword [esp + 0x38]
divsd xmm0, qword [esp + 0x38]
xorps xmm2, xmm2
movsd xmm1, qword [0x4d6540]
ucomisd xmm1, xmm0
ja 0x426967
mov eax, dword [0x4f1c9c]
mov ecx, dword [0x4f1c98]
mov esi, dword [esp + 0xc]
cmp esi, ecx
mov edi, dword [esp + 8]
mov edx, edi
sbb edx, eax
jb 0x426a40
sub esi, ecx
sbb edi, eax
movd xmm1, esi
movd xmm2, edi
punpckldq xmm1, xmm2
punpckldq xmm1, xmmword [0x4d6520]
subpd xmm1, xmmword [0x4d6530]
haddpd xmm1, xmm1
divsd xmm1, xmm0
movsd qword [esp + 0x20], xmm1
movsd xmm0, qword [esp + 0x20]
movlpd qword [0x4f1c90], xmm0
movsd xmm2, qword [0x4f1c90]
movaps xmmword [esp + 0x10], xmm2
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.004961ed
movaps xmm0, xmmword [esp + 0x10]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4f1ca0
call fcn.004942a7
add esp, 4
cmp dword [0x4f1ca0], 0xffffffff
jne 0x426849
rdtsc
mov dword [0x4f1c98], eax
mov dword [0x4f1c9c], edx
push 0x4f1ca0
call fcn.0049431d
add esp, 4
jmp 0x426849
push 0x4f1cb0
call fcn.004942a7
add esp, 4
cmp dword [0x4f1cb0], 0xffffffff
jne 0x42686a
xor eax, eax
lea esi, [esp + 0x40]
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov dword [0x4f1cac], ecx
mov dword [0x4f1ca8], eax
push 0x4f1cb0
call fcn.0049431d
add esp, 4
jmp 0x42686a
call fcn.004ae6e7
push dword [eax]
call fcn.004b7ee1
add esp, 4
mov esi, eax
call fcn.004ae6e7
mov edi, dword [eax]
push 0x4d6548
call fcn.004247d6
add esp, 4
push esi
push edi
push str.PERFETTO_CHECK_perf_counter_now___perf_counter_initial_
push str._s__errno:__d___s_
push 0x5b
jmp 0x426a73
call fcn.004ae6e7
push dword [eax]
call fcn.004b7ee1
add esp, 4
mov esi, eax
call fcn.004ae6e7
mov edi, dword [eax]
push 0x4d6548
call fcn.004247d6
add esp, 4
push esi
push edi
push str.PERFETTO_CHECK_tsc_now___tsc_initial_
push str._s__errno:__d___s_
push 0x66
push eax
push 3
call fcn.004260b0
add esp, 0x1c
int3