Function at 0x4014a0
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548198
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x118
lea eax, [ebp - 0x85]
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x118], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 0x50], 0
jmp 0x401501
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
cmp dword [ebp - 0x50], 0xa
jge 0x401529
fild dword [ebp - 0x50]
sub esp, 8
fstp qword [esp]
call fcn.00401370
add esp, 8
fstp qword [ebp - 0x5c]
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x4c]
call fcn.00406680
jmp 0x4014f8
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0x90], ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x90]
push eax
lea ecx, [ebp - 0x60]
call fcn.00409480
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x94], ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0x94]
push eax
lea ecx, [ebp - 0x64]
call fcn.00409480
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0xac], ecx
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0xa8], edx
mov eax, dword [ebp - 0xac]
sub eax, dword [ebp - 0xa8]
sar eax, 3
mov dword [ebp - 0x98], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0x9c], ecx
mov edx, dword [ebp - 0x9c]
mov dword [ebp - 0xa0], edx
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xa4], eax
mov ecx, dword [ebp - 0x98]
push ecx
mov edx, dword [ebp - 0xa0]
push edx
mov eax, dword [ebp - 0xa4]
push eax
call fcn.0040da40
add esp, 0xc
xor ecx, ecx
mov byte [ebp - 0x66], cl
mov edx, dword [ebp - 0x48]
mov dword [ebp - 0xb0], edx
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0xb0]
push ecx
lea ecx, [ebp - 0x6c]
call fcn.00409480
mov edx, dword [ebp - 0x4c]
mov dword [ebp - 0xb4], edx
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0xb4]
push ecx
lea ecx, [ebp - 0x70]
call fcn.00409480
mov dl, byte [ebp - 0x66]
mov byte [ebp - 0xd9], dl
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xd8], eax
mov ecx, dword [ebp - 0x70]
mov dword [ebp - 0xd4], ecx
mov edx, dword [ebp - 0xd8]
mov dword [ebp - 0xbc], edx
mov eax, dword [ebp - 0xbc]
mov dword [ebp - 0xc0], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xc4], ecx
mov edx, dword [ebp - 0xc4]
mov dword [ebp - 0xc8], edx
mov al, byte [ebp - 0xd9]
mov byte [ebp - 0xcd], al
mov ecx, dword [ebp - 0xc8]
mov dword [ebp - 0xcc], ecx
jmp 0x40167a
mov edx, dword [ebp - 0xcc]
add edx, 8
mov dword [ebp - 0xcc], edx
mov eax, dword [ebp - 0xcc]
cmp eax, dword [ebp - 0xc0]
je 0x4016c4
sub esp, 8
fld qword [0x559108]
fstp qword [esp]
mov ecx, dword [ebp - 0xcc]
sub esp, 8
fld qword [ecx]
fstp qword [esp]
call fcn.0052aa10
add esp, 0x10
mov edx, dword [ebp - 0xcc]
fld qword [edx]
fdiv qword [0x559108]
fsubp st(1)
mov eax, dword [ebp - 0xcc]
fstp qword [eax]
jmp 0x40166b
mov cl, byte [ebp - 0xcd]
mov byte [ebp - 0xb5], cl
mov dl, byte [ebp - 0xb5]
mov byte [ebp - 0x65], dl
mov dword [ebp - 0x54], 0
jmp 0x4016eb
mov eax, dword [ebp - 0x54]
add eax, 1
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x48]
sub ecx, dword [ebp - 0x4c]
sar ecx, 3
cmp dword [ebp - 0x54], ecx
jae 0x40176b
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x4c]
lea ecx, [eax + edx*8]
mov dword [ebp - 0xe0], ecx
mov edx, dword [ebp - 0xe0]
sub esp, 8
fld qword [edx]
fstp qword [esp]
push 0x559100
mov eax, dword [ebp - 0x54]
push eax
push 0x5590f8
push 0x5b63c8
call fcn.00409cf0
add esp, 8
mov ecx, eax
call fcn.00402f90
push eax
call fcn.00409cf0
add esp, 8
mov ecx, eax
call fcn.00403250
mov dword [ebp - 0xe4], eax
push 0xa
mov ecx, dword [ebp - 0xe4]
call fcn.004038e0
mov ecx, dword [ebp - 0xe4]
call fcn.00403b00
jmp 0x4016e2
mov ecx, dword [ebp - 0x48]
mov dword [ebp - 0xe8], ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0xe8]
push eax
lea ecx, [ebp - 0x74]
call fcn.00409480
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0xec], ecx
lea edx, [ebp - 0x4c]
push edx
mov eax, dword [ebp - 0xec]
push eax
lea ecx, [ebp - 0x78]
call fcn.00409480
mov ecx, dword [ebp - 0x74]
mov dword [ebp - 0x104], ecx
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x100], edx
mov eax, dword [ebp - 0x104]
mov dword [ebp - 0xf0], eax
mov ecx, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], ecx
mov edx, dword [ebp - 0x100]
mov dword [ebp - 0xf8], edx
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0xfc], eax
sub esp, 8
fldz
fstp qword [esp]
mov ecx, dword [ebp - 0xf4]
push ecx
mov edx, dword [ebp - 0xfc]
push edx
call fcn.0040db50
add esp, 0x10
fstp qword [ebp - 0x3c]
sub esp, 8
fld qword [ebp - 0x3c]
fstp qword [esp]
push 0x5590e4
push 0x5b63c8
call fcn.00409cf0
add esp, 8
mov ecx, eax
call fcn.00403250
mov dword [ebp - 0x108], eax
push 0xa
mov ecx, dword [ebp - 0x108]
call fcn.004038e0
mov ecx, dword [ebp - 0x108]
call fcn.00403b00
mov dword [ebp - 0x28], 0x3e8
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x40188f
push 0x5590bc
push 0x5b6310
call fcn.00409cf0
add esp, 8
mov byte [ebp - 0x79], 0
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00408190
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x79]
jmp 0x40198f
lea ecx, [ebp - 0x1c]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x4018d1
push 0x559098
push 0x5b6310
call fcn.00409cf0
add esp, 8
mov byte [ebp - 0x7a], 0
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x4c]
call fcn.00408190
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x7a]
jmp 0x40198f
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x34]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
jne 0x40191b
push 0x559098
push 0x5b6310
call fcn.00409cf0
add esp, 8
mov byte [ebp - 0x7b], 0
mov dword [ebp - 4], 3
lea ecx, [ebp - 0x4c]
call fcn.00408190
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x7b]
jmp 0x40198f
mov eax, dword [ebp - 0x34]
sub eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x30]
sbb ecx, dword [ebp - 0x18]
mov dword [ebp - 0x120], eax
mov dword [ebp - 0x11c], ecx
fild qword [ebp - 0x120]
fild qword [ebp - 0x24]
fdivp st(1)
fmul qword [0x559090]
fstp qword [ebp - 0x14]
fld qword [0x559090]
fcomp qword [ebp - 0x14]
fnstsw ax
test ah, 0x41
jne 0x401963
mov dword [ebp - 0x124], 1
jmp 0x40196d
mov dword [ebp - 0x124], 0
mov dl, byte [ebp - 0x124]
mov byte [ebp - 0x7c], dl
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x4c]
call fcn.00408190
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x7c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret