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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff98
push ebx
push esi
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x24], eax
xor eax, eax
mov dword [ebp - 0x28], eax
xor eax, eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
xor eax, eax
mov dword [ebp - 0x4c], eax
xor esi, esi
call sub.kernel32.dll_GetCurrentThread
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x20]
push eax
call sub.kernel32.dll_QueryPerformanceFrequency
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x473e12
jmp 0x473ce7
inc dword [ebp - 0x50]
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], ebx
lea eax, [ebp - 0x10]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetThreadPriority
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x7fffffff
je 0x473be2
push 0xf
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_SetThreadPriority
xor eax, eax
push ebp
push 0x473c64
push dword fs:[eax]
mov dword fs:[eax], esp
jmp 0x473c06
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
call fcn.00473a58
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
cmp eax, 0x32
jb 0x473bf2
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
jmp 0x473c33
lea eax, [ebp - 0x18]
push eax
call sub.kernel32.dll_QueryPerformanceCounter
call fcn.00473a58
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], edx
mov eax, dword [ebp - 0x18]
sub eax, dword [ebp - 0x10]
cmp eax, 0x3e8
jb 0x473c1f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x473c6b
cmp dword [ebp - 0x54], 0x7fffffff
je 0x473c63
mov eax, dword [ebp - 0x54]
push eax
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_SetThreadPriority
ret
cmp dword [ebp - 0x50], 3
jl 0x473ba1
cmp dword [ebp - 0x50], 0x14
jge 0x473d36
lea eax, [ebx + ebx*2]
sub eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x473ba1
mov eax, dword [ebp - 0x24]
lea eax, [eax + eax*2]
sub eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x473ba1
mov eax, dword [ebp - 0x28]
lea eax, [eax + eax*2]
sub eax, esi
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x473ba1
push 0
push 0xa
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
call fcn.00405b7c
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
fild qword [ebp - 0x60]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x68], eax
xor eax, eax
mov dword [ebp - 0x64], eax
fild qword [ebp - 0x68]
fdivp st(1)
call fcn.00402c5c
mov dword [ebp - 0x28], eax
push 0
push 0x64
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
call fcn.00405b7c
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], edx
fild qword [ebp - 0x60]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x68], eax
xor eax, eax
mov dword [ebp - 0x64], eax
fild qword [ebp - 0x68]
fdivp st(1)
call fcn.00402c5c
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x28]
add eax, eax
lea eax, [eax + eax*4]
mov edx, dword [ebp - 0x24]
sub edx, eax
cmp edx, 6
jl 0x473dab
inc dword [ebp - 0x28]
fild qword [ebp - 0x30]
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x60], eax
xor eax, eax
mov dword [ebp - 0x5c], eax
fild qword [ebp - 0x60]
fdivp st(1)
call fcn.00402c5c
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax], ebx
mov eax, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
mov eax, dword [ebp - 4]
mov ebx, dword [eax]
add ebx, ebx
lea ebx, [ebx + ebx*4]
mov eax, dword [ebp - 0x28]
sub eax, ebx
cmp eax, 6
jl 0x473ded
mov eax, dword [ebp - 4]
inc dword [eax + 4]
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x4c]
mov dword [eax + 0xc], edx
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 0x30]
mov dword [eax + 8], edx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
call fcn.00473ab8
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov al, 1
pop esi
pop ebx
mov esp, ebp
pop ebp
ret