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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
cmp dword [0x102e1788], 1
push ebx
push esi
push edi
jne 0x10035470
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [0x102bff7d], 0
mov esi, eax
mov dword [ebp - 0x18], esi
je 0x10035470
mov edx, dword [0x114ed9b0]
imul edi, edx, 0x19
lea ecx, [edi + 0x19]
cmp edi, ecx
jge 0x10035470
lea ebx, [edi + edi*2]
mov dword [ebp - 8], 3
shl ebx, 5
add ebx, 0x102c3278
mov dword [ebp - 0xc], 2
mov dword [ebp - 0x10], 1
mov eax, 0x879340c
movd xmm1, dword [eax]
movsx eax, di
add eax, 0x11e
cvtdq2ps xmm1, xmm1
lea eax, [eax + eax*2]
shl eax, 5
movss xmm0, dword [eax + 0x102bc728]
comiss xmm0, xmm1
ja 0x1003545e
comiss xmm1, dword [eax + 0x102bc730]
ja 0x1003545e
movd xmm1, dword [0x8793410]
movss xmm0, dword [eax + 0x102bc72c]
cvtdq2ps xmm1, xmm1
comiss xmm0, xmm1
ja 0x1003545e
comiss xmm1, dword [eax + 0x102bc734]
ja 0x1003545e
cmp dword [ebp + 8], 0x201
je 0x1003547b
mov eax, esi
mov byte [ebx + 4], 0
sub eax, dword [ebx]
cmp eax, 0x12c
jb 0x10035470
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 0x100353d3
lea esi, [edx + 6]
jmp 0x100353f9
cmp ecx, 2
jne 0x100353dd
lea esi, [ecx + 0x12]
jmp 0x100353f9
cmp ecx, 3
jne 0x100353e7
lea esi, [ecx + 0x1b]
jmp 0x100353f9
cmp ecx, edx
jne 0x100353f2
mov esi, 0x63
jmp 0x100353f9
test ecx, ecx
jne 0x10035470
mov esi, dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x114ed97c]
cmp eax, 0x190
jb 0x1003544d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [0x102bff78]
cmp eax, 0x190
jb 0x1003544d
cmp dword [ebp - 4], 0
jl 0x1003544d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x114ed97c], 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.100c6fd0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [0x114ed9b0]
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 0x10035293
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 + 0x102c327c], 1
mov al, 1
mov esp, ebp
pop ebp
ret 4