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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x102c4e70], 1
push ebx
push esi
push edi
jne 0x10032ab0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x10278fbd], 0
mov esi, eax
mov dword [ebp - 0x18], esi
je 0x10032ab0
mov edx, dword [0x106b91e8]
imul edi, edx, 0x19
lea ecx, [edi + 0x19]
cmp edi, ecx
jge 0x10032ab0
lea ebx, [edi + edi*2]
mov dword [ebp - 8], 3
shl ebx, 5
add ebx, 0x1027a8d8
mov dword [ebp - 0xc], 2
mov dword [ebp - 0x10], 1
mov eax, 0x8b156ec
movd xmm1, dword [eax]
movsx eax, di
add eax, 0x9c
cvtdq2ps xmm1, xmm1
lea eax, [eax + eax*2]
shl eax, 5
movss xmm0, dword [eax + 0x10276e48]
comiss xmm0, xmm1
ja 0x10032a9e
comiss xmm1, dword [eax + 0x10276e50]
ja 0x10032a9e
movd xmm1, dword [0x8b156f0]
movss xmm0, dword [eax + 0x10276e4c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x10032a9e
comiss xmm1, dword [eax + 0x10276e54]
ja 0x10032a9e
cmp dword [ebp + 8], 0x201
je 0x10032abb
mov eax, esi
mov byte [ebx + 4], 0
sub eax, dword [ebx]
cmp eax, 0x12c
jb 0x10032ab0
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 0x10032a13
lea esi, [edx + 6]
jmp 0x10032a39
cmp ecx, 2
jne 0x10032a1d
lea esi, [ecx + 0x12]
jmp 0x10032a39
cmp ecx, 3
jne 0x10032a27
lea esi, [ecx + 0x1b]
jmp 0x10032a39
cmp ecx, edx
jne 0x10032a32
mov esi, 0x63
jmp 0x10032a39
test ecx, ecx
jne 0x10032ab0
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x106b91b4]
cmp eax, 0x190
jb 0x10032a8d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x10278fb8]
cmp eax, 0x190
jb 0x10032a8d
cmp dword [ebp - 4], 0
jl 0x10032a8d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x106b91b4], 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.10098a10
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x106b91e8]
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 0x100328d3
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 + 0x1027a8dc], 1
mov al, 1
mov esp, ebp
pop ebp
ret 4