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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov edi, dword [ebp + 8]
xor eax, eax
push ebp
push 0x4489df
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x19
mov ebx, 0x474148
cmp byte [ebx], 0
je 0x4489ba
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx + 4]
add edx, dword [ebx + 8]
cmp eax, edx
jae 0x4489b7
push edi
call fcn.00417610
test al, al
je 0x4489ba
mov eax, dword [0x471ac4]
cmp byte [eax + 0x118], 0
je 0x448623
mov eax, dword [ebx + 0x24]
mov edx, eax
shl eax, 4
sub eax, edx
mov edx, dword [0x471924]
cmp byte [edx + eax*4 + 0x28], 0
jne 0x448623
mov byte [ebx], 0
jmp 0x4489ba
mov eax, dword [ebx + 0x24]
mov edx, eax
shl eax, 4
sub eax, edx
mov edx, dword [0x471924]
cmp byte [edx + eax*4 + 0x21], 0
je 0x44865a
push edi
call fcn.00416b8c
mov eax, dword [ebx + 0x24]
mov edx, eax
shl eax, 4
sub eax, edx
mov edx, dword [0x471924]
fadd dword [edx + eax*4 + 0x18]
fstp dword [ebp - 0x14]
wait
jmp 0x448671
mov eax, dword [ebx + 0x24]
mov edx, eax
shl eax, 4
sub eax, edx
mov edx, dword [0x471924]
mov eax, dword [edx + eax*4 + 0x18]
mov dword [ebp - 0x14], eax
mov eax, dword [ebx + 0x24]
mov edx, eax
shl eax, 4
sub eax, edx
mov edx, dword [0x471924]
cmp dword [edx + eax*4 + 0xc], 2
jne 0x448824
mov eax, dword [0x471ac4]
cmp byte [eax + 0x110], 0
je 0x4486bf
push dword [ebp - 0x14]
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.00416ea0
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push edi
call fcn.0041b7e4
mov eax, dword [0x471ac4]
cmp byte [eax + 0x130], 0
je 0x4486e7
push 0xffffffffffffffff
push 0x42000000
push 0
push dword [ebp - 0x14]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call fcn.00429aac
mov eax, dword [0x471ac4]
cmp byte [eax + 0x120], 0
je 0x4489ba
mov eax, dword [ebx + 0x24]
mov edx, eax
shl eax, 4
sub eax, edx
mov edx, dword [0x471924]
cmp dword [edx + eax*4 + 0x24], 5
jne 0x4489ba
push dword [ebp - 0x14]
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.00416ea0
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push edi
lea eax, [ebp - 0x34]
push eax
call fcn.0041b8b4
fld dword [ebp - 0x34]
fcomp dword [0x4489f0]
fnstsw ax
sahf
je 0x4489ba
fld dword [ebp - 0x2c]
fcomp dword [0x4489f0]
fnstsw ax
sahf
je 0x4489ba
mov eax, dword [0x471a58]
mov eax, dword [eax]
push eax
push edi
push 4
call fcn.0041660c
test eax, eax
jne 0x4487bc
mov eax, dword [0x471a58]
mov eax, dword [eax]
push eax
push edi
push 4
call fcn.00416de4
mov edx, eax
lea eax, [ebp - 0x44]
call fcn.00403e60
mov eax, dword [ebp - 0x44]
mov edx, 0x4489fc
call fcn.00404074
jne 0x4487bc
mov dword [0x4715d8], 0xffffffff
mov eax, dword [0x471a58]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x34]
push eax
push 4
push edi
call fcn.00416668
mov eax, dword [0x471a58]
mov eax, dword [eax]
push eax
push edi
push 5
call fcn.0041660c
test eax, eax
jne 0x4489ba
mov eax, dword [0x471a58]
mov eax, dword [eax]
push eax
push edi
push 5
call fcn.00416de4
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00403e60
mov eax, dword [ebp - 0x48]
mov edx, 0x4489fc
call fcn.00404074
jne 0x4489ba
mov dword [0x4715d8], 0xffffffff
mov eax, dword [0x471a58]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x34]
push eax
push 5
push edi
call fcn.00416668
jmp 0x4489ba
mov edx, dword [0x471924]
mov eax, dword [edx + eax*4 + 0x14]
mov dword [ebp - 0x18], eax
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx + 4]
add edx, dword [ebx + 8]
sub edx, eax
mov eax, dword [ebx + 8]
sub eax, edx
push eax
mov eax, dword [ebx + 0x24]
mov edx, eax
shl eax, 4
sub eax, edx
mov edx, dword [0x471924]
fld dword [edx + eax*4 + 0x10]
call fcn.0040284c
pop edx
xchg edx, eax
sub eax, edx
cmp eax, 1
jge 0x44886b
mov eax, 1
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fdiv dword [0x448a0c]
mov eax, dword [ebx + 0x24]
mov edx, eax
shl eax, 4
sub eax, edx
mov edx, dword [0x471924]
fmul dword [edx + eax*4 + 0x1c]
fstp dword [ebp - 0x1c]
wait
push dword [ebp - 0x1c]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebx + 0x14]
push dword [ebx + 0x10]
push dword [ebx + 0xc]
lea eax, [ebp - 0x28]
push eax
call fcn.0041b138
fld dword [ebp - 0x1c]
fcomp dword [ebp - 0x18]
fnstsw ax
sahf
jae 0x4489ba
mov eax, dword [0x471ac4]
cmp byte [eax + 0x130], 0
je 0x4488e4
push 0xffffffffffffffff
push 0x42000000
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00429aac
mov eax, dword [0x471ac4]
cmp byte [eax + 0x110], 0
je 0x448923
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.00416ea0
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x40]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push edi
call fcn.0041b40c
mov eax, dword [0x471ac4]
cmp byte [eax + 0x128], 0
je 0x4489ba
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push 0
call fcn.00429fcc
test al, al
je 0x4489ba
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
push 0
call fcn.00429fcc
test al, al
je 0x4489ba
push 0x3f800000
push 2
push 0xffffffffffffffff
push 1
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00405ab0
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x6c]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0xc]
call fcn.00405ab0
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x5c]
push eax
call fcn.004298c4
jmp 0x4489ba
mov byte [ebx], 0
add ebx, 0x28
dec esi
jne 0x4485cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4489e6
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403c8c
ret