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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1016394d
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x101e6b6c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x102b835c
call fcn.10124b2c
movss xmm0, dword [0x101eb328]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jnp 0x10119497
mov ecx, dword [0x101e88b0]
movss xmm0, dword [0x101eb338]
movss dword [ebp - 0x3c], xmm0
mov eax, dword [ecx + 0x3e40]
mov byte [eax + 0xac], 1
mov eax, dword [ecx + 0x3e40]
mov eax, dword [eax + 0x264]
mov dword [ebp - 0x40], eax
call fcn.100141d0
mov ecx, dword [0x10268d0c]
mov esi, dword [0x10268d08]
sub ecx, esi
mov dword [ebp - 0x2c], esi
movss xmm0, dword [eax + 8]
mov eax, 0x78787879
mulss xmm0, dword [0x10168a88]
imul ecx
movss dword [ebp - 0x48], xmm0
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x10119497
imul edi, eax, 0x110
dec eax
sub edi, 0x110
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x38], edi
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
sub eax, dword [edi + esi + 0x108]
mov ecx, eax
sbb edx, dword [edi + esi + 0x10c]
call fcn.101255c0
movd xmm1, dword [edi + esi]
xorps xmm2, xmm2
cvtdq2ps xmm1, xmm1
cvtsd2ss xmm2, xmm0
addss xmm1, dword [0x101eb32c]
addss xmm1, dword [0x101eb32c]
comiss xmm2, xmm1
jbe 0x10118f30
mov edx, dword [0x10268d08]
mov eax, dword [0x10268d0c]
add edx, edi
lea ecx, [edx + 0x110]
sub eax, ecx
push eax
push ecx
push edx
call fcn.101294d0
add esp, 0xc
sub dword [0x10268d0c], 0x110
jmp 0x10119482
lea eax, [esi + 4]
mov dword [ebp - 0x18], 0
add eax, edi
mov dword [ebp - 0x14], 0
mov esi, eax
mov dword [ebp - 0x34], eax
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10118f52
sub esi, ecx
cmp esi, 0x7fffffff
ja 0x101194bc
mov dword [ebp - 0x14], 0xf
cmp esi, 0x10
jae 0x10118f8d
push esi
push dword [ebp - 0x34]
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], esi
push eax
call fcn.101294d0
mov byte [ebp + esi - 0x28], 0
jmp 0x10119018
mov edi, esi
or edi, 0xf
cmp edi, 0x7fffffff
jbe 0x10118fa9
mov ecx, 0x80000000
mov edi, 0x7fffffff
add ecx, 0x23
jmp 0x10118fc9
cmp edi, 0x16
mov eax, 0x16
cmovb edi, eax
lea eax, [edi + 1]
cmp eax, 0x1000
jb 0x10118fe7
lea ecx, [eax + 0x23]
cmp ecx, eax
jbe 0x101194b2
push ecx
call fcn.10124b6c
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x101194b7
lea eax, [ecx + 0x23]
and eax, 0xffffffe0
mov dword [eax - 4], ecx
jmp 0x10118ff8
test eax, eax
je 0x10118ff6
push eax
call fcn.10124b6c
add esp, 4
jmp 0x10118ff8
xor eax, eax
push esi
push dword [ebp - 0x34]
mov dword [ebp - 0x30], eax
push eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edi
call fcn.101294d0
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp - 0x38]
mov byte [eax + esi], 0
add esp, 0xc
mov dword [ebp - 4], 0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, dword [ebp - 0x2c]
xor edx, edx
sub eax, dword [edi + esi + 0x108]
mov ecx, eax
sbb edx, dword [edi + esi + 0x10c]
call fcn.101255c0
movd xmm1, dword [edi + esi]
xorps xmm2, xmm2
movss xmm3, dword [0x101eb32c]
cvtdq2ps xmm1, xmm1
cvtsd2ss xmm2, xmm0
addss xmm1, xmm3
movaps xmm0, xmm1
addss xmm0, xmm3
comiss xmm2, xmm0
ja 0x101190f0
comiss xmm2, xmm1
jbe 0x101190c0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
sub eax, dword [edi + esi + 0x108]
mov ecx, eax
sbb edx, dword [edi + esi + 0x10c]
call fcn.101255c0
xorps xmm2, xmm2
cvtsd2ss xmm2, xmm0
movd xmm0, dword [edi + esi]
subss xmm2, dword [0x101eb32c]
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
movss xmm0, dword [0x10167210]
divss xmm2, dword [0x101eb32c]
subss xmm0, xmm2
jmp 0x101190fe
comiss xmm2, xmm3
ja 0x101190f0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
sub eax, dword [edi + esi + 0x108]
mov ecx, eax
sbb edx, dword [edi + esi + 0x10c]
call fcn.101255c0
cvtsd2ss xmm0, xmm0
divss xmm0, dword [0x101eb32c]
jmp 0x101190fe
call dword [sym.imp.KERNEL32.dll_GetTickCount]
movss xmm0, dword [0x10167210]
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
push ecx
cmovae eax, dword [ebp - 0x28]
mov dword [esp], 0xbf800000
push 1
push 0
push eax
lea eax, [ebp - 0xc0]
movss dword [ebp - 0x30], xmm0
push eax
call fcn.10010350
mov ecx, dword [ebp - 0x2c]
add esp, 0x14
mov edi, dword [edi + esi]
cvttss2si eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x38]
mov esi, dword [eax + esi + 0x108]
mov eax, dword [eax + ecx + 0x10c]
mov dword [ebp - 0x4c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x34]
lea ecx, [esi + edi]
mov edi, dword [ebp - 0x38]
sub ecx, eax
mov eax, dword [ebp - 0x2c]
movss xmm3, dword [ebp - 0x48]
lea edx, [edx + 0xc]
movss xmm1, dword [0x101eb334]
mov dword [ebp - 0x38], edx
movaps xmm2, xmm3
mov esi, dword [edi + eax]
mov eax, 0
cmovns eax, ecx
movss dword [ebp - 0x2c], xmm1
mov ecx, edx
imul eax, ecx
cdq
idiv esi
mov esi, dword [ebp - 0x34]
cmp eax, ecx
cmovle ecx, eax
mov eax, esi
cdq
sub eax, edx
mov dword [ebp - 0x38], ecx
sar eax, 1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm2, xmm0
comiss xmm2, xmm1
ja 0x101191d7
addss xmm0, xmm3
comiss xmm1, xmm0
jbe 0x101191d2
movd xmm0, esi
cvtdq2ps xmm0, xmm0
subss xmm1, xmm0
subss xmm1, dword [0x10168af0]
movss dword [ebp - 0x2c], xmm1
jmp 0x101191d7
movss dword [ebp - 0x2c], xmm2
movss xmm0, dword [0x101eb330]
xorps xmm1, xmm1
ucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x101193a5
movss xmm0, dword [0x101eb34c]
lea eax, [ebp - 0x98]
movss dword [ebp - 0x98], xmm0
movss xmm0, dword [0x101eb350]
movss dword [ebp - 0x94], xmm0
movss xmm0, dword [0x101eb354]
movss dword [ebp - 0x90], xmm0
movss xmm0, dword [ebp - 0x30]
push eax
movss dword [ebp - 0x8c], xmm0
call fcn.10011370
movss xmm2, dword [ebp - 0x2c]
add esp, 4
movss xmm3, dword [ebp - 0x3c]
movd xmm0, esi
movaps xmm1, xmm3
addss xmm1, dword [0x10168af4]
mov esi, dword [ebp - 0x40]
cvtdq2ps xmm0, xmm0
push 0
push ecx
mov dword [esp], 0x41000000
mov ecx, esi
push eax
lea eax, [ebp - 0x58]
movss dword [ebp - 0x34], xmm1
addss xmm0, xmm2
movss dword [ebp - 0x54], xmm1
push eax
lea eax, [ebp - 0x60]
movss dword [ebp - 0x60], xmm2
push eax
movss dword [ebp - 0x5c], xmm3
addss xmm0, dword [0x10168af0]
movss dword [ebp - 0x4c], xmm0
movss dword [ebp - 0x58], xmm0
call fcn.100284b0
movss xmm0, dword [0x101eb35c]
lea eax, [ebp - 0xa8]
movss dword [ebp - 0xa8], xmm0
movss xmm0, dword [0x101eb360]
movss dword [ebp - 0xa4], xmm0
movss xmm0, dword [0x101eb364]
movss dword [ebp - 0xa0], xmm0
movss xmm0, dword [ebp - 0x30]
subss xmm0, dword [0x10168aa8]
push eax
movss dword [ebp - 0x9c], xmm0
call fcn.10011370
movd xmm0, dword [ebp - 0x38]
add esp, 4
movss xmm1, dword [ebp - 0x2c]
cvtdq2ps xmm0, xmm0
push 0
push ecx
mov dword [esp], 0x41000000
mov ecx, esi
push eax
addss xmm0, xmm1
movss dword [ebp - 0x70], xmm1
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x70]
push eax
movss dword [ebp - 0x68], xmm0
movss xmm0, dword [ebp - 0x34]
movss dword [ebp - 0x64], xmm0
movss xmm0, dword [ebp - 0x3c]
movss dword [ebp - 0x6c], xmm0
call fcn.100284b0
movss xmm0, dword [ebp - 0x30]
lea eax, [ebp - 0xd0]
push ecx
movss dword [esp], xmm0
push eax
call fcn.10105910
push eax
call fcn.10011370
movss xmm0, dword [ebp - 0x4c]
subss xmm0, dword [0x10168ad8]
movss dword [ebp - 0x78], xmm0
movss xmm2, dword [ebp - 0x2c]
add esp, 8
addss xmm2, dword [0x10168ad8]
movss xmm1, dword [ebp - 0x34]
mov ecx, esi
movss dword [ebp - 0x74], xmm1
mov dword [esp], 0x3fc00000
push eax
lea eax, [ebp - 0x78]
movss dword [ebp - 0x80], xmm2
push eax
lea eax, [ebp - 0x80]
movss dword [ebp - 0x7c], xmm1
push eax
call fcn.10027600
movss xmm0, dword [0x101eb33c]
lea eax, [ebp - 0xb8]
cmp dword [ebp - 0x14], 0x10
lea esi, [ebp - 0x28]
movss dword [ebp - 0xb8], xmm0
movss xmm0, dword [0x101eb340]
cmovae esi, dword [ebp - 0x28]
movss dword [ebp - 0xb4], xmm0
movss xmm0, dword [0x101eb344]
movss dword [ebp - 0xb0], xmm0
movss xmm0, dword [ebp - 0x30]
push eax
movss dword [ebp - 0xac], xmm0
call fcn.10011370
movss xmm1, dword [ebp - 0x2c]
add esp, 4
movss xmm0, dword [ebp - 0x3c]
addss xmm1, dword [0x10168ae4]
addss xmm0, dword [0x10167210]
mov ecx, dword [ebp - 0x40]
push 0
push esi
push eax
lea eax, [ebp - 0x88]
movss dword [ebp - 0x88], xmm1
push eax
movss dword [ebp - 0x84], xmm0
call fcn.100287b0
movss xmm0, dword [ebp - 0x3c]
addss xmm0, dword [0x10168af8]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
movss dword [ebp - 0x3c], xmm0
cmp ecx, 0x10
jb 0x10119482
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10119478
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101194b7
push ecx
push edx
call fcn.10124b9c
add esp, 8
mov eax, dword [ebp - 0x44]
test eax, eax
je 0x10119497
mov esi, dword [0x10268d08]
mov dword [ebp - 0x2c], esi
jmp 0x10118eb3
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10124b5e
mov esp, ebp
pop ebp
ret
call fcn.10078f70
call fcn.1013ed10
call fcn.10078fc0
int3