Function at 0x49ba26
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 0x49ba7a
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 0x49ba9b
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 - 0x10], edi
cmp esi, edi
jl 0x49bab9
mov dword [ebp - 0x10], esi
fild dword [ebp - 0x10]
fmul dword [0x634fd0]
fadd st(2)
call fcn.0044d9cc
cmp eax, edi
jge 0x49bad1
mov esi, edi
jmp 0x49baed
cmp esi, edi
mov dword [ebp - 0x10], edi
jl 0x49badb
mov dword [ebp - 0x10], esi
fild dword [ebp - 0x10]
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 - 0x10], edi
cmp ebx, edi
fstp st(0)
jl 0x49bb0d
mov dword [ebp - 0x10], ebx
fild dword [ebp - 0x10]
fmul dword [0x634fd0]
fadd st(1)
call fcn.0044d9cc
cmp eax, edi
jge 0x49bb27
fstp st(0)
mov eax, edi
jmp 0x49bb43
cmp ebx, edi
mov dword [ebp - 0x10], edi
jl 0x49bb31
mov dword [ebp - 0x10], ebx
fild dword [ebp - 0x10]
fmul dword [0x634fd0]
fadd st(1)
call fcn.0044d9cc
fstp st(0)
cmp esi, eax
mov dword [ebp - 4], esi
jg 0x49bb4d
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
call fcn.005a0fe4
fstp qword [ebp - 0x24]
pop ecx
call fcn.005a259d
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
test eax, eax
mov dword [ebp - 0x14], ecx
jle 0x49bcb4
fild dword [ebp - 4]
mov dword [ebp + 0x10], eax
fstp qword [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
lea edx, [ecx + 1]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x18], eax
imul eax, edx
cdq
idiv dword [ebp - 4]
mov esi, eax
mov eax, dword [ebp + 0x10]
add esi, dword [ebp - 0x4c]
lea edx, [eax - 1]
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], esi
imul eax, edx
cdq
idiv dword [ebp - 4]
mov edi, eax
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x48]
add edi, dword [ebp - 0xc]
imul eax, ecx
cdq
idiv dword [ebp - 4]
mov ebx, eax
mov eax, dword [ebp - 0x40]
sub eax, dword [ebp - 8]
add ebx, dword [ebp - 0x48]
imul eax, dword [ebp + 0x10]
cdq
idiv dword [ebp - 4]
mov dword [ebp - 0x38], ebx
add eax, dword [ebp - 8]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x14]
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 + 0x10]
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]
mov ecx, dword [ebp + 0x10]
sub eax, dword [ebp - 8]
dec ecx
imul eax, ecx
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 - 0x10]
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 0x49bc99
mov ecx, dword [ebp - 0x10]
dec dword [ebp + 0x10]
cmp ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
jl 0x49bb7a
pop edi
pop esi
pop ebx
leave
ret