Function at 0x49b606
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.0049a54a
lea eax, [ebp - 0x4c]
push eax
push dword [ebp + 8]
call fcn.0049a54a
mov esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x38]
fld qword [0x6250c0]
fld dword [0x627408]
add eax, esi
add esp, 0x10
mov dword [ebp - 0x14], eax
fild dword [ebp - 0x14]
fmul st(1)
fadd st(2)
call fcn.0044d7bc
push 1
pop edi
cmp eax, edi
mov dword [ebp - 8], edi
jl 0x49b65a
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.0044d7bc
cmp eax, edi
mov dword [ebp - 0xc], edi
jl 0x49b67b
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.0044d7bc
mov esi, eax
mov dword [ebp - 0x14], edi
cmp esi, edi
jl 0x49b699
mov dword [ebp - 0x14], esi
fild dword [ebp - 0x14]
fmul dword [0x62efb0]
fadd st(2)
call fcn.0044d7bc
cmp eax, edi
jge 0x49b6b1
mov esi, edi
jmp 0x49b6cd
cmp esi, edi
mov dword [ebp - 0x14], edi
jl 0x49b6bb
mov dword [ebp - 0x14], esi
fild dword [ebp - 0x14]
fmul dword [0x62efb0]
fadd st(2)
call fcn.0044d7bc
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.0044d7bc
mov ebx, eax
mov dword [ebp - 0x14], edi
cmp ebx, edi
fstp st(0)
jl 0x49b6ed
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fmul dword [0x62efb0]
fadd st(1)
call fcn.0044d7bc
cmp eax, edi
jge 0x49b707
fstp st(0)
mov eax, edi
jmp 0x49b723
cmp ebx, edi
mov dword [ebp - 0x14], edi
jl 0x49b711
mov dword [ebp - 0x14], ebx
fild dword [ebp - 0x14]
fmul dword [0x62efb0]
fadd st(1)
call fcn.0044d7bc
fstp st(0)
cmp esi, eax
mov dword [ebp - 4], esi
jg 0x49b72d
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
call fcn.0059bbcd
fstp qword [ebp - 0x24]
pop ecx
call fcn.0059d186
and dword [ebp - 0x10], 0
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
test eax, eax
jle 0x49b894
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.0049a57f
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.0049a57f
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.0049a57f
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.0049a57f
fild dword [ebp - 0x14]
add esp, 0x30
fmul qword [ebp - 0x24]
fmul qword [0x62efa8]
fdiv qword [ebp - 0x2c]
call fcn.0044d7bc
mov esi, dword [ebp - 0x1c]
sub esi, eax
call fcn.0059d186
cmp eax, esi
jbe 0x49b879
mov eax, dword [ebp - 0x14]
dec dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
mov dword [ebp - 0x10], eax
jl 0x49b759
pop edi
pop esi
pop ebx
leave
ret