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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100220c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0x11dcfa64
push esi
mov eax, dword [esi]
call dword [eax + 0xc0]
mov eax, dword [0x1003b5d8]
test eax, eax
jne 0x10009c96
mov dword [0x1003b1c4], 7
jmp 0x10009ca5
cmp eax, 1
jne 0x10009ca5
mov dword [0x1003b1c4], 5
cmp dword [0x1003b100], 0
je 0x1000a155
mov eax, dword [0x1003b660]
cmp dword [eax], 0
jbe 0x1000a155
mov eax, dword [0x1003b1b4]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [0x1003b614]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x11dcf95c]
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 [0x1003b274]
mov ecx, dword [eax + ecx]
call fcn.10004b30
test eax, eax
jle 0x1000a155
cmp byte [0x1003b3df], 0xf3
jne 0x10009d15
call fcn.10005fa0
jmp 0x10009d1a
call fcn.10006110
mov dword [0x1003b5d0], eax
cmp eax, 0xffffffff
je 0x1000a155
push dword [0x1003b1c4]
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.10005e00
add esp, 4
test al, al
je 0x1000a155
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.100045f0
test al, al
je 0x1000a155
mov eax, dword [0x11dcfa6c]
movss xmm3, dword [ebp - 0x18]
movss xmm5, dword [ebp - 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x1001f8b0]
mov eax, dword [0x100221a4]
add eax, 2
cdq
sub eax, edx
sar eax, 1
cvtpd2ps xmm4, xmm0
movd xmm1, eax
mov eax, dword [0x11dcfa70]
mulss xmm4, dword [0x1001ee64]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
subss xmm5, xmm4
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
divss xmm5, xmm1
addsd xmm0, qword [eax*8 + 0x1001f8b0]
cvttss2si eax, dword [ebp - 0x1c]
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x24], xmm5
mulss xmm6, dword [0x1001ee64]
cvttss2si ecx, xmm4
subss xmm0, xmm6
divss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
cmp eax, ecx
je 0x1000a155
cvttss2si ecx, xmm6
cvttss2si eax, xmm3
cmp eax, ecx
je 0x1000a155
cmp dword [0x1003b238], 0
jne 0x10009e37
cvttss2si eax, xmm0
push 0
push 0
mov dword [0x11dcfaa4], 0x10002440
push eax
cvttss2si eax, xmm5
push eax
push 1
call fcn.10002440
cmp dword [0x1003b238], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x10009ec1
push 1
mov dword [0x1003b68c], 0x10002470
call fcn.10002470
cwde
shr eax, 0x10
test eax, eax
je 0x10009e93
cmp byte [0x11dd0ae0], 0
je 0x10009e7e
cmp dword [0x11dd0ae4], 0
je 0x10009e9a
call esi
mov ecx, dword [0x11dd0ae4]
inc ecx
cmp ecx, eax
ja 0x10009e9a
mov byte [0x11dd0ae0], 1
call esi
mov dword [0x11dd0ae4], eax
mov eax, 1
jmp 0x10009e9c
mov byte [0x11dd0ae0], 0
xor eax, eax
test eax, eax
je 0x10009ec1
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dcfaa4], 0x10002440
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002440
cmp dword [0x1003b238], 2
jne 0x10009f45
push 2
mov dword [0x1003b68c], 0x10002470
call fcn.10002470
cwde
shr eax, 0x10
test eax, eax
je 0x10009f17
cmp byte [0x11dd0ae8], 0
je 0x10009f02
cmp dword [0x11dd0aec], 0
je 0x10009f1e
call esi
mov ecx, dword [0x11dd0aec]
inc ecx
cmp ecx, eax
ja 0x10009f1e
mov byte [0x11dd0ae8], 1
call esi
mov dword [0x11dd0aec], eax
mov eax, 1
jmp 0x10009f20
mov byte [0x11dd0ae8], 0
xor eax, eax
test eax, eax
je 0x10009f45
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dcfaa4], 0x10002440
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002440
cmp dword [0x1003b238], 3
jne 0x10009fc9
push 0x11
mov dword [0x1003b68c], 0x10002470
call fcn.10002470
cwde
shr eax, 0x10
test eax, eax
je 0x10009f9b
cmp byte [0x11dd0b60], 0
je 0x10009f86
cmp dword [0x11dd0b64], 0
je 0x10009fa2
call esi
mov ecx, dword [0x11dd0b64]
inc ecx
cmp ecx, eax
ja 0x10009fa2
mov byte [0x11dd0b60], 1
call esi
mov dword [0x11dd0b64], eax
mov eax, 1
jmp 0x10009fa4
mov byte [0x11dd0b60], 0
xor eax, eax
test eax, eax
je 0x10009fc9
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dcfaa4], 0x10002440
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002440
cmp dword [0x1003b238], 4
jne 0x1000a04d
push 0x10
mov dword [0x1003b68c], 0x10002470
call fcn.10002470
cwde
shr eax, 0x10
test eax, eax
je 0x1000a01f
cmp byte [0x11dd0b58], 0
je 0x1000a00a
cmp dword [0x11dd0b5c], 0
je 0x1000a026
call esi
mov ecx, dword [0x11dd0b5c]
inc ecx
cmp ecx, eax
ja 0x1000a026
mov byte [0x11dd0b58], 1
call esi
mov dword [0x11dd0b5c], eax
mov eax, 1
jmp 0x1000a028
mov byte [0x11dd0b58], 0
xor eax, eax
test eax, eax
je 0x1000a04d
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dcfaa4], 0x10002440
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002440
cmp dword [0x1003b238], 5
jne 0x1000a0d1
push 0x12
mov dword [0x1003b68c], 0x10002470
call fcn.10002470
cwde
shr eax, 0x10
test eax, eax
je 0x1000a0a3
cmp byte [0x11dd0b68], 0
je 0x1000a08e
cmp dword [0x11dd0b6c], 0
je 0x1000a0aa
call esi
mov ecx, dword [0x11dd0b6c]
inc ecx
cmp ecx, eax
ja 0x1000a0aa
mov byte [0x11dd0b68], 1
call esi
mov dword [0x11dd0b6c], eax
mov eax, 1
jmp 0x1000a0ac
mov byte [0x11dd0b68], 0
xor eax, eax
test eax, eax
je 0x1000a0d1
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dcfaa4], 0x10002440
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002440
cmp dword [0x1003b238], 6
jne 0x1000a155
push 0x14
mov dword [0x1003b68c], 0x10002470
call fcn.10002470
cwde
shr eax, 0x10
test eax, eax
je 0x1000a127
cmp byte [0x11dd0b78], 0
je 0x1000a112
cmp dword [0x11dd0b7c], 0
je 0x1000a12e
call esi
mov ecx, dword [0x11dd0b7c]
inc ecx
cmp ecx, eax
ja 0x1000a12e
mov byte [0x11dd0b78], 1
call esi
mov dword [0x11dd0b7c], eax
mov eax, 1
jmp 0x1000a130
mov byte [0x11dd0b78], 0
xor eax, eax
test eax, eax
je 0x1000a155
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dcfaa4], 0x10002440
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002440
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10019955
mov esp, ebp
pop ebp
ret