Function at 0x10009df0
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 0x11dd2a44
push esi
mov eax, dword [esi]
call dword [eax + 0xc0]
mov eax, dword [0x1003e5c0]
test eax, eax
jne 0x10009e26
mov dword [0x1003e1b8], 7
jmp 0x10009e35
cmp eax, 1
jne 0x10009e35
mov dword [0x1003e1b8], 5
cmp dword [0x1003e0ec], 0
je 0x1000a2d5
mov eax, dword [0x1003e63c]
cmp dword [eax], 0
jbe 0x1000a2d5
mov eax, dword [0x1003e1a4]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [0x1003e5fc]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x11dd2938]
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 [0x1003e260]
mov ecx, dword [eax + ecx]
call fcn.100045d0
test eax, eax
jle 0x1000a2d5
call fcn.10005ca0
mov dword [0x1003e5b8], eax
cmp eax, 0xffffffff
je 0x1000a2d5
push dword [0x1003e1b8]
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.10005990
add esp, 4
test al, al
je 0x1000a2d5
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.10004090
test al, al
je 0x1000a2d5
mov eax, dword [0x11dd2a4c]
movss xmm3, dword [ebp - 0x18]
movss xmm5, dword [ebp - 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100229c0]
mov eax, dword [0x10025198]
add eax, 2
cdq
sub eax, edx
sar eax, 1
cvtpd2ps xmm4, xmm0
movd xmm1, eax
mov eax, dword [0x11dd2a50]
mulss xmm4, dword [0x10021d0c]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
subss xmm5, xmm4
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
divss xmm5, xmm1
addsd xmm0, qword [eax*8 + 0x100229c0]
cvttss2si eax, dword [ebp - 0x1c]
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x24], xmm5
mulss xmm6, dword [0x10021d0c]
cvttss2si ecx, xmm4
subss xmm0, xmm6
divss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
cmp eax, ecx
je 0x1000a2d5
cvttss2si ecx, xmm6
cvttss2si eax, xmm3
cmp eax, ecx
je 0x1000a2d5
cmp dword [0x1003e228], 0
jne 0x10009fb7
cvttss2si eax, xmm0
push 0
push 0
mov dword [0x11dd2a84], 0x100023d0
push eax
cvttss2si eax, xmm5
push eax
push 1
call fcn.100023d0
cmp dword [0x1003e228], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x1000a041
push 1
mov dword [0x1003e668], 0x10002400
call fcn.10002400
cwde
shr eax, 0x10
test eax, eax
je 0x1000a013
cmp byte [0x11dd3ac0], 0
je 0x10009ffe
cmp dword [0x11dd3ac4], 0
je 0x1000a01a
call esi
mov ecx, dword [0x11dd3ac4]
inc ecx
cmp ecx, eax
ja 0x1000a01a
mov byte [0x11dd3ac0], 1
call esi
mov dword [0x11dd3ac4], eax
mov eax, 1
jmp 0x1000a01c
mov byte [0x11dd3ac0], 0
xor eax, eax
test eax, eax
je 0x1000a041
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd2a84], 0x100023d0
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.100023d0
cmp dword [0x1003e228], 2
jne 0x1000a0c5
push 2
mov dword [0x1003e668], 0x10002400
call fcn.10002400
cwde
shr eax, 0x10
test eax, eax
je 0x1000a097
cmp byte [0x11dd3ac8], 0
je 0x1000a082
cmp dword [0x11dd3acc], 0
je 0x1000a09e
call esi
mov ecx, dword [0x11dd3acc]
inc ecx
cmp ecx, eax
ja 0x1000a09e
mov byte [0x11dd3ac8], 1
call esi
mov dword [0x11dd3acc], eax
mov eax, 1
jmp 0x1000a0a0
mov byte [0x11dd3ac8], 0
xor eax, eax
test eax, eax
je 0x1000a0c5
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd2a84], 0x100023d0
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.100023d0
cmp dword [0x1003e228], 3
jne 0x1000a149
push 0x11
mov dword [0x1003e668], 0x10002400
call fcn.10002400
cwde
shr eax, 0x10
test eax, eax
je 0x1000a11b
cmp byte [0x11dd3b40], 0
je 0x1000a106
cmp dword [0x11dd3b44], 0
je 0x1000a122
call esi
mov ecx, dword [0x11dd3b44]
inc ecx
cmp ecx, eax
ja 0x1000a122
mov byte [0x11dd3b40], 1
call esi
mov dword [0x11dd3b44], eax
mov eax, 1
jmp 0x1000a124
mov byte [0x11dd3b40], 0
xor eax, eax
test eax, eax
je 0x1000a149
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd2a84], 0x100023d0
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.100023d0
cmp dword [0x1003e228], 4
jne 0x1000a1cd
push 0x10
mov dword [0x1003e668], 0x10002400
call fcn.10002400
cwde
shr eax, 0x10
test eax, eax
je 0x1000a19f
cmp byte [0x11dd3b38], 0
je 0x1000a18a
cmp dword [0x11dd3b3c], 0
je 0x1000a1a6
call esi
mov ecx, dword [0x11dd3b3c]
inc ecx
cmp ecx, eax
ja 0x1000a1a6
mov byte [0x11dd3b38], 1
call esi
mov dword [0x11dd3b3c], eax
mov eax, 1
jmp 0x1000a1a8
mov byte [0x11dd3b38], 0
xor eax, eax
test eax, eax
je 0x1000a1cd
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd2a84], 0x100023d0
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.100023d0
cmp dword [0x1003e228], 5
jne 0x1000a251
push 0x12
mov dword [0x1003e668], 0x10002400
call fcn.10002400
cwde
shr eax, 0x10
test eax, eax
je 0x1000a223
cmp byte [0x11dd3b48], 0
je 0x1000a20e
cmp dword [0x11dd3b4c], 0
je 0x1000a22a
call esi
mov ecx, dword [0x11dd3b4c]
inc ecx
cmp ecx, eax
ja 0x1000a22a
mov byte [0x11dd3b48], 1
call esi
mov dword [0x11dd3b4c], eax
mov eax, 1
jmp 0x1000a22c
mov byte [0x11dd3b48], 0
xor eax, eax
test eax, eax
je 0x1000a251
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd2a84], 0x100023d0
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.100023d0
cmp dword [0x1003e228], 6
jne 0x1000a2d5
push 0x14
mov dword [0x1003e668], 0x10002400
call fcn.10002400
cwde
shr eax, 0x10
test eax, eax
je 0x1000a2a7
cmp byte [0x11dd3b58], 0
je 0x1000a292
cmp dword [0x11dd3b5c], 0
je 0x1000a2ae
call esi
mov ecx, dword [0x11dd3b5c]
inc ecx
cmp ecx, eax
ja 0x1000a2ae
mov byte [0x11dd3b58], 1
call esi
mov dword [0x11dd3b5c], eax
mov eax, 1
jmp 0x1000a2b0
mov byte [0x11dd3b58], 0
xor eax, eax
test eax, eax
je 0x1000a2d5
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd2a84], 0x100023d0
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.100023d0
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1001c7f5
mov esp, ebp
pop ebp
ret