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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100634ad
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x1008b00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [0x100930fc], 0
jne 0x10024a15
mov ecx, dword [0x100913cc]
mov eax, dword [0x1008d760]
add eax, 4
push eax
mov edx, dword [ecx]
call dword [edx + 4]
cmp dword [eax], 2
jne 0x10024a15
push 0x2d
mov dword [0x10091ab0], 0x10011e90
call fcn.10011e90
cwde
shr eax, 0x10
test eax, eax
je 0x10024757
cmp byte [0x10093358], 0
je 0x1002474e
cmp dword [0x1009335c], 0
je 0x1002475e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x1009335c], eax
ja 0x1002475e
mov byte [0x10093358], 1
jmp 0x1002479e
mov byte [0x10093358], 0
push 0x2e
mov dword [0x10091ab0], 0x10011e90
call fcn.10011e90
cwde
shr eax, 0x10
test eax, eax
je 0x100247c0
cmp byte [0x10093360], 0
je 0x10024797
cmp dword [0x10093364], 0
je 0x100247c7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp dword [0x10093364], eax
ja 0x100247c7
mov byte [0x10093360], 1
xor eax, eax
cmp dword [0x1008b01c], eax
sete al
mov dword [0x1008b01c], eax
xor eax, eax
cmp dword [0x100930fc], eax
sete al
mov dword [0x100930fc], eax
jmp 0x100247c7
mov byte [0x10093360], 0
cmp dword [0x1008b01c], 0
je 0x10024a15
mov eax, dword [0x100917f0]
mov ecx, dword [eax]
push ecx
mov dword [esp], 0x43200000
push eax
call dword [ecx + 0x2c]
mov eax, dword [0x100917f0]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x34]
mov eax, dword [0x100917f0]
movaps xmm0, xmmword [0x1007e490]
movups xmmword [ebp - 0x24], xmm0
push eax
mov ecx, dword [eax]
call dword [ecx + 0x10]
mov eax, dword [0x100917f0]
lea edx, [ebp - 0x24]
push 0xc8000000
push 2
push edx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [0x100917f0]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x44]
movss xmm0, dword [0x1007de5c]
mov edx, edi
movss xmm3, dword [0x1007de50]
movaps xmm1, xmm0
movss xmm2, dword [0x1007de60]
push ecx
mov ecx, 0xfffd1c03
mov dword [esp], 0x40000000
call fcn.10018b30
add esp, 4
mov ecx, 0xed
xor edx, edx
mov al, byte [edx + 0x1007d7a0]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x30], al
and ecx, 0x800000ff
jns 0x10024881
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1a
jl 0x10024864
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push 0xffbfff00
push 0x134
push 0x134
push dword [0x10091800]
call fcn.10012280
add esp, 0x14
mov ecx, 0x6e
xor edx, edx
nop word [eax + eax]
mov al, byte [edx + 0x1007d7bc]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x30], al
and ecx, 0x800000ff
jns 0x100248dd
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1a
jl 0x100248c0
mov byte [ebp - 0x16], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 1
push eax
push 0xffccffff
push 0x14b
push 0x134
push dword [0x10091800]
call fcn.10012280
add esp, 0x14
mov ecx, 0x3c
xor edx, edx
mov al, byte [edx + 0x1007d7d8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x30], al
and ecx, 0x800000ff
jns 0x10024933
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x1d
jl 0x10024916
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 2
push eax
push 0xffccffff
push 0x15d
push 0x134
push dword [0x10091800]
call fcn.10012280
add esp, 0x14
mov ecx, 0xbe
xor edx, edx
nop dword [eax]
mov al, byte [edx + 0x1007d7f8]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x34], al
and ecx, 0x800000ff
jns 0x1002498d
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x21
jl 0x10024970
mov byte [ebp - 0x13], 0
lea eax, [ebp - 0x34]
mov dword [ebp - 4], 3
push eax
push 0xffccffff
push 0x16f
push 0x134
push dword [0x10091800]
call fcn.10012280
add esp, 0x14
mov ecx, 0x44
xor edx, edx
mov al, byte [edx + 0x1007d81c]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x5c], al
and ecx, 0x800000ff
jns 0x100249e3
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x24
jl 0x100249c6
mov byte [ebp - 0x38], 0
lea eax, [ebp - 0x5c]
mov dword [ebp - 4], 4
push eax
push 0xff800080
push 0x19b
push 0x134
push dword [0x10091800]
call fcn.10012280
add esp, 0x14
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1005f599
mov esp, ebp
pop ebp
ret