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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0xc]
cmp dword [edx + 0x18], 0
jne 0x45c76f
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x18], 1
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x2c], 1
mov edx, dword [0x6ba8f0]
xor edx, 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x30], edx
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x34], 0xfffffff6
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x38], 1
call dword [sym.imp.kernel32.dll_GetTickCount]
cmp eax, 0x35a4e900
jbe 0x45c790
call dword [sym.imp.kernel32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x35a4e900
div ecx
mov dword [ebp - 0x10], edx
jmp 0x45c799
call dword [sym.imp.kernel32.dll_GetTickCount]
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x14]
add eax, 0x1770
cmp eax, dword [ebp - 0x10]
jae 0x45c7fe
mov ecx, dword [ebp + 8]
fld dword [ecx + 0x27c]
fcomp qword [0x5e8680]
fnstsw ax
test ah, 0x44
jp 0x45c7fe
mov edx, dword [ebp + 8]
fld dword [edx + 0x280]
fcomp qword [0x5e8680]
fnstsw ax
test ah, 0x44
jp 0x45c7fe
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x28]
push ecx
call fcn.0045aee0
add esp, 4
mov edx, dword [ebp + 8]
push edx
call fcn.004013e0
add esp, 4
mov dword [ebp + 8], 0
xor eax, eax
jmp 0x45ca0d
mov eax, dword [ebp + 8]
fld dword [eax + 0x27c]
fcomp qword [0x5e8680]
fnstsw ax
test ah, 0x44
jp 0x45c8d8
mov ecx, dword [ebp + 8]
fld dword [ecx + 0x280]
fcomp qword [0x5e8680]
fnstsw ax
test ah, 0x44
jp 0x45c8d8
push 0xca99f0
mov ecx, dword [ebp + 8]
add ecx, 0x1e0
call fcn.005b7680
test eax, eax
jge 0x45c863
push 0xca99f0
mov ecx, dword [ebp + 8]
add ecx, 0x1e0
call fcn.005b7680
neg eax
mov dword [ebp - 0x14], eax
jmp 0x45c879
push 0xca99f0
mov ecx, dword [ebp + 8]
add ecx, 0x1e0
call fcn.005b7680
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 1
jg 0x45c8cc
push 0xca9a20
mov ecx, dword [ebp + 8]
add ecx, 0x1f0
call fcn.005b7680
test eax, eax
jge 0x45c8b0
push 0xca9a20
mov ecx, dword [ebp + 8]
add ecx, 0x1f0
call fcn.005b7680
neg eax
mov dword [ebp - 0x18], eax
jmp 0x45c8c6
push 0xca9a20
mov ecx, dword [ebp + 8]
add ecx, 0x1f0
call fcn.005b7680
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jle 0x45c8d8
mov edx, dword [ebp + 8]
push edx
call fcn.0045b5c0
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.00453ee0
add esp, 4
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x6ba8f0]
cmp edx, dword [ecx + 0x30]
je 0x45c901
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax + 0x38]
sub ecx, 1
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x38], ecx
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 0
jg 0x45c94c
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx + 0x2c]
xor edx, 1
mov eax, dword [ebp - 0xc]
mov dword [eax + 0x2c], edx
mov ecx, dword [ebp - 0xc]
mov eax, dword [ecx + 0x34]
cdq
sub eax, edx
sar eax, 1
mov edx, dword [ebp - 0xc]
mov dword [edx + 0x38], eax
mov eax, dword [ebp - 0xc]
cmp dword [eax + 0x38], 1
jge 0x45c93d
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x38], 1
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + 0x34]
add eax, 1
mov ecx, dword [ebp - 0xc]
mov dword [ecx + 0x34], eax
lea edx, [ebp - 4]
push edx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp + 8]
push ecx
fld dword [ecx + 0x278]
fstp dword [esp]
mov edx, dword [ebp + 8]
push ecx
fld dword [edx + 0x274]
fstp dword [esp]
call fcn.0049cb80
add esp, 0x10
fld dword [ebp - 8]
fadd qword [0x5e85a8]
call fcn.005cbd10
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x30], eax
fld dword [ebp - 4]
fadd qword [0x5e85a8]
call fcn.005cbd10
mov edx, dword [ebp + 8]
mov dword [edx + 0x34], eax
push 0
push 0
push 0x64
mov eax, dword [ebp + 8]
push eax
call fcn.00592b40
add esp, 0x10
mov ecx, dword [ebp - 0xc]
cmp dword [ecx + 0x2c], 0
je 0x45ca00
mov edx, dword [ebp + 8]
add edx, 0x2f8
push edx
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
push ecx
push 0xb
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.00593b40
add esp, 8
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x34]
push eax
push 0
mov edx, dword [ebp + 8]
push edx
call fcn.00593b40
add esp, 8
mov ecx, dword [ebp + 8]
add eax, dword [ecx + 0x30]
push eax
call fcn.005a1d30
add esp, 0x18
mov edx, dword [ebp - 0xc]
mov eax, dword [0x6ba8f0]
mov dword [edx + 0x30], eax
xor eax, eax
mov esp, ebp
pop ebp
ret