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

Disassembly:
push 8
push 0xa0
mov eax, 0x1007d110
call fcn.1007b3eb
and dword [ebp - 0x18], 0
lea ecx, [ebp - 0x6c]
call fcn.1007a2ac
and dword [ebp - 4], 0
lea ecx, [ebp - 0x38]
call fcn.1007a2ac
mov ecx, dword [0x100e7400]
lea eax, [ebp - 0x5c]
push eax
mov byte [ebp - 4], 1
call fcn.100034ad
mov ecx, dword [0x1009e01c]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov byte [ebp - 4], 2
test ecx, ecx
je 0x10005d1f
cmp byte [0x1009e018], 0
jne 0x10005d28
cmp dword [0x1009d088], 0
jle 0x10005d3d
call fcn.10006a61
test al, al
je 0x10005d1f
xor eax, eax
mov byte [0x1009e018], 1
mov dword [0x1009e01c], eax
mov byte [0x1009e010], al
call esi
add eax, dword [0x1009d088]
mov dword [0x1009e014], eax
cmp byte [0x1009e018], 0
je 0x10005d3d
call esi
cmp dword [0x1009e014], eax
jg 0x1000612e
mov byte [0x1009e018], 0
and dword [0x1009e01c], 0
xor esi, esi
cmp dword [0x1009d058], 1
xorps xmm1, xmm1
mov ecx, dword [0x1009d06c]
mov edx, ecx
mov eax, dword [0x1009dc30]
cmove edx, esi
movss xmm0, dword [0x10084758]
mov dword [ebp - 0x60], edx
push 7
pop edx
cmove ecx, edx
mov dword [ebp - 0x44], 0x64
xor edx, edx
movss dword [ebp - 0x40], xmm0
inc edx
movss dword [ebp - 0x48], xmm1
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x4c], xmm0
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x18], edx
cmp dword [eax + 0x18], edx
jle 0x10006126
mov ecx, dword [0x1009dc2c]
xorps xmm1, xmm1
push edx
movss dword [ebp - 0x14], xmm1
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov ecx, edi
mov dword [ebp - 0x28], edi
call fcn.10006a61
test al, al
jne 0x10006111
cmp byte [0x1009d039], al
jne 0x10005dee
mov ecx, dword [0x100e7400]
call fcn.1000429b
mov ecx, edi
mov esi, eax
call fcn.1000429b
mov ecx, dword [eax]
cmp ecx, dword [esi]
je 0x10006111
mov eax, dword [ebp - 0x60]
mov esi, eax
mov dword [ebp - 0x24], eax
cmp eax, dword [ebp - 0x50]
jg 0x10006111
push esi
lea eax, [ebp - 0x9c]
mov ecx, edi
push eax
call fcn.10006321
mov esi, eax
lea edi, [ebp - 0x38]
lea ecx, [ebp - 0x9c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1000cddf
movss xmm0, dword [ebp - 0x30]
lea ecx, [ebp - 0x78]
subss xmm0, dword [ebp - 0x54]
sub esp, 0xc
movss dword [esp + 8], xmm0
movss xmm0, dword [ebp - 0x34]
subss xmm0, dword [ebp - 0x58]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x38]
subss xmm0, dword [ebp - 0x5c]
movss dword [esp], xmm0
call fcn.1007a286
lea eax, [ebp - 0x6c]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.1007608b
pop ecx
pop ecx
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 2
call fcn.1000cddf
lea eax, [ebp - 0x6c]
push eax
call fcn.10075e11
pop ecx
lea eax, [ebp - 0x38]
push eax
lea ecx, [ebp - 0x5c]
call fcn.1007a2ba
mov eax, dword [ebx + 8]
sub esp, 0xc
cmp dword [0x1009d060], 1
fstp dword [ebp - 0x20]
movss xmm0, dword [eax + 0x14]
addss xmm0, dword [0x1009ddb0]
movss dword [esp + 8], xmm0
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x1009ddac]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + 0xc]
addss xmm0, dword [0x1009dda8]
movss dword [esp], xmm0
jne 0x10005f1d
lea ecx, [ebp - 0x84]
call fcn.1007a286
sub esp, 0xc
movss xmm0, dword [ebp - 0x20]
mov edi, esp
mov byte [ebp - 4], 4
lea esi, [ebp - 0x84]
sub esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x6c]
push ecx
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movss dword [esp], xmm0
call fcn.10005626
add esp, 0x1c
lea ecx, [ebp - 0x84]
jmp 0x10005f62
lea esi, [ebp - 0x6c]
lea edi, [ebp - 0xb0]
movsd dword es:[edi], dword [esi]
lea ecx, [ebp - 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.1007a286
sub esp, 0xc
mov byte [ebp - 4], 5
mov edi, esp
lea esi, [ebp - 0xb0]
sub esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x90]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.100061a1
add esp, 0x18
lea ecx, [ebp - 0x90]
fstp dword [ebp - 0x1c]
mov byte [ebp - 4], 2
call fcn.1000cddf
call fcn.1000614f
movss xmm0, dword [ebp - 0x1c]
fstp dword [ebp - 0x2c]
comiss xmm0, dword [ebp - 0x2c]
ja 0x100060fe
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x38]
mov ecx, dword [0x100e7400]
push eax
push esi
call fcn.1000594a
test al, al
jne 0x10005fd5
cmp byte [0x1009d03e], al
je 0x100060fe
lea eax, [ebp - 0x38]
push eax
call fcn.10003365
movd xmm0, dword [0x1009d098]
cvtdq2ps xmm0, xmm0
pop ecx
fstp dword [ebp - 0x14]
movss xmm1, dword [ebp - 0x14]
comiss xmm0, xmm1
movss dword [ebp - 0x14], xmm1
ja 0x100060fe
jmp 0x10005fda
movss xmm1, dword [ebp - 0x14]
mov eax, dword [0x1009d05c]
cmp eax, 1
je 0x10005fe9
cmp eax, 2
jne 0x1000600d
ucomiss xmm1, dword [0x10084650]
lahf
test ah, 0x44
jp 0x1000600d
lea eax, [ebp - 0x38]
push eax
call fcn.10003365
fstp dword [ebp - 0x14]
movss xmm0, dword [ebp - 0x14]
pop ecx
movss dword [ebp - 0x14], xmm0
mov ecx, esi
call fcn.10006717
cmp byte [0x1009d03b], 0
movd xmm0, dword [eax]
cvtdq2ps xmm0, xmm0
subss xmm0, dword [ebp - 0x14]
cvttss2si edi, xmm0
mov dword [ebp - 0x2c], edi
je 0x1000605c
sub esp, 0xc
lea esi, [ebp - 0x38]
mov edi, esp
sub esp, 0xc
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, esp
lea esi, [ebp - 0x5c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
call fcn.10006940
add esp, 0x18
test al, al
jne 0x100060fe
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x2c]
mov ecx, dword [0x100e7400]
call fcn.10005b48
mov al, byte [eax]
and al, 1
cmp byte [0x1009d03d], 0
je 0x1000607c
test al, al
je 0x100060fe
cmp dword [0x1009d058], 1
movss xmm0, dword [ebp - 0x1c]
jne 0x10006090
comiss xmm0, dword [ebp - 0x3c]
ja 0x100060fe
mov eax, dword [0x1009d05c]
movss dword [ebp - 0x3c], xmm0
test eax, eax
jne 0x100060a8
movss xmm1, dword [ebp - 0x40]
comiss xmm1, xmm0
ja 0x100060d4
cmp eax, 1
jne 0x100060b2
cmp dword [ebp - 0x44], edi
jg 0x100060d4
movss xmm1, dword [ebp - 0x14]
cmp eax, 2
jne 0x100060c2
comiss xmm1, dword [ebp - 0x48]
ja 0x100060d9
cmp eax, 3
jne 0x100060fe
movss xmm2, dword [ebp - 0x4c]
comiss xmm2, dword [ebp - 0x20]
jbe 0x100060fe
jmp 0x100060d9
movss xmm1, dword [ebp - 0x14]
mov ecx, dword [ebx + 0xc]
mov eax, dword [ebp - 0x24]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x20]
mov dword [ecx], eax
mov dword [0x1009e01c], esi
mov dword [ebp - 0x44], edi
movss dword [ebp - 0x48], xmm1
movss dword [ebp - 0x4c], xmm0
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x28]
inc esi
mov dword [ebp - 0x24], esi
cmp esi, dword [ebp - 0x50]
jle 0x10005dff
mov edx, dword [ebp - 0x18]
mov eax, dword [0x1009dc30]
inc edx
mov dword [ebp - 0x18], edx
cmp edx, dword [eax + 0x18]
jl 0x10005d9e
mov eax, dword [0x1009e01c]
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x5c]
call fcn.1000cddf
lea ecx, [ebp - 0x38]
call fcn.1000cddf
lea ecx, [ebp - 0x6c]
call fcn.1000cddf
mov eax, dword [ebp - 0x18]
call fcn.1007b368
ret