Function at 0x6c5db0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x90
push ebx
push ebp
push esi
lea eax, [esp + 0x20]
push edi
lea ecx, [esp + 0xa4]
push eax
mov ebx, 0xff
push ecx
mov ecx, dword [0x821c8c]
mov byte [esp + 0x18], 0
mov byte [esp + 0x19], 0
mov byte [esp + 0x1a], 0
mov byte [esp + 0x34], bl
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], bl
call fcn.00697ec0
mov ecx, dword [0x821c8c]
lea edx, [esp + 0x18]
lea eax, [esp + 0xb0]
push edx
push eax
call fcn.00697ec0
mov eax, dword [esp + 0x28]
mov ecx, dword [0x821954]
mov edx, dword [esp + 0x1c]
mov esi, dword [esp + 0xbe]
add eax, ecx
add edx, ecx
mov cl, byte [0x83b2d4]
and esi, ebx
shr esi, cl
mov ecx, dword [0x83b2d0]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0xbd]
mov dword [esp + 0x28], eax
and edx, ebx
push 3
shl esi, cl
mov cl, byte [0x83b2dc]
add eax, 0xfffffffe
shr edx, cl
mov ecx, dword [0x83b2d8]
push 3
mov dword [esp + 0x3c], eax
shl edx, cl
mov cl, byte [0x83b2cc]
or esi, edx
mov edx, dword [esp + 0xc4]
and edx, ebx
shr edx, cl
mov ecx, dword [0x83b2c8]
shl edx, cl
mov ecx, dword [esp + 0x2c]
add ecx, 0xfffffffe
mov dword [esp + 0x38], ecx
lea ecx, [esp + 0x88]
or esi, edx
lea edx, [esp + 0x38]
push edx
call fcn.00453ab0
mov ecx, dword [eax]
push 0
mov dword [esp + 0x4c], ecx
push 0
mov edx, dword [eax + 4]
mov dword [esp + 0x54], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x98]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x50]
mov dword [esp + 0x5c], edx
push eax
mov edx, 0x821950
call fcn.0041fdf0
mov ecx, dword [eax]
mov dword [esp + 0x38], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x3c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x40], ecx
mov edx, dword [eax + 0xc]
mov ecx, dword [0x821c84]
mov dword [esp + 0x44], edx
lea edx, [esp + 0x38]
push esi
mov eax, dword [ecx]
push edx
call dword [eax + 0x14]
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
add ecx, 0xfffffffe
push 3
lea edx, [esp + 0x34]
add eax, 0xfffffffe
mov dword [esp + 0x38], ecx
push 3
push edx
lea ecx, [esp + 0x9c]
mov dword [esp + 0x3c], eax
call fcn.00453ab0
mov ecx, dword [eax]
push 0
mov dword [esp + 0x3c], ecx
push 0
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x48], ecx
lea ecx, [esp + 0x88]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x40]
mov dword [esp + 0x4c], edx
push eax
mov edx, 0x821950
call fcn.0041fdf0
mov ecx, dword [eax]
push esi
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x54], ecx
mov ecx, dword [0x821c84]
mov edx, dword [eax + 0xc]
mov dword [esp + 0x58], edx
mov eax, dword [ecx]
lea edx, [esp + 0x4c]
push edx
call dword [eax + 0x14]
mov eax, dword [0x821950]
mov ecx, dword [0x821954]
mov edx, dword [0x821958]
mov dword [esp + 0x70], eax
mov eax, dword [0x82195c]
mov dword [esp + 0x74], ecx
mov dword [esp + 0x78], edx
mov dword [esp + 0x7c], eax
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esp + 0xa8]
mov ecx, dword [esp + 0xa4]
shr eax, 4
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0xac]
mov esi, 1
mov edi, 0x1f
shl eax, 3
mov dword [esp + 0x20], esi
mov dword [esp + 0x64], ecx
mov dword [esp + 0x6c], edx
mov ebp, 8
mov dword [esp + 0x30], eax
jmp 0x6c5ffa
mov ecx, dword [esp + 0xa4]
mov eax, dword [esp + 0xb0]
imul ecx, edi
fild dword [esp + 0x20]
imul eax, esi
add eax, ecx
mov ecx, dword [esp + 0xb4]
cdq
imul ecx, esi
and edx, 0x1f
add eax, edx
sar eax, 5
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0xa8]
imul eax, edi
add eax, ecx
cdq
and edx, 0x1f
add eax, edx
mov edx, dword [esp + 0xb8]
sar eax, 5
imul edx, esi
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0xac]
imul eax, edi
add eax, edx
cdq
fsub qword [0x797ea8]
and edx, 0x1f
add eax, edx
sar eax, 5
fmul qword [0x797ea0]
mov dword [esp + 0x20], eax
fild dword [esp + 0x20]
fld st(1)
fmul st(2)
fchs
fadd qword [0x785708]
fmul qword [0x797e98]
faddp st(1)
call fcn.0076a6b0
mov dword [esp + 0x60], eax
lea eax, [esp + 0x24]
lea ecx, [esp + 0x64]
push eax
push ecx
mov ecx, dword [0x821c8c]
fstp st(0)
call fcn.00697ec0
mov ecx, dword [0x821c8c]
lea edx, [esp + 0x18]
lea eax, [esp + 0x58]
push edx
push eax
call fcn.00697ec0
mov eax, dword [0x821954]
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x1c]
add ecx, eax
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x70]
add ebx, eax
push ecx
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x28]
mov dword [esp + 0x20], ebx
call fcn.00760bc0
test al, al
je 0x6c6199
mov al, byte [esp + 0xbe]
mov ebx, dword [esp + 0x30]
mov dx, word [esp + 0xbc]
mov byte [esp + 0x12], al
mov eax, ebp
mov word [esp + 0x10], dx
sub eax, ebx
and eax, 0x1f8
cmp eax, 0xf8
ja 0x6c612b
test eax, eax
je 0x6c612b
lea ecx, [esp + 0x2c]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.006341c0
mov edx, dword [0x821c84]
mov cl, byte [0x83b2d4]
mov ebx, dword [esp + 0x11]
mov eax, dword [edx]
mov edx, dword [esp + 0x12]
and edx, 0xff
and ebx, 0xff
shr edx, cl
mov ecx, dword [0x83b2d0]
shl edx, cl
mov cl, byte [0x83b2dc]
shr ebx, cl
mov ecx, dword [0x83b2d8]
shl ebx, cl
mov cl, byte [0x83b2cc]
or edx, ebx
mov ebx, dword [esp + 0x10]
and ebx, 0xff
shr ebx, cl
mov ecx, dword [0x83b2c8]
shl ebx, cl
lea ecx, [esp + 0x18]
or edx, ebx
push edx
lea edx, [esp + 0x28]
push ecx
mov ecx, dword [0x821c84]
push edx
call dword [eax + 0x30]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x60]
inc esi
add ebp, 8
dec edi
cmp ebp, 0x100
mov dword [esp + 0x20], esi
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
jbe 0x6c5ff3
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x90
ret 0x1c