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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov ebx, dword [ebp + 8]
mov byte [ebp - 0x29], 0
fild dword [ebp + 0x14]
fdiv dword [0x4cc7d8]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00429a08
mov dword [ebp - 0x24], eax
fild dword [ebp + 0x10]
fdiv dword [0x4cc7d8]
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00429a08
mov dword [ebp - 0x28], eax
cmp dword [ebp + 0xc], 2
jne 0x4cc59d
xor esi, esi
xor edi, edi
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 0x1c], 0xffffffff
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
sub eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x20], eax
jmp 0x4cc5cd
mov eax, dword [ebp + 0x14]
sar eax, 1
jns 0x4cc5a7
adc eax, 0
mov edx, eax
sub edx, dword [ebp - 0x24]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp + 0x10]
sar edx, 1
jns 0x4cc5b9
adc edx, 0
mov ecx, edx
sub ecx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], edx
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x1c]
fild dword [ebp + 0x10]
fild dword [0x4dd090]
fdiv dword [0x4cc7dc]
fdivp st(1)
add esp, 0xfffffff4
fstp xword [esp]
wait
call fcn.00429a08
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 0x10], eax
jmp 0x4cc7ae
call sub.KERNEL32.DLL_GetTickCount
mov dword [0x4e03f0], eax
mov eax, dword [ebp - 0x28]
add eax, edi
push eax
lea eax, [ebp - 0x39]
push eax
mov ecx, dword [ebp - 0x24]
add ecx, esi
mov edx, edi
mov eax, esi
call fcn.00406a1c
cmp dword [ebp - 0x39], 0
jge 0x4cc629
xor eax, eax
mov dword [ebp - 0x39], eax
cmp dword [ebp - 0x35], 0
jge 0x4cc634
xor eax, eax
mov dword [ebp - 0x35], eax
mov eax, dword [ebp - 0x31]
cmp eax, dword [ebp + 0x14]
jle 0x4cc642
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x31], eax
mov eax, dword [ebp - 0x2d]
cmp eax, dword [ebp + 0x10]
jle 0x4cc650
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x2d], eax
mov eax, dword [ebp - 4]
push esi
push edi
lea edi, [eax + 0x60]
lea esi, [ebp - 0x39]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
push esi
push edi
lea edi, [eax + 0x70]
lea esi, [ebp - 0x39]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov eax, dword [ebp - 4]
push eax
push 0x4c43a0
mov eax, dword [ebp - 4]
call fcn.0041e364
mov edx, 1
mov eax, ebx
call fcn.00429b30
push eax
call sub.KERNEL32.DLL_Sleep
call sub.KERNEL32.DLL_GetTickCount
sub eax, dword [0x4e03f0]
cdq
xor eax, edx
sub eax, edx
cmp ebx, eax
jle 0x4cc6b2
cmp byte [0x4e03e8], 0
je 0x4cc683
add esi, dword [ebp - 8]
add edi, dword [ebp - 0xc]
cmp esi, dword [ebp - 0x18]
jl 0x4cc6ea
cmp dword [ebp - 8], 0
jle 0x4cc6ea
cmp dword [ebp + 0xc], 2
jne 0x4cc6d1
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x1c], eax
jmp 0x4cc6d7
mov eax, dword [ebp - 0x28]
sub dword [ebp - 0x1c], eax
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4cc779
cmp edi, dword [ebp - 0x20]
jl 0x4cc71b
cmp dword [ebp - 0xc], 0
jle 0x4cc71b
cmp dword [ebp + 0xc], 2
jne 0x4cc703
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x18], eax
jmp 0x4cc709
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x18], eax
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0xc]
neg eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x4cc779
cmp esi, dword [ebp - 0x14]
jg 0x4cc74a
cmp dword [ebp - 8], 0
jge 0x4cc74a
cmp dword [ebp + 0xc], 2
jne 0x4cc734
mov eax, dword [ebp - 0x28]
sub dword [ebp - 0x20], eax
jmp 0x4cc73a
mov eax, dword [ebp - 0x28]
add dword [ebp - 0x20], eax
mov esi, dword [ebp - 0x14]
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
xor eax, eax
mov dword [ebp - 8], eax
jmp 0x4cc779
cmp edi, dword [ebp - 0x1c]
jg 0x4cc779
cmp dword [ebp - 0xc], 0
jge 0x4cc779
cmp dword [ebp + 0xc], 2
jne 0x4cc763
mov eax, dword [ebp - 0x24]
add dword [ebp - 0x14], eax
jmp 0x4cc769
mov eax, dword [ebp - 0x24]
sub dword [ebp - 0x14], eax
mov edi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
neg eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
inc dword [ebp - 0x10]
cmp dword [ebp + 0xc], 2
jne 0x4cc79d
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x14]
jl 0x4cc796
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp - 0x1c]
jl 0x4cc796
xor eax, eax
jmp 0x4cc798
mov al, 1
mov byte [ebp - 0x29], al
jmp 0x4cc7ae
test esi, esi
jg 0x4cc7a5
test edi, edi
jle 0x4cc7a9
xor eax, eax
jmp 0x4cc7ab
mov al, 1
mov byte [ebp - 0x29], al
cmp byte [0x4e03e8], 0
jne 0x4cc7ce
cmp byte [ebp - 0x29], 0
jne 0x4cc7ce
mov eax, dword [0x4dd090]
shl eax, 2
cmp eax, dword [ebp - 0x10]
jge 0x4cc5fc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10