Function at 0x10009760
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 [0x11dcf784]
test eax, eax
jne 0x10009796
mov dword [0x11dcf750], 7
jmp 0x100097a5
cmp eax, 1
jne 0x100097a5
mov dword [0x11dcf750], 5
cmp dword [0x1003b70c], 0
je 0x10009c47
mov eax, dword [0x1003b660]
cmp dword [eax], 0
jbe 0x10009c47
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 0x10009c47
mov ecx, esi
call fcn.10009420
mov dword [0x11dcfaa0], eax
cmp eax, 0xffffffff
je 0x10009c47
push dword [0x11dcf750]
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.10005e00
add esp, 4
test al, al
je 0x10009c47
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 0x10009c47
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 [0x1003a9f8]
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 0x10009c47
cvttss2si ecx, xmm6
cvttss2si eax, xmm3
cmp eax, ecx
je 0x10009c47
cmp dword [0x1003b21c], 0
jne 0x10009929
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 [0x1003b21c], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x100099b3
push 1
mov dword [0x1003b68c], 0x10002470
call fcn.10002470
cwde
shr eax, 0x10
test eax, eax
je 0x10009985
cmp byte [0x11dd0ae0], 0
je 0x10009970
cmp dword [0x11dd0ae4], 0
je 0x1000998c
call esi
mov ecx, dword [0x11dd0ae4]
inc ecx
cmp ecx, eax
ja 0x1000998c
mov byte [0x11dd0ae0], 1
call esi
mov dword [0x11dd0ae4], eax
mov eax, 1
jmp 0x1000998e
mov byte [0x11dd0ae0], 0
xor eax, eax
test eax, eax
je 0x100099b3
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 [0x1003b21c], 2
jne 0x10009a37
push 2
mov dword [0x1003b68c], 0x10002470
call fcn.10002470
cwde
shr eax, 0x10
test eax, eax
je 0x10009a09
cmp byte [0x11dd0ae8], 0
je 0x100099f4
cmp dword [0x11dd0aec], 0
je 0x10009a10
call esi
mov ecx, dword [0x11dd0aec]
inc ecx
cmp ecx, eax
ja 0x10009a10
mov byte [0x11dd0ae8], 1
call esi
mov dword [0x11dd0aec], eax
mov eax, 1
jmp 0x10009a12
mov byte [0x11dd0ae8], 0
xor eax, eax
test eax, eax
je 0x10009a37
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 [0x1003b21c], 3
jne 0x10009abb
push 0x11
mov dword [0x1003b68c], 0x10002470
call fcn.10002470
cwde
shr eax, 0x10
test eax, eax
je 0x10009a8d
cmp byte [0x11dd0b60], 0
je 0x10009a78
cmp dword [0x11dd0b64], 0
je 0x10009a94
call esi
mov ecx, dword [0x11dd0b64]
inc ecx
cmp ecx, eax
ja 0x10009a94
mov byte [0x11dd0b60], 1
call esi
mov dword [0x11dd0b64], eax
mov eax, 1
jmp 0x10009a96
mov byte [0x11dd0b60], 0
xor eax, eax
test eax, eax
je 0x10009abb
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 [0x1003b21c], 4
jne 0x10009b3f
push 0x10
mov dword [0x1003b68c], 0x10002470
call fcn.10002470
cwde
shr eax, 0x10
test eax, eax
je 0x10009b11
cmp byte [0x11dd0b58], 0
je 0x10009afc
cmp dword [0x11dd0b5c], 0
je 0x10009b18
call esi
mov ecx, dword [0x11dd0b5c]
inc ecx
cmp ecx, eax
ja 0x10009b18
mov byte [0x11dd0b58], 1
call esi
mov dword [0x11dd0b5c], eax
mov eax, 1
jmp 0x10009b1a
mov byte [0x11dd0b58], 0
xor eax, eax
test eax, eax
je 0x10009b3f
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 [0x1003b21c], 5
jne 0x10009bc3
push 0x12
mov dword [0x1003b68c], 0x10002470
call fcn.10002470
cwde
shr eax, 0x10
test eax, eax
je 0x10009b95
cmp byte [0x11dd0b68], 0
je 0x10009b80
cmp dword [0x11dd0b6c], 0
je 0x10009b9c
call esi
mov ecx, dword [0x11dd0b6c]
inc ecx
cmp ecx, eax
ja 0x10009b9c
mov byte [0x11dd0b68], 1
call esi
mov dword [0x11dd0b6c], eax
mov eax, 1
jmp 0x10009b9e
mov byte [0x11dd0b68], 0
xor eax, eax
test eax, eax
je 0x10009bc3
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 [0x1003b21c], 6
jne 0x10009c47
push 0x14
mov dword [0x1003b68c], 0x10002470
call fcn.10002470
cwde
shr eax, 0x10
test eax, eax
je 0x10009c19
cmp byte [0x11dd0b78], 0
je 0x10009c04
cmp dword [0x11dd0b7c], 0
je 0x10009c20
call esi
mov ecx, dword [0x11dd0b7c]
inc ecx
cmp ecx, eax
ja 0x10009c20
mov byte [0x11dd0b78], 1
call esi
mov dword [0x11dd0b7c], eax
mov eax, 1
jmp 0x10009c22
mov byte [0x11dd0b78], 0
xor eax, eax
test eax, eax
je 0x10009c47
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