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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100250c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0x11dd2a78
push esi
mov eax, dword [esi]
call dword [eax + 0xc0]
mov eax, dword [0x11dd2784]
test eax, eax
jne 0x1000a016
mov dword [0x11dd2748], 7
jmp 0x1000a025
cmp eax, 1
jne 0x1000a025
mov dword [0x11dd2748], 5
cmp dword [0x1003e700], 0
je 0x1000a4c7
mov eax, dword [0x1003e658]
cmp dword [eax], 0
jbe 0x1000a4c7
mov eax, dword [0x1003e1bc]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [0x1003e614]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x11dd2968]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
sub eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x28]
lea ecx, [eax + edx]
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
mov eax, dword [0x1003e278]
mov ecx, dword [eax + ecx]
call fcn.10004b40
test eax, eax
jle 0x1000a4c7
mov ecx, esi
call fcn.10009cb0
mov dword [0x11dd2ab4], eax
cmp eax, 0xffffffff
je 0x1000a4c7
push dword [0x11dd2748]
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.10005ee0
add esp, 4
test al, al
je 0x1000a4c7
movq xmm0, qword [ebp - 0x10]
lea eax, [ebp - 0x1c]
push esi
push eax
mov eax, dword [ebp - 8]
sub esp, 0xc
mov ecx, esp
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
call fcn.10004600
test al, al
je 0x1000a4c7
mov eax, dword [0x11dd2a80]
movss xmm3, dword [ebp - 0x18]
movss xmm5, dword [ebp - 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10022b20]
mov eax, dword [0x1003d9f0]
add eax, 2
cdq
sub eax, edx
sar eax, 1
cvtpd2ps xmm4, xmm0
movd xmm1, eax
mov eax, dword [0x11dd2a84]
mulss xmm4, dword [0x10021e64]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
subss xmm5, xmm4
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
divss xmm5, xmm1
addsd xmm0, qword [eax*8 + 0x10022b20]
cvttss2si eax, dword [ebp - 0x1c]
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x24], xmm5
mulss xmm6, dword [0x10021e64]
cvttss2si ecx, xmm4
subss xmm0, xmm6
divss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
cmp eax, ecx
je 0x1000a4c7
cvttss2si ecx, xmm6
cvttss2si eax, xmm3
cmp eax, ecx
je 0x1000a4c7
cmp dword [0x1003e224], 0
jne 0x1000a1a9
cvttss2si eax, xmm0
push 0
push 0
mov dword [0x11dd2ab8], 0x10002400
push eax
cvttss2si eax, xmm5
push eax
push 1
call fcn.10002400
cmp dword [0x1003e224], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x1000a233
push 1
mov dword [0x1003e684], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000a205
cmp byte [0x11dd3af8], 0
je 0x1000a1f0
cmp dword [0x11dd3afc], 0
je 0x1000a20c
call esi
mov ecx, dword [0x11dd3afc]
inc ecx
cmp ecx, eax
ja 0x1000a20c
mov byte [0x11dd3af8], 1
call esi
mov dword [0x11dd3afc], eax
mov eax, 1
jmp 0x1000a20e
mov byte [0x11dd3af8], 0
xor eax, eax
test eax, eax
je 0x1000a233
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd2ab8], 0x10002400
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002400
cmp dword [0x1003e224], 2
jne 0x1000a2b7
push 2
mov dword [0x1003e684], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000a289
cmp byte [0x11dd3b00], 0
je 0x1000a274
cmp dword [0x11dd3b04], 0
je 0x1000a290
call esi
mov ecx, dword [0x11dd3b04]
inc ecx
cmp ecx, eax
ja 0x1000a290
mov byte [0x11dd3b00], 1
call esi
mov dword [0x11dd3b04], eax
mov eax, 1
jmp 0x1000a292
mov byte [0x11dd3b00], 0
xor eax, eax
test eax, eax
je 0x1000a2b7
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd2ab8], 0x10002400
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002400
cmp dword [0x1003e224], 3
jne 0x1000a33b
push 0x11
mov dword [0x1003e684], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000a30d
cmp byte [0x11dd3b78], 0
je 0x1000a2f8
cmp dword [0x11dd3b7c], 0
je 0x1000a314
call esi
mov ecx, dword [0x11dd3b7c]
inc ecx
cmp ecx, eax
ja 0x1000a314
mov byte [0x11dd3b78], 1
call esi
mov dword [0x11dd3b7c], eax
mov eax, 1
jmp 0x1000a316
mov byte [0x11dd3b78], 0
xor eax, eax
test eax, eax
je 0x1000a33b
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd2ab8], 0x10002400
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002400
cmp dword [0x1003e224], 4
jne 0x1000a3bf
push 0x10
mov dword [0x1003e684], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000a391
cmp byte [0x11dd3b70], 0
je 0x1000a37c
cmp dword [0x11dd3b74], 0
je 0x1000a398
call esi
mov ecx, dword [0x11dd3b74]
inc ecx
cmp ecx, eax
ja 0x1000a398
mov byte [0x11dd3b70], 1
call esi
mov dword [0x11dd3b74], eax
mov eax, 1
jmp 0x1000a39a
mov byte [0x11dd3b70], 0
xor eax, eax
test eax, eax
je 0x1000a3bf
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd2ab8], 0x10002400
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002400
cmp dword [0x1003e224], 5
jne 0x1000a443
push 0x12
mov dword [0x1003e684], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000a415
cmp byte [0x11dd3b80], 0
je 0x1000a400
cmp dword [0x11dd3b84], 0
je 0x1000a41c
call esi
mov ecx, dword [0x11dd3b84]
inc ecx
cmp ecx, eax
ja 0x1000a41c
mov byte [0x11dd3b80], 1
call esi
mov dword [0x11dd3b84], eax
mov eax, 1
jmp 0x1000a41e
mov byte [0x11dd3b80], 0
xor eax, eax
test eax, eax
je 0x1000a443
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd2ab8], 0x10002400
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002400
cmp dword [0x1003e224], 6
jne 0x1000a4c7
push 0x14
mov dword [0x1003e684], 0x10002430
call fcn.10002430
cwde
shr eax, 0x10
test eax, eax
je 0x1000a499
cmp byte [0x11dd3b90], 0
je 0x1000a484
cmp dword [0x11dd3b94], 0
je 0x1000a4a0
call esi
mov ecx, dword [0x11dd3b94]
inc ecx
cmp ecx, eax
ja 0x1000a4a0
mov byte [0x11dd3b90], 1
call esi
mov dword [0x11dd3b94], eax
mov eax, 1
jmp 0x1000a4a2
mov byte [0x11dd3b90], 0
xor eax, eax
test eax, eax
je 0x1000a4c7
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd2ab8], 0x10002400
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002400
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001d045
mov esp, ebp
pop ebp
ret