Function at 0x449454
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 0x449893
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, 0x19
mov ebx, 0x47c148
cmp byte [ebx], 0
je 0x44986e
call sub.kernel32.dll_GetTickCount
mov edx, dword [ebx + 4]
add edx, dword [ebx + 8]
cmp eax, edx
jae 0x44986b
push edi
call fcn.0041801c
test al, al
je 0x44986e
mov eax, dword [0x479b60]
cmp byte [eax + 0x118], 0
je 0x4494d7
mov eax, dword [ebx + 0x24]
mov edx, eax
shl eax, 4
sub eax, edx
mov edx, dword [0x4799ac]
cmp byte [edx + eax*4 + 0x28], 0
jne 0x4494d7
mov byte [ebx], 0
jmp 0x44986e
mov eax, dword [ebx + 0x24]
mov edx, eax
shl eax, 4
sub eax, edx
mov edx, dword [0x4799ac]
cmp byte [edx + eax*4 + 0x21], 0
je 0x44950e
push edi
call fcn.004172e0
mov eax, dword [ebx + 0x24]
mov edx, eax
shl eax, 4
sub eax, edx
mov edx, dword [0x4799ac]
fadd dword [edx + eax*4 + 0x18]
fstp dword [ebp - 0x14]
wait
jmp 0x449525
mov eax, dword [ebx + 0x24]
mov edx, eax
shl eax, 4
sub eax, edx
mov edx, dword [0x4799ac]
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 [0x4799ac]
cmp dword [edx + eax*4 + 0xc], 2
jne 0x4496d8
mov eax, dword [0x479b60]
cmp byte [eax + 0x110], 0
je 0x449573
push dword [ebp - 0x14]
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.004176b8
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.0041c1ec
mov eax, dword [0x479b60]
cmp byte [eax + 0x130], 0
je 0x44959b
push 0xffffffffffffffff
push 0x42000000
push 0
push dword [ebp - 0x14]
push dword [ebx + 0x20]
push dword [ebx + 0x1c]
push dword [ebx + 0x18]
call fcn.00439c8c
mov eax, dword [0x479b60]
cmp byte [eax + 0x120], 0
je 0x44986e
mov eax, dword [ebx + 0x24]
mov edx, eax
shl eax, 4
sub eax, edx
mov edx, dword [0x4799ac]
cmp dword [edx + eax*4 + 0x24], 5
jne 0x44986e
push dword [ebp - 0x14]
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.004176b8
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.0041c2bc
fld dword [ebp - 0x34]
fcomp dword [0x4498a4]
fnstsw ax
sahf
je 0x44986e
fld dword [ebp - 0x2c]
fcomp dword [0x4498a4]
fnstsw ax
sahf
je 0x44986e
mov eax, dword [0x479aec]
mov eax, dword [eax]
push eax
push edi
push 4
call fcn.00416a58
test eax, eax
jne 0x449670
mov eax, dword [0x479aec]
mov eax, dword [eax]
push eax
push edi
push 4
call fcn.004175d0
mov edx, eax
lea eax, [ebp - 0x44]
call fcn.00403ea4
mov eax, dword [ebp - 0x44]
mov edx, 0x4498b0
call fcn.004040b8
jne 0x449670
mov dword [0x47963c], 0xffffffff
mov eax, dword [0x479aec]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x34]
push eax
push 4
push edi
call fcn.00416ab4
mov eax, dword [0x479aec]
mov eax, dword [eax]
push eax
push edi
push 5
call fcn.00416a58
test eax, eax
jne 0x44986e
mov eax, dword [0x479aec]
mov eax, dword [eax]
push eax
push edi
push 5
call fcn.004175d0
mov edx, eax
lea eax, [ebp - 0x48]
call fcn.00403ea4
mov eax, dword [ebp - 0x48]
mov edx, 0x4498b0
call fcn.004040b8
jne 0x44986e
mov dword [0x47963c], 0xffffffff
mov eax, dword [0x479aec]
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x34]
push eax
push 5
push edi
call fcn.00416ab4
jmp 0x44986e
mov edx, dword [0x4799ac]
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 [0x4799ac]
fld dword [edx + eax*4 + 0x10]
call fcn.00402874
pop edx
xchg edx, eax
sub eax, edx
cmp eax, 1
jge 0x44971f
mov eax, 1
mov dword [ebp - 0x4c], eax
fild dword [ebp - 0x4c]
fdiv dword [0x4498c0]
mov eax, dword [ebx + 0x24]
mov edx, eax
shl eax, 4
sub eax, edx
mov edx, dword [0x4799ac]
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.0041bb40
fld dword [ebp - 0x1c]
fcomp dword [ebp - 0x18]
fnstsw ax
sahf
jae 0x44986e
mov eax, dword [0x479b60]
cmp byte [eax + 0x130], 0
je 0x449798
push 0xffffffffffffffff
push 0x42000000
push 0
push dword [ebp - 0x14]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
call fcn.00439c8c
mov eax, dword [0x479b60]
cmp byte [eax + 0x110], 0
je 0x4497d7
push dword [ebp - 0x18]
push dword [ebp - 0x14]
push edi
lea eax, [ebp - 0x40]
push eax
call fcn.004176b8
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.0041be14
mov eax, dword [0x479b60]
cmp byte [eax + 0x128], 0
je 0x44986e
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.0043a290
test al, al
je 0x44986e
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.0043a290
test al, al
je 0x44986e
push 0x3f800000
push 2
push 0xffffffffffffffff
push 1
lea ecx, [ebp - 0x64]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00405c34
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.00405c34
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.00439aa4
jmp 0x44986e
mov byte [ebx], 0
add ebx, 0x28
dec esi
jne 0x449480
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44989a
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00403cd0
ret