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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ac848
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x695e80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [edi + 0xe], 0
je 0x4ad3cd
call fcn.004a6420
mov ecx, dword [edi + 0x8fc]
lea ebx, [edi + 0x904]
imul ecx, dword [edi + 0x900]
mov eax, 0x51eb851f
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [edi + 0x8f8]
push edx
push ebx
push ecx
mov dword [esp], 0
lea ecx, [edi + 0x986]
push 0
push 0
call fcn.004aa6f0
movss xmm0, dword [ebx]
xor esi, esi
movss dword [0x6c6630], xmm0
movzx eax, word [edi + 0x9a6]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x908]
movss dword [0x6c6634], xmm0
cmp byte [edi + 0x9ec], 0
jbe 0x4acec0
mov ecx, dword [edi + 0x8fc]
mov eax, 0x51eb851f
imul ecx, dword [edi + 0x900]
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [edi + 0x8f8]
push edx
push 0x6c6630
push ecx
mov dword [esp], 0
lea ecx, [edi + 0x9a8]
push 0
push 0
call fcn.004aa6f0
movzx eax, word [edi + 0x9c8]
inc esi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x6c6634]
movss dword [0x6c6634], xmm0
movzx eax, byte [edi + 0x9ec]
cmp esi, eax
jl 0x4ace53
lea ebx, [edi + 0x904]
mov ecx, dword [edi + 0x8fc]
mov eax, 0x51eb851f
imul ecx, dword [edi + 0x900]
mul ecx
shr edx, 5
shl edx, 0x18
or edx, dword [edi + 0x8f8]
push edx
push 0x6c6630
push ecx
mov dword [esp], 0
lea ecx, [edi + 0x9ca]
push 0
push 0
call fcn.004aa6f0
cmp dword [edi + 0xa14], 0xffffffff
je 0x4acfa1
movss xmm0, dword [ebx]
mov eax, 0x51eb851f
addss xmm0, dword [0x5b56e4]
movss dword [0x6c6630], xmm0
movd xmm1, dword [edi + 0x97a]
movd xmm0, dword [edi + 0xa14]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movd xmm0, dword [edi + 0x9f4]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [edi + 0x908]
addss xmm1, xmm0
subss xmm1, dword [edi + 0xa44]
movss dword [0x6c6634], xmm1
mov ecx, dword [edi + 0x8fc]
imul ecx, dword [edi + 0x900]
mul ecx
lea eax, [edi + 0xa3c]
shr edx, 5
shl edx, 0x18
or edx, dword [edi + 0x8f8]
push edx
push 0x6c6630
push ecx
mov dword [esp], 0
lea ecx, [edi + 0xa1c]
push 0
push eax
call fcn.004aa6f0
push dword [edi + 0x982]
lea esi, [edi + 0x95e]
mov ecx, esi
call fcn.00581830
xor ecx, ecx
mov dword [ebp - 0x88], eax
or ebx, 0xffffffff
mov dword [ebp - 0x84], 0xffffffff
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x80], ecx
test eax, eax
je 0x4ad3c6
jmp 0x4acfe0
lea eax, [ebp - 0x88]
mov ecx, esi
push eax
call fcn.005819d0
mov esi, dword [eax]
mov eax, dword [edi + 0x97e]
dec eax
mov dword [ebp - 0x90], esi
cmp ebx, eax
jge 0x4ad3c6
movzx eax, word [edi + 0x1a]
xor ecx, ecx
cmp eax, 0x14
ja 0x4ad01a
cmp dword [eax*4 + 0x6c606c], ecx
setne cl
test ecx, ecx
je 0x4ad3b3
mov eax, dword [esi + 0x104]
mov ecx, dword [ebp - 0x84]
cmp eax, 0xffffffff
je 0x4ad09e
cmp eax, ecx
jne 0x4ad05c
mov edx, dword [ebp - 0x80]
lea ecx, [esi + 4]
add edx, dword [ebp - 0x7c]
lea eax, [ecx + 1]
mov dword [ebp - 0x80], edx
mov dword [ebp - 0x7c], eax
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ad050
sub ecx, dword [ebp - 0x7c]
jmp 0x4ad08a
cmp eax, 0xffffffff
je 0x4ad09e
cmp eax, ecx
je 0x4ad09e
lea ecx, [esi + 4]
mov dword [ebp - 0x84], eax
xor edx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x80], edx
inc ebx
mov dword [ebp - 0x7c], eax
lea ebx, [ebx]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ad080
sub ecx, dword [ebp - 0x7c]
movzx eax, word [edi + 0x1a]
movzx eax, word [eax*4 + 0x6c60bc]
imul eax, ecx
mov dword [ebp - 0x7c], eax
jmp 0x4ad0a4
xor edx, edx
inc ebx
mov dword [ebp - 0x80], edx
cvttss2si eax, dword [edi + 0x904]
mov ecx, dword [edi + 0x97a]
mov dword [ebp - 0x60], 1
mov dword [ebp - 0x5c], 1
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x3c], 1
mov dword [ebp - 0x70], 1
mov dword [ebp - 0x6c], 1
imul ecx, ebx
add eax, dword [edi + 0x9f0]
add edx, eax
mov dword [ebp - 0x50], 1
cvttss2si eax, dword [edi + 0x908]
mov dword [ebp - 0x68], edx
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x78], edx
mov dword [ebp - 0x58], edx
mov dword [ebp - 0x38], edx
lea edx, [esi + 4]
mov dword [ebp - 0x4c], 1
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x2c], 1
add ecx, eax
mov dword [ebp - 0x8c], edx
mov eax, dword [edi + 0x9f4]
add eax, ecx
mov dword [ebp - 0x14], 0xf
cmp byte [edx], 0
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
jne 0x4ad157
xor ecx, ecx
jmp 0x4ad16f
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x94], eax
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4ad162
sub ecx, dword [ebp - 0x94]
push ecx
push edx
lea ecx, [ebp - 0x28]
call fcn.00403ef0
lea eax, [ebp - 0x28]
mov dword [ebp - 4], 0
push eax
mov ecx, edi
call fcn.004acb50
mov eax, dword [edi + 0xa18]
sub eax, dword [edi + 0x982]
cmp eax, ebx
jne 0x4ad1c1
cmp dword [edi + 0xa4c], 1
jne 0x4ad1c1
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x68]
push 0xffffff00
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
jmp 0x4ad338
cmp dword [esi + 0x108], 0
je 0x4ad302
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [edi + 0xa58]
cmp eax, 0x1f4
jbe 0x4ad209
mov eax, dword [edi + 0xa54]
cmp eax, 1
jb 0x4ad1fa
mov dword [edi + 0xa54], 0
jmp 0x4ad201
inc eax
mov dword [edi + 0xa54], eax
call esi
mov dword [edi + 0xa58], eax
mov eax, dword [edi + 0xa54]
lea ecx, [ebp - 0x28]
inc dword [ebp - 0x2c]
inc dword [ebp - 0x30]
inc dword [ebp - 0x38]
push dword [eax*4 + 0x5f0818]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
movzx eax, word [edi + 0x1a]
push ecx
push eax
mov ecx, 0x6c6068
call fcn.004a7790
mov eax, dword [edi + 0xa54]
lea ecx, [ebp - 0x28]
inc dword [ebp - 0x34]
dec dword [ebp - 0x3c]
dec dword [ebp - 0x40]
push dword [eax*4 + 0x5f0818]
dec dword [ebp - 0x48]
lea eax, [ebp - 0x48]
cmp dword [ebp - 0x14], 0x10
push eax
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
movzx eax, word [edi + 0x1a]
push ecx
push eax
mov ecx, 0x6c6068
call fcn.004a7790
mov eax, dword [edi + 0xa54]
lea ecx, [ebp - 0x28]
inc dword [ebp - 0x44]
dec dword [ebp - 0x54]
cmp dword [ebp - 0x14], 0x10
push dword [eax*4 + 0x5f0818]
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x18]
movzx eax, word [edi + 0x1a]
push ecx
push eax
mov ecx, 0x6c6068
call fcn.004a7790
mov eax, dword [edi + 0xa54]
lea ecx, [ebp - 0x28]
add dword [ebp - 0x4c], 2
add dword [ebp - 0x54], 2
cmp dword [ebp - 0x14], 0x10
push dword [eax*4 + 0x5f0818]
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x18]
movzx eax, word [edi + 0x1a]
push ecx
push eax
mov ecx, 0x6c6068
call fcn.004a7790
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x78]
push 0xffffff
push ecx
push dword [ebp - 0x18]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
jmp 0x4ad338
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
mov ecx, dword [edi + 0x8fc]
mov eax, 0x51eb851f
cmovae esi, dword [ebp - 0x28]
imul ecx, dword [edi + 0x900]
mul ecx
mov eax, dword [ebp - 0x90]
shr edx, 5
shl edx, 0x18
or edx, dword [eax]
lea eax, [ebp - 0x68]
push edx
push eax
push dword [ebp - 0x18]
push esi
movzx eax, word [edi + 0x1a]
mov ecx, 0x6c6068
push eax
call fcn.004a7790
cmp dword [edi + 0xa50], 0
je 0x4ad389
cvttss2si eax, dword [edi + 0x908]
mov ecx, dword [edi + 0x97a]
push dword [ebp - 0x8c]
imul ecx, ebx
add ecx, eax
cvttss2si eax, dword [edi + 0x904]
add ecx, dword [edi + 0x9f4]
push ecx
mov ecx, edi
add eax, dword [edi + 0x9f0]
add eax, dword [ebp - 0x80]
push eax
call fcn.004ad3f0
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x4ad3a1
push dword [ebp - 0x28]
call fcn.0058559d
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [ebp - 0x88], 0
lea esi, [edi + 0x95e]
jne 0x4acfe0
mov ecx, edi
call fcn.0049d7a0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00585d34
mov esp, ebp
pop ebp
ret