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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100290c0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
push 0x11dd6aa8
push esi
mov eax, dword [esi]
call dword [eax + 0xc0]
mov eax, dword [0x11dd67b4]
test eax, eax
jne 0x1000a2d6
mov dword [0x11dd6778], 7
jmp 0x1000a2e5
cmp eax, 1
jne 0x1000a2e5
mov dword [0x11dd6778], 5
cmp dword [0x10042730], 0
je 0x1000a787
mov eax, dword [0x10042688]
cmp dword [eax], 0
jbe 0x1000a787
mov eax, dword [0x100421f0]
mov eax, dword [eax]
mov dword [ebp - 0x24], eax
mov eax, dword [0x10042644]
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
mov eax, dword [0x11dd6998]
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 [0x100422ac]
mov ecx, dword [eax + ecx]
call fcn.10004b00
test eax, eax
jle 0x1000a787
mov ecx, esi
call fcn.10009f70
mov dword [0x11dd6ae4], eax
cmp eax, 0xffffffff
je 0x1000a787
push dword [0x11dd6778]
mov edx, eax
lea ecx, [ebp - 0x10]
call fcn.10006180
add esp, 4
test al, al
je 0x1000a787
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.10004510
test al, al
je 0x1000a787
mov eax, dword [0x11dd6ab0]
movss xmm3, dword [ebp - 0x18]
movss xmm5, dword [ebp - 0x1c]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x10027210]
mov eax, dword [0x100419f0]
add eax, 2
cdq
sub eax, edx
sar eax, 1
cvtpd2ps xmm4, xmm0
movd xmm1, eax
mov eax, dword [0x11dd6ab4]
mulss xmm4, dword [0x10026554]
cvtdq2ps xmm1, xmm1
movd xmm0, eax
subss xmm5, xmm4
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
divss xmm5, xmm1
addsd xmm0, qword [eax*8 + 0x10027210]
cvttss2si eax, dword [ebp - 0x1c]
cvtpd2ps xmm6, xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x24], xmm5
mulss xmm6, dword [0x10026554]
cvttss2si ecx, xmm4
subss xmm0, xmm6
divss xmm0, xmm1
movss dword [ebp - 0x20], xmm0
cmp eax, ecx
je 0x1000a787
cvttss2si ecx, xmm6
cvttss2si eax, xmm3
cmp eax, ecx
je 0x1000a787
cmp dword [0x10042258], 0
jne 0x1000a469
cvttss2si eax, xmm0
push 0
push 0
mov dword [0x11dd6ae8], 0x10002420
push eax
cvttss2si eax, xmm5
push eax
push 1
call fcn.10002420
cmp dword [0x10042258], 1
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x1000a4f3
push 1
mov dword [0x100426b4], 0x10002450
call fcn.10002450
cwde
shr eax, 0x10
test eax, eax
je 0x1000a4c5
cmp byte [0x11dd7b28], 0
je 0x1000a4b0
cmp dword [0x11dd7b2c], 0
je 0x1000a4cc
call esi
mov ecx, dword [0x11dd7b2c]
inc ecx
cmp ecx, eax
ja 0x1000a4cc
mov byte [0x11dd7b28], 1
call esi
mov dword [0x11dd7b2c], eax
mov eax, 1
jmp 0x1000a4ce
mov byte [0x11dd7b28], 0
xor eax, eax
test eax, eax
je 0x1000a4f3
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd6ae8], 0x10002420
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002420
cmp dword [0x10042258], 2
jne 0x1000a577
push 2
mov dword [0x100426b4], 0x10002450
call fcn.10002450
cwde
shr eax, 0x10
test eax, eax
je 0x1000a549
cmp byte [0x11dd7b30], 0
je 0x1000a534
cmp dword [0x11dd7b34], 0
je 0x1000a550
call esi
mov ecx, dword [0x11dd7b34]
inc ecx
cmp ecx, eax
ja 0x1000a550
mov byte [0x11dd7b30], 1
call esi
mov dword [0x11dd7b34], eax
mov eax, 1
jmp 0x1000a552
mov byte [0x11dd7b30], 0
xor eax, eax
test eax, eax
je 0x1000a577
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd6ae8], 0x10002420
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002420
cmp dword [0x10042258], 3
jne 0x1000a5fb
push 0x11
mov dword [0x100426b4], 0x10002450
call fcn.10002450
cwde
shr eax, 0x10
test eax, eax
je 0x1000a5cd
cmp byte [0x11dd7ba8], 0
je 0x1000a5b8
cmp dword [0x11dd7bac], 0
je 0x1000a5d4
call esi
mov ecx, dword [0x11dd7bac]
inc ecx
cmp ecx, eax
ja 0x1000a5d4
mov byte [0x11dd7ba8], 1
call esi
mov dword [0x11dd7bac], eax
mov eax, 1
jmp 0x1000a5d6
mov byte [0x11dd7ba8], 0
xor eax, eax
test eax, eax
je 0x1000a5fb
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd6ae8], 0x10002420
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002420
cmp dword [0x10042258], 4
jne 0x1000a67f
push 0x10
mov dword [0x100426b4], 0x10002450
call fcn.10002450
cwde
shr eax, 0x10
test eax, eax
je 0x1000a651
cmp byte [0x11dd7ba0], 0
je 0x1000a63c
cmp dword [0x11dd7ba4], 0
je 0x1000a658
call esi
mov ecx, dword [0x11dd7ba4]
inc ecx
cmp ecx, eax
ja 0x1000a658
mov byte [0x11dd7ba0], 1
call esi
mov dword [0x11dd7ba4], eax
mov eax, 1
jmp 0x1000a65a
mov byte [0x11dd7ba0], 0
xor eax, eax
test eax, eax
je 0x1000a67f
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd6ae8], 0x10002420
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002420
cmp dword [0x10042258], 5
jne 0x1000a703
push 0x12
mov dword [0x100426b4], 0x10002450
call fcn.10002450
cwde
shr eax, 0x10
test eax, eax
je 0x1000a6d5
cmp byte [0x11dd7bb0], 0
je 0x1000a6c0
cmp dword [0x11dd7bb4], 0
je 0x1000a6dc
call esi
mov ecx, dword [0x11dd7bb4]
inc ecx
cmp ecx, eax
ja 0x1000a6dc
mov byte [0x11dd7bb0], 1
call esi
mov dword [0x11dd7bb4], eax
mov eax, 1
jmp 0x1000a6de
mov byte [0x11dd7bb0], 0
xor eax, eax
test eax, eax
je 0x1000a703
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd6ae8], 0x10002420
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002420
cmp dword [0x10042258], 6
jne 0x1000a787
push 0x14
mov dword [0x100426b4], 0x10002450
call fcn.10002450
cwde
shr eax, 0x10
test eax, eax
je 0x1000a759
cmp byte [0x11dd7bc0], 0
je 0x1000a744
cmp dword [0x11dd7bc4], 0
je 0x1000a760
call esi
mov ecx, dword [0x11dd7bc4]
inc ecx
cmp ecx, eax
ja 0x1000a760
mov byte [0x11dd7bc0], 1
call esi
mov dword [0x11dd7bc4], eax
mov eax, 1
jmp 0x1000a762
mov byte [0x11dd7bc0], 0
xor eax, eax
test eax, eax
je 0x1000a787
cvttss2si eax, dword [ebp - 0x20]
push 0
push 0
mov dword [0x11dd6ae8], 0x10002420
push eax
cvttss2si eax, dword [ebp - 0x24]
push eax
push 1
call fcn.10002420
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10020ae5
mov esp, ebp
pop ebp
ret