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

Disassembly:
push 0x84
mov eax, 0x5866ec
call fcn.00560e5c
mov esi, ecx
xor edi, edi
cmp dword [esi + 0xe], edi
je 0x4addbf
call fcn.004a820d
mov eax, dword [esi + 0x8fc]
lea ebx, [esi + 0x904]
imul eax, dword [esi + 0x900]
xor edx, edx
push 0x64
pop ecx
mov dword [ebp - 0x8c], ecx
div ecx
shl eax, 0x18
or eax, dword [esi + 0x8f8]
push eax
push ebx
push ecx
and dword [esp], edi
lea ecx, [esi + 0x986]
push edi
push edi
call fcn.004ab952
movss xmm0, dword [ebx]
movss dword [0x6a9694], xmm0
movzx eax, word [esi + 0x9a6]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x908]
movss dword [0x6a9698], xmm0
cmp byte [esi + 0x9ec], 0
jbe 0x4ad975
lea ecx, [esi + 0x9a8]
mov eax, dword [esi + 0x8fc]
xor edx, edx
imul eax, dword [esi + 0x900]
div dword [ebp - 0x8c]
shl eax, 0x18
or eax, dword [esi + 0x8f8]
push eax
push 0x6a9694
push ecx
and dword [esp], 0
push 0
push 0
call fcn.004ab952
movzx eax, word [esi + 0x9c8]
lea ecx, [esi + 0x9a8]
inc edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
addss xmm0, dword [0x6a9698]
movss dword [0x6a9698], xmm0
movzx eax, byte [esi + 0x9ec]
cmp edi, eax
jl 0x4ad913
mov eax, dword [esi + 0x8fc]
xor edx, edx
imul eax, dword [esi + 0x900]
xor edi, edi
push 0x64
pop ecx
div ecx
shl eax, 0x18
or eax, dword [esi + 0x8f8]
push eax
push 0x6a9694
push ecx
and dword [esp], 0
lea ecx, [esi + 0x9ca]
push edi
push edi
call fcn.004ab952
cmp dword [esi + 0xa13], 0xffffffff
je 0x4ada48
movss xmm0, dword [ebx]
xor edx, edx
addss xmm0, dword [0x58c7d8]
push 0x64
pop ecx
movss dword [0x6a9694], xmm0
movd xmm1, dword [esi + 0x97a]
movd xmm0, dword [esi + 0xa13]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm1, xmm0
movd xmm0, dword [esi + 0x9f3]
cvtdq2ps xmm0, xmm0
addss xmm0, dword [esi + 0x908]
addss xmm1, xmm0
subss xmm1, dword [esi + 0xa43]
movss dword [0x6a9698], xmm1
mov eax, dword [esi + 0x8fc]
imul eax, dword [esi + 0x900]
div ecx
shl eax, 0x18
or eax, dword [esi + 0x8f8]
push eax
push 0x6a9694
push ecx
and dword [esp], edi
lea eax, [esi + 0xa3b]
push edi
push eax
lea ecx, [esi + 0xa1b]
call fcn.004ab952
push dword [esi + 0x982]
lea ecx, [esi + 0x95e]
call fcn.0055c7f0
or dword [ebp - 0x84], 0xffffffff
mov ebx, edi
xor ecx, ecx
mov dword [ebp - 0x88], eax
or edi, 0xffffffff
mov dword [ebp - 0x7c], ecx
test eax, eax
je 0x4addb8
lea eax, [ebp - 0x88]
push eax
lea ecx, [esi + 0x95e]
call fcn.0055c990
mov eax, dword [eax]
mov dword [ebp - 0x80], eax
mov eax, dword [esi + 0x97e]
dec eax
cmp edi, eax
jge 0x4addb8
movzx eax, word [esi + 0x1a]
mov ecx, 0x6a90b8
push eax
call fcn.00466612
test eax, eax
je 0x4addab
mov ecx, dword [ebp - 0x80]
mov edx, dword [ebp - 0x84]
mov eax, dword [ecx + 0x104]
cmp eax, 0xffffffff
je 0x4adb19
cmp eax, edx
jne 0x4adae4
mov edx, dword [ebp - 0x7c]
add edx, ebx
add ecx, 4
mov dword [ebp - 0x7c], edx
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4adadb
jmp 0x4adb06
cmp eax, 0xffffffff
je 0x4adb19
cmp eax, edx
je 0x4adb19
xor edx, edx
mov dword [ebp - 0x84], eax
inc edi
mov dword [ebp - 0x7c], edx
add ecx, 4
lea ebx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4adaff
movzx eax, word [esi + 0x1a]
sub ecx, ebx
movzx ebx, word [eax*4 + 0x6a910c]
imul ebx, ecx
jmp 0x4adb1f
xor edx, edx
inc edi
mov dword [ebp - 0x7c], edx
cvttss2si ecx, dword [esi + 0x904]
cvttss2si eax, dword [esi + 0x908]
add edx, ecx
mov ecx, dword [esi + 0x97a]
add edx, dword [esi + 0x9ef]
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
imul ecx, edi
add ecx, eax
mov eax, dword [esi + 0x9f3]
add eax, ecx
xor ecx, ecx
inc ecx
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 eax, dword [ebp - 0x80]
add eax, 4
mov dword [ebp - 0x60], ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x6c], ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], ecx
lea ecx, [ebp - 0x28]
push eax
mov dword [ebp - 0x90], eax
call fcn.00406217
and dword [ebp - 4], 0
lea eax, [ebp - 0x28]
push eax
mov ecx, esi
call fcn.004ad622
mov eax, dword [esi + 0xa17]
sub eax, dword [esi + 0x982]
cmp eax, edi
jne 0x4adbe3
cmp dword [esi + 0xa4b], 1
jne 0x4adbe3
push 0xffffff00
lea ecx, [ebp - 0x68]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ecx
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
jmp 0x4add4a
mov eax, dword [ebp - 0x80]
cmp dword [eax + 0x108], 0
je 0x4add19
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [esi + 0xa57]
cmp eax, 0x1f4
jbe 0x4adc2d
mov eax, dword [esi + 0xa53]
cmp eax, 1
jb 0x4adc1a
and dword [esi + 0xa53], 0
jmp 0x4adc21
inc eax
mov dword [esi + 0xa53], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0xa57], eax
mov eax, dword [esi + 0xa53]
lea ecx, [ebp - 0x28]
inc dword [ebp - 0x2c]
inc dword [ebp - 0x30]
inc dword [ebp - 0x38]
push dword [eax*4 + 0x5d01a0]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x38]
push eax
push dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
movzx eax, word [esi + 0x1a]
push ecx
push eax
mov ecx, 0x6a90b8
call fcn.004a9231
mov eax, dword [esi + 0xa53]
lea ecx, [ebp - 0x28]
inc dword [ebp - 0x34]
dec dword [ebp - 0x3c]
dec dword [ebp - 0x40]
push dword [eax*4 + 0x5d01a0]
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 [esi + 0x1a]
push ecx
push eax
mov ecx, 0x6a90b8
call fcn.004a9231
mov eax, dword [esi + 0xa53]
lea ecx, [ebp - 0x28]
inc dword [ebp - 0x44]
dec dword [ebp - 0x54]
cmp dword [ebp - 0x14], 0x10
push dword [eax*4 + 0x5d01a0]
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x18]
movzx eax, word [esi + 0x1a]
push ecx
push eax
mov ecx, 0x6a90b8
call fcn.004a9231
mov eax, dword [esi + 0xa53]
lea ecx, [ebp - 0x28]
add dword [ebp - 0x4c], 2
add dword [ebp - 0x54], 2
cmp dword [ebp - 0x14], 0x10
push dword [eax*4 + 0x5d01a0]
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x18]
movzx eax, word [esi + 0x1a]
push ecx
push eax
mov ecx, 0x6a90b8
call fcn.004a9231
push 0xffffff
lea ecx, [ebp - 0x78]
jmp 0x4adbce
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
mov eax, dword [esi + 0x8fc]
cmovae ecx, dword [ebp - 0x28]
xor edx, edx
imul eax, dword [esi + 0x900]
div dword [ebp - 0x8c]
mov edx, dword [ebp - 0x80]
shl eax, 0x18
or eax, dword [edx]
push eax
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x18]
push ecx
movzx eax, word [esi + 0x1a]
mov ecx, 0x6a90b8
push eax
call fcn.004a9231
cmp dword [esi + 0xa4f], 0
je 0x4add9b
cvttss2si eax, dword [esi + 0x908]
mov ecx, dword [esi + 0x97a]
push dword [ebp - 0x90]
imul ecx, edi
add ecx, eax
cvttss2si eax, dword [esi + 0x904]
add ecx, dword [esi + 0x9f3]
push ecx
mov ecx, esi
add eax, dword [ebp - 0x7c]
add eax, dword [esi + 0x9ef]
push eax
call fcn.004addc5
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
push 0
push 1
call fcn.004066d3
cmp dword [ebp - 0x88], 0
jne 0x4ada78
mov ecx, esi
call fcn.004a0f89
call fcn.00560e1a
ret