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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov dword [ebp - 0xc], edx
xor esi, esi
xor edi, edi
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x44], eax
xor eax, eax
mov dword [ebp - 0x2c], eax
xor eax, eax
mov dword [ebp - 0x34], eax
xor eax, eax
mov dword [ebp - 0x28], eax
call sub.KERNEL32.dll_GetCurrentThread
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x40]
push eax
call sub.KERNEL32.dll_QueryPerformanceFrequency
test eax, eax
jne 0x530bf8
mov eax, dword [ebp - 0xc]
mov edi, eax
lea esi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
jmp 0x530d02
inc dword [ebp - 0x44]
mov dword [ebp - 0x24], edi
mov edi, esi
lea eax, [ebp - 0x18]
push eax
call sub.KERNEL32.dll_QueryPerformanceCounter_1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.KERNEL32.dll_GetThreadPriority
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0x7fffffff
je 0x530b24
push 0xf
mov eax, dword [ebp - 0x4c]
push eax
call sub.KERNEL32.dll_SetThreadPriority
jmp 0x530b24
lea eax, [ebp - 0x20]
push eax
call sub.KERNEL32.dll_QueryPerformanceCounter_1
push eax
push edx
rdtsc
mov dword [ebp - 4], eax
pop edx
pop eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
sbb edx, dword [ebp - 0x14]
cmp edx, 0
jne 0x530b3c
cmp eax, 0x32
jb 0x530b12
jmp 0x530b3e
jl 0x530b12
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x14], eax
jmp 0x530b5e
lea eax, [ebp - 0x20]
push eax
call sub.KERNEL32.dll_QueryPerformanceCounter_1
push eax
push edx
rdtsc
mov dword [ebp - 8], eax
pop edx
pop eax
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x18]
sbb edx, dword [ebp - 0x14]
cmp edx, 0
jne 0x530b78
cmp eax, 0x3e8
jb 0x530b4c
jmp 0x530b7a
jl 0x530b4c
cmp dword [ebp - 0x48], 0x7fffffff
je 0x530b90
mov eax, dword [ebp - 0x48]
push eax
mov eax, dword [ebp - 0x4c]
push eax
call sub.KERNEL32.dll_SetThreadPriority
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 4]
mov dword [ebp - 0x30], eax
mov ebx, dword [ebp - 0x20]
sub ebx, dword [ebp - 0x18]
imul eax, ebx, 0x186a0
mov ebx, eax
mov dword [ebp - 0x64], ebx
xor eax, eax
mov dword [ebp - 0x60], eax
fild qword [ebp - 0x64]
fild qword [ebp - 0x40]
fdiv dword [0x530d0c]
fdivp st(1)
call fcn.00403144
mov ebx, eax
add dword [ebp - 0x34], ebx
mov eax, dword [ebp - 0x30]
add dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x60], eax
fild qword [ebp - 0x64]
mov dword [ebp - 0x6c], ebx
xor eax, eax
mov dword [ebp - 0x68], eax
fild qword [ebp - 0x6c]
fdivp st(1)
call fcn.00403144
mov esi, eax
lea eax, [edi + esi]
add eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x44], 3
jl 0x530ad3
cmp dword [ebp - 0x44], 0x14
jge 0x530c47
lea eax, [esi + esi*2]
sub eax, dword [ebp - 0x28]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x530ad3
lea eax, [edi + edi*2]
sub eax, dword [ebp - 0x28]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x530ad3
mov eax, dword [ebp - 0x24]
lea eax, [eax + eax*2]
sub eax, dword [ebp - 0x28]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x530ad3
mov eax, dword [ebp - 0x2c]
add eax, eax
lea eax, [eax + eax*4]
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x60], eax
fild qword [ebp - 0x64]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
fild qword [ebp - 0x6c]
fdivp st(1)
call fcn.00403144
mov dword [ebp - 0x24], eax
imul eax, dword [ebp - 0x2c], 0x64
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x60], eax
fild qword [ebp - 0x64]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
fild qword [ebp - 0x6c]
fdivp st(1)
call fcn.00403144
mov edi, eax
mov eax, dword [ebp - 0x24]
add eax, eax
lea eax, [eax + eax*4]
sub edi, eax
cmp edi, 6
jb 0x530caa
inc dword [ebp - 0x24]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x64], eax
xor eax, eax
mov dword [ebp - 0x60], eax
fild qword [ebp - 0x64]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x6c], eax
xor eax, eax
mov dword [ebp - 0x68], eax
fild qword [ebp - 0x6c]
fdivp st(1)
call fcn.00403144
mov ebx, eax
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
mov esi, dword [ebp - 0x5c]
add esi, esi
lea esi, [esi + esi*4]
mov eax, dword [ebp - 0x24]
sub eax, esi
cmp eax, 6
jb 0x530cea
inc dword [ebp - 0x58]
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0xc]
mov edi, eax
lea esi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret