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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
and esp, 0xfffffff8
sub esp, 8
mov edi, dword [ebp + 0x14]
mov esi, dword [ebp + 0x10]
mov ebx, dword [ebp + 0x18]
movzx ecx, word [edi]
test cx, cx
je 0x1000aa30
lea eax, [ecx - 1]
cmp ax, 0x11
ja 0x1000a904
mov eax, 1
shl eax, cl
test eax, 0x30180
jne 0x1000a910
test al, 0x5a
jne 0x1000a9f8
test eax, 0x40200
je 0x1000a904
movzx eax, word [ebx + 4]
test ax, ax
jne 0x1000aaf0
mov byte [ebx + 6], 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
test byte [edi + 8], 1
je 0x1000aaa8
mov ecx, dword [ebx]
pxor xmm0, xmm0
pxor xmm2, xmm2
pxor xmm3, xmm3
movzx eax, word [edi + 0x1c]
movss xmm1, dword [edi + 0x10]
movss xmm4, dword [0x1002e16c]
lea edx, [eax + ecx]
cvtsi2ss xmm0, eax
cmp edx, dword [ebp + 0x1c]
mov eax, dword [ebp + 0x1c]
setae dl
sub eax, ecx
movzx ecx, ax
shr eax, 0x10
cvtsi2ss xmm3, ecx
cvtsi2ss xmm2, eax
mulss xmm2, dword [0x1002e148]
addss xmm2, xmm3
movaps xmm3, xmm4
divss xmm2, xmm0
mulss xmm0, dword [edi + 0x14]
divss xmm0, dword [0x1002e180]
mulss xmm0, dword [0x1002e184]
addss xmm0, xmm1
subss xmm0, xmm1
cmpltss xmm3, xmm2
andps xmm4, xmm3
andnps xmm3, xmm2
orps xmm3, xmm4
mulss xmm0, xmm3
addss xmm0, xmm1
movss dword [ebx + 8], xmm0
movzx eax, word [edi]
cmp ax, 7
je 0x1000abb0
cmp ax, 0x10
je 0x1000abb0
movss dword [esi + 0x1c], xmm0
test dl, dl
jne 0x1000a908
movzx eax, word [ebx + 4]
test ax, ax
je 0x1000a904
cmp ax, 0xff
je 0x1000a9e8
cmp ax, 0xffff
je 0x1000a9e8
sub eax, 1
mov word [ebx + 4], ax
movzx eax, word [edi + 0xc]
add dword [ebx], eax
jmp 0x1000a908
mov edi, dword [esi + 0x38]
mov ecx, dword [esi + 0x34]
mov dword [esi + 0x34], 0
mov edx, dword [esi + 0x44]
mov dword [esi + 0x24], edi
mov edi, dword [esi + 0x3c]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x30], edx
mov dword [esi + 0x28], edi
mov edi, dword [esi + 0x40]
mov dword [esi + 0x2c], edi
mov dword [esp], ecx
call fcn.10007620
jmp 0x1000a904
movzx eax, byte [edi + 8]
mov edx, eax
and edx, 1
test al, 2
je 0x1000ab10
test dl, dl
jne 0x1000abc0
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x24]
mov ecx, dword [edx]
movzx eax, word [edx + 0xa]
mov esi, dword [ecx + 0x28]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
movzx esi, word [eax + 0x10]
test si, si
jne 0x1000aca8
mov esi, dword [edx + 0x34]
test esi, esi
je 0x1000abc0
mov eax, dword [ebp + 8]
test si, si
je 0x1000acc0
mov byte [eax + 0x22], 3
call sub.kernel32.dll_GetTickCount
mov edi, dword [ebp + 8]
mov dword [edi + 0x1c], eax
mov eax, dword [edi + 0x24]
mov word [edi + 0x20], si
or dword [eax + 0x24], 0x10
jmp 0x1000a904
movzx edx, byte [edi + 0x10]
test dl, 4
je 0x1000ac55
movss xmm0, dword [edi + 0x14]
and edx, 1
je 0x1000a99f
movzx eax, word [edi]
cmp ax, 7
je 0x1000acb4
cmp ax, 0x10
je 0x1000acb4
addss xmm0, dword [esi + 0x1c]
xor edx, edx
jmp 0x1000a99f
cmp ax, 0xff
je 0x1000aafd
sub eax, 1
mov word [ebx + 4], ax
movzx eax, word [edi + 0xe]
add dword [ebx], eax
jmp 0x1000a908
mov eax, dword [esi + 0x20]
test eax, eax
je 0x1000ab26
movzx edx, dl
mov dword [esp], eax
mov dword [esp + 4], edx
call fcn.10007680
mov eax, dword [esi + 0x34]
test eax, eax
je 0x1000ab3c
mov dword [esp], eax
call fcn.10007600
mov dword [esi + 0x34], 0
mov eax, dword [ebp + 0xc]
cmp byte [eax + 0x14], 0
je 0x1000a904
xor eax, eax
jmp 0x1000ab80
mov ecx, dword [esi]
lea edx, [eax + eax*2]
xor edi, edi
add eax, 1
shl edx, 2
mov word [ecx + edx + 4], di
mov edi, dword [ebp + 0xc]
mov ecx, dword [esi]
mov byte [ecx + edx + 6], 1
cmp al, byte [edi + 0x14]
jb 0x1000ab80
jmp 0x1000a904
movss dword [esi + 0x18], xmm0
jmp 0x1000a9c0
mov eax, dword [ebp + 8]
xor edi, edi
mov eax, dword [eax]
cmp byte [eax + 0xb], 0
je 0x1000a904
mov dword [ebp + 0x18], ebx
lea esi, [esi]
mov esi, dword [ebp + 8]
lea ebx, [edi + edi*4]
shl ebx, 4
add ebx, dword [esi + 4]
imul esi, edi, 0x1c
add esi, dword [eax + 0x10]
mov eax, dword [ebx + 0x20]
test eax, eax
je 0x1000ac01
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.10007680
mov eax, dword [ebx + 0x34]
test eax, eax
je 0x1000ac17
mov dword [esp], eax
call fcn.10007600
mov dword [ebx + 0x34], 0
xor eax, eax
cmp byte [esi + 0x14], 0
je 0x1000ac3e
nop
mov ecx, dword [ebx]
lea edx, [eax + eax*2]
add eax, 1
shl edx, 2
mov word [ecx + edx + 4], 0
mov ecx, dword [ebx]
mov byte [ecx + edx + 6], 1
cmp al, byte [esi + 0x14]
jb 0x1000ac20
mov eax, dword [ebp + 8]
add edi, 1
mov ebx, edi
mov eax, dword [eax]
cmp bl, byte [eax + 0xb]
jb 0x1000abd8
mov ebx, dword [ebp + 0x18]
jmp 0x1000a904
pxor xmm0, xmm0
test dl, 8
je 0x1000aaba
movss xmm7, dword [edi + 0x14]
call fcn.100089c0
pxor xmm1, xmm1
movss xmm0, dword [edi + 0x18]
add eax, 0x80000000
subss xmm0, dword [edi + 0x14]
cvtsi2sd xmm1, eax
movzx edx, byte [edi + 0x10]
addsd xmm1, qword [0x1002e138]
mulsd xmm1, qword [0x1002e140]
cvtsd2ss xmm1, xmm1
mulss xmm0, xmm1
addss xmm0, xmm7
jmp 0x1000aaba
mov eax, dword [ebp + 8]
mov byte [eax + 0x22], 2
jmp 0x1000aa86
addss xmm0, dword [esi + 0x18]
xor edx, edx
jmp 0x1000a99f
mov dword [esp], eax
call fcn.10009450
jmp 0x1000a904