Function at 0x49b373
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 0x49b3c7
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 0x49b3e8
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 - 0x10], edi
cmp esi, edi
jl 0x49b406
mov dword [ebp - 0x10], esi
fild dword [ebp - 0x10]
fmul dword [0x62efb0]
fadd st(2)
call fcn.0044d7bc
cmp eax, edi
jge 0x49b41e
mov esi, edi
jmp 0x49b43a
cmp esi, edi
mov dword [ebp - 0x10], edi
jl 0x49b428
mov dword [ebp - 0x10], esi
fild dword [ebp - 0x10]
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 - 0x10], edi
cmp ebx, edi
fstp st(0)
jl 0x49b45a
mov dword [ebp - 0x10], ebx
fild dword [ebp - 0x10]
fmul dword [0x62efb0]
fadd st(1)
call fcn.0044d7bc
cmp eax, edi
jge 0x49b474
fstp st(0)
mov eax, edi
jmp 0x49b490
cmp ebx, edi
mov dword [ebp - 0x10], edi
jl 0x49b47e
mov dword [ebp - 0x10], ebx
fild dword [ebp - 0x10]
fmul dword [0x62efb0]
fadd st(1)
call fcn.0044d7bc
fstp st(0)
cmp esi, eax
mov dword [ebp - 4], esi
jg 0x49b49a
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
call fcn.0059bbcd
fstp qword [ebp - 0x24]
pop ecx
call fcn.0059d186
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
xor ecx, ecx
test eax, eax
mov dword [ebp - 0x14], ecx
jle 0x49b601
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.0049a57f
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.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]
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.0049a57f
fild dword [ebp - 0x10]
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 0x49b5e6
mov ecx, dword [ebp - 0x10]
dec dword [ebp + 0x10]
cmp ecx, dword [ebp - 4]
mov dword [ebp - 0x14], ecx
jl 0x49b4c7
pop edi
pop esi
pop ebx
leave
ret