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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x102bc1e4], 1
push ebx
push esi
push edi
jne 0x100329a0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x1029aa6d], 0
mov esi, eax
mov dword [ebp - 0x18], esi
je 0x100329a0
mov edx, dword [0x1085efc0]
imul edi, edx, 0x19
lea ecx, [edi + 0x19]
cmp edi, ecx
jge 0x100329a0
lea ebx, [edi + edi*2]
mov dword [ebp - 8], 3
shl ebx, 5
add ebx, 0x1029dd08
mov dword [ebp - 0xc], 2
mov dword [ebp - 0x10], 1
mov eax, 0x879340c
movd xmm1, dword [eax]
movsx eax, di
add eax, 0x11c
cvtdq2ps xmm1, xmm1
lea eax, [eax + eax*2]
shl eax, 5
movss xmm0, dword [eax + 0x10297278]
comiss xmm0, xmm1
ja 0x1003298e
comiss xmm1, dword [eax + 0x10297280]
ja 0x1003298e
movd xmm1, dword [0x8793410]
movss xmm0, dword [eax + 0x1029727c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003298e
comiss xmm1, dword [eax + 0x10297284]
ja 0x1003298e
cmp dword [ebp + 8], 0x201
je 0x100329ab
mov eax, esi
mov byte [ebx + 4], 0
sub eax, dword [ebx]
cmp eax, 0x12c
jb 0x100329a0
or ecx, 0xffffffff
lea eax, [edi - 0x2d]
cmp eax, 4
lea edx, [edi - 0x28]
mov esi, 4
cmovbe ecx, eax
cmp esi, eax
mov eax, 8
sbb esi, esi
and esi, 0xfffffff7
add esi, 9
cmp edx, 4
cmovbe esi, eax
cmova edx, ecx
lea eax, [edi - 0x23]
mov ecx, 7
cmp eax, 4
cmovbe esi, ecx
cmova eax, edx
lea ecx, [edi - 0x1e]
mov edx, 6
cmp ecx, 4
cmova ecx, eax
cmovbe esi, edx
lea eax, [edi - 0x19]
mov edx, 5
cmp eax, 4
cmova eax, ecx
cmovbe esi, edx
lea ecx, [edi - 0x14]
mov edx, 4
cmp ecx, 4
cmova ecx, eax
cmovbe esi, edx
lea eax, [edi - 0xf]
cmp eax, edx
cmovbe esi, dword [ebp - 8]
cmova eax, ecx
lea ecx, [edi - 0xa]
cmp ecx, edx
cmovbe esi, dword [ebp - 0xc]
cmova ecx, eax
lea eax, [edi - 5]
cmp eax, edx
cmovbe esi, dword [ebp - 0x10]
cmova eax, ecx
cmp edi, edx
mov ecx, edi
cmova ecx, eax
cmp edx, edi
sbb eax, eax
and eax, esi
mov dword [ebp - 4], eax
xor eax, eax
test ecx, ecx
sete al
lea eax, [eax*2 - 1]
mov dword [ebp - 0x14], eax
cmp ecx, 1
jne 0x10032903
lea esi, [edx + 6]
jmp 0x10032929
cmp ecx, 2
jne 0x1003290d
lea esi, [ecx + 0x12]
jmp 0x10032929
cmp ecx, 3
jne 0x10032917
lea esi, [ecx + 0x1b]
jmp 0x10032929
cmp ecx, edx
jne 0x10032922
mov esi, 0x63
jmp 0x10032929
test ecx, ecx
jne 0x100329a0
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1085ef8c]
cmp eax, 0x190
jb 0x1003297d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x1029aa68]
cmp eax, 0x190
jb 0x1003297d
cmp dword [ebp - 4], 0
jl 0x1003297d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x1085ef8c], eax
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 4]
mov edx, 0xc
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x24], 0xf6f30cc1
call fcn.100aba10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x1085efc0]
mov esi, dword [ebp - 0x18]
mov dword [ebx], eax
lea eax, [edx + 1]
inc edi
imul eax, eax, 0x19
add ebx, 0x60
cmp edi, eax
jl 0x100327c3
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [edi + edi*2]
shl eax, 5
pop edi
pop esi
pop ebx
mov byte [eax + 0x1029dd0c], 1
mov al, 1
mov esp, ebp
pop ebp
ret 4