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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push ebx
push esi
lea eax, [ebp - 0x3c]
push edi
push eax
push dword [ebp + 8]
call fcn.0049abfd
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 8]
call fcn.0049abfd
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
fld qword [0x62b0e0]
fld dword [0x62d428]
add eax, esi
add esp, 0x10
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul st(1)
fadd st(2)
call fcn.0044d9cc
push 1
pop edi
cmp eax, edi
mov dword [ebp - 8], edi
jl 0x49bd0d
mov dword [ebp - 8], eax
mov ebx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x3c]
add eax, ebx
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul st(1)
fadd st(2)
call fcn.0044d9cc
cmp eax, edi
mov dword [ebp - 0xc], edi
jl 0x49bd2e
mov dword [ebp - 0xc], eax
sub esi, dword [ebp - 0x38]
mov dword [ebp - 0x14], esi
fild dword [ebp - 0x14]
fmul st(1)
fadd st(2)
call fcn.0044d9cc
mov esi, eax
mov dword [ebp - 0x14], edi
cmp esi, edi
jl 0x49bd4c
mov dword [ebp - 0x14], esi
fild dword [ebp - 0x14]
fmul dword [0x634fd0]
fadd st(2)
call fcn.0044d9cc
cmp eax, edi
jge 0x49bd64
mov esi, edi
jmp 0x49bd80
cmp esi, edi
mov dword [ebp - 0x14], edi
jl 0x49bd6e
mov dword [ebp - 0x14], esi
fild dword [ebp - 0x14]
fmul dword [0x634fd0]
fadd st(2)
call fcn.0044d9cc
mov esi, eax
sub ebx, dword [ebp - 0x3c]
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fmul st(1)
fadd st(2)
call fcn.0044d9cc
mov ebx, eax
mov dword [ebp - 0x14], edi
cmp ebx, edi
fstp st(0)
jl 0x49bda0
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fmul dword [0x634fd0]
fadd st(1)
call fcn.0044d9cc
cmp eax, edi
jge 0x49bdba
fstp st(0)
mov eax, edi
jmp 0x49bdd6
cmp ebx, edi
mov dword [ebp - 0x14], edi
jl 0x49bdc4
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fmul dword [0x634fd0]
fadd st(1)
call fcn.0044d9cc
fstp st(0)
cmp esi, eax
mov dword [ebp - 4], esi
jg 0x49bde0
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
call fcn.005a0fe4
fstp qword [ebp - 0x24]
pop ecx
call fcn.005a259d
and dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
test eax, eax
jle 0x49bf47
fild dword [ebp - 4]
mov dword [ebp + 0x10], eax
fstp qword [ebp - 0x2c]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x10]
sub edx, dword [ebp - 0x4c]
mov eax, ecx
imul eax, edx
mov dword [ebp - 0x18], edx
cdq
idiv dword [ebp - 4]
mov esi, eax
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0xc]
add esi, dword [ebp - 0x4c]
imul eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 4]
mov dword [ebp - 0x34], esi
mov edi, eax
mov eax, dword [ebp - 8]
add edi, dword [ebp - 0xc]
sub eax, dword [ebp - 0x48]
dec ecx
imul eax, ecx
cdq
idiv dword [ebp - 4]
mov ebx, eax
mov eax, dword [ebp - 0x10]
add ebx, dword [ebp - 0x48]
lea ecx, [eax + 1]
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x38], ebx
imul eax, ecx
cdq
idiv dword [ebp - 4]
add eax, dword [ebp - 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 0x10]
dec eax
imul eax, dword [ebp - 0x18]
cdq
idiv dword [ebp - 4]
add eax, dword [ebp - 0x4c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049ac32
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x3c], edi
sub eax, dword [ebp - 0xc]
imul eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 4]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049ac32
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], esi
sub eax, dword [ebp - 0x48]
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], ebx
imul eax, dword [ebp + 0x10]
cdq
idiv dword [ebp - 4]
add eax, dword [ebp - 0x48]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049ac32
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 8]
imul eax, dword [ebp - 0x10]
cdq
idiv dword [ebp - 4]
add eax, dword [ebp - 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0049ac32
fild dword [ebp - 0x14]
add esp, 0x30
fmul qword [ebp - 0x24]
fmul qword [0x634fc8]
fdiv qword [ebp - 0x2c]
call fcn.0044d9cc
mov esi, dword [ebp - 0x1c]
sub esi, eax
call fcn.005a259d
cmp eax, esi
jbe 0x49bf2c
mov eax, dword [ebp - 0x14]
dec dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
jl 0x49be0c
pop edi
pop esi
pop ebx
leave
ret