Function at 0x41a723
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x47e5d0]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x1c], 1
and dword [ebp - 0x34], 0
and dword [ebp - 0x20], 0
and dword [ebp - 0x24], 0
and dword [ebp - 0x18], 0
xor eax, eax
mov word [ebp - 0x14], ax
xor eax, eax
lea edi, [ebp - 0x12]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
and dword [ebp - 0x30], 0
xor eax, eax
lea edi, [ebp - 0x2c]
stosd dword es:[edi], eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
test eax, eax
je 0x41a782
mov eax, dword [ebp - 0x30]
and eax, 0x7fff
mov dword [0x483f88], eax
jmp 0x41a7cc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x483f8c]
cmp eax, 0xa
jbe 0x41a7cc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [0x483f88], eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 6]
add eax, dword [0x483f88]
mov dword [0x483f88], eax
mov eax, dword [0x483f88]
and eax, 0x7fff
mov dword [0x483f88], eax
mov eax, dword [0x483f88]
mov dword [ebp - 0x38], eax
and dword [ebp - 0x20], 0
jmp 0x41a7e4
mov eax, dword [ebp - 0x38]
dec eax
and eax, dword [ebp - 0x38]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x41a7f3
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
jmp 0x41a7da
push dword [ebp - 0x20]
push dword [0x483f88]
push 0
call fcn.0041a630
add esp, 0xc
mov dword [0x483f88], eax
push dword [0x483f88]
call fcn.00454755
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x483f8c], eax
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
jns 0x41a837
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
neg eax
mov dword [ebp - 0x3c], eax
jmp 0x41a840
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7fff
jge 0x41a87b
mov eax, 0x7fff
cdq
idiv dword [ebp - 0x24]
cmp eax, 1
jge 0x41a867
mov dword [ebp - 0x40], 1
jmp 0x41a873
mov eax, 0x7fff
cdq
idiv dword [ebp - 0x24]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x1c], eax
jmp 0x41a8b1
cmp dword [ebp - 0x24], 0x7fff
jl 0x41a8b1
mov eax, dword [ebp - 0x24]
cdq
mov ecx, 0x7fff
idiv ecx
cmp eax, 1
jge 0x41a89d
mov dword [ebp - 0x44], 1
jmp 0x41a8ab
mov eax, dword [ebp - 0x24]
cdq
mov ecx, 0x7fff
idiv ecx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x1c], eax
call fcn.00454767
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [0x483f88], eax
cmp dword [ebp - 0x24], 0x7fff
jge 0x41a8d6
mov eax, dword [ebp - 0x34]
cdq
idiv dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
jmp 0x41a8e0
mov eax, dword [ebp - 0x34]
imul eax, dword [ebp - 0x1c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0x24]
jge 0x41a8b1
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0xc]
jge 0x41a8f8
mov eax, dword [ebp + 8]
mov dword [ebp - 0x48], eax
jmp 0x41a8fe
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
add eax, dword [ebp - 0x34]
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00452dee
leave
ret