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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10034b58
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
mov eax, dword [0x101c6014]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 0x6c], eax
mov eax, dword [0x101c7ab0]
dec eax
cmp eax, 0xfd
ja 0x1000a4f6
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
sub eax, dword [0x101e8074]
cmp eax, 0xc8
jbe 0x1000a4e9
mov eax, dword [0x101c7ab0]
cmp byte [eax + 0x101c6f49], 0
je 0x1000a4e9
cmp byte [0x101c6df4], 0
sete byte [0x101c6df4]
call esi
mov dword [0x101e8074], eax
cmp byte [0x101c6df4], 0
je case.0x1000a50b.4
mov ecx, dword [0x101e7fc0]
lea eax, [ecx - 4]
cmp eax, 0x15
ja case.0x1000a50b.5
movzx eax, byte [eax + 0x1000ab18]
jmp dword [eax*4 + 0x1000ab10]
cmp ecx, 0x1d
je case.0x1000a50b.4
vxorps xmm0, xmm0, xmm0
vcomiss xmm0, dword [0x101e7ff4]
jb case.0x1000a50b.4
cmp dword [0x101e7fc4], 0
jne case.0x1000a50b.4
vcomiss xmm0, dword [0x101e7ffc]
jb case.0x1000a50b.4
mov esi, ecx
shl esi, 4
sub esi, ecx
cmp byte [esi*4 + 0x101c7b08], 0
je case.0x1000a50b.4
cmp byte [0x101c7aa9], 0
je 0x1000a57c
call fcn.1001eea0
test al, al
je 0x1000a57c
cmp dword [0x101e7f08], 0x5a
je case.0x1000a50b.4
vpxor xmm0, xmm0, xmm0
vmovdqu xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
push 8
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.100325e9
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x28]
add esp, 4
mov dword [eax], 0
mov dword [eax + 4], 0
mov eax, dword [ebp - 0x28]
mov dword [eax], ecx
mov dword [ebp - 4], 0
cmp byte [esi*4 + 0x101c7b09], 0
je 0x1000a5f2
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0xb
push eax
call fcn.1000c750
cmp byte [esi*4 + 0x101c7b0a], 0
je 0x1000a685
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 7
push eax
lea ecx, [ebp - 0x28]
call fcn.1000c750
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 8
push eax
lea ecx, [ebp - 0x28]
call fcn.1000c750
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 9
push eax
lea ecx, [ebp - 0x28]
call fcn.1000c750
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0xa
push eax
lea ecx, [ebp - 0x28]
call fcn.1000c750
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0xb
push eax
lea ecx, [ebp - 0x28]
call fcn.1000c750
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0xc
push eax
lea ecx, [ebp - 0x28]
call fcn.1000c750
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0x11
push eax
lea ecx, [ebp - 0x28]
call fcn.1000c750
cmp byte [esi*4 + 0x101c7b0b], 0
je 0x1000a6a2
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
lea ecx, [ebp - 0x28]
call fcn.1000c750
vmovss xmm0, dword [esi*4 + 0x101c7b10]
vmovss dword [ebp - 0x68], xmm0
vxorps xmm0, xmm0, xmm0
lea eax, [ebp - 0x34]
push eax
vmovss dword [ebp - 0x40], xmm0
vmovss dword [ebp - 0x3c], xmm0
vmovss dword [ebp - 0x38], xmm0
vmovss dword [ebp - 0x34], xmm0
vmovss dword [ebp - 0x30], xmm0
vmovss dword [ebp - 0x2c], xmm0
call dword [0x101c7590]
vmovss xmm0, dword [ebp - 0x68]
vxorps xmm3, xmm3, xmm3
add esp, 4
vcomiss xmm0, xmm3
jbe 0x1000a719
vmovss xmm0, dword [ebp - 0x34]
vaddss xmm1, xmm0, dword [0x101e7f78]
vmovss xmm0, dword [ebp - 0x30]
vaddss xmm4, xmm0, dword [0x101e7f7c]
vmovss dword [ebp - 0x34], xmm1
vmovss dword [ebp - 0x30], xmm4
vmovss dword [ebp - 0x2c], xmm3
jmp 0x1000a728
vmovss xmm3, dword [ebp - 0x2c]
vmovss xmm4, dword [ebp - 0x30]
vmovss xmm1, dword [ebp - 0x34]
vmovss xmm5, dword [0x101c0bf4]
vcomiss xmm1, xmm5
vmovss xmm0, dword [0x101c0c18]
vmovss xmm2, dword [0x101c0cb0]
jbe 0x1000a74c
vsubss xmm1, xmm1, xmm0
jmp 0x1000a756
vcomiss xmm2, xmm1
jbe 0x1000a75b
vaddss xmm1, xmm1, xmm0
vmovss dword [ebp - 0x34], xmm1
vcomiss xmm4, xmm5
jbe 0x1000a767
vsubss xmm4, xmm4, xmm0
jmp 0x1000a771
vcomiss xmm2, xmm4
jbe 0x1000a776
vaddss xmm4, xmm4, xmm0
vmovss dword [ebp - 0x30], xmm4
vcomiss xmm3, xmm5
jbe 0x1000a782
vsubss xmm3, xmm3, xmm0
jmp 0x1000a78c
vcomiss xmm2, xmm3
jbe 0x1000a791
vaddss xmm3, xmm3, xmm0
vmovss dword [ebp - 0x2c], xmm3
vcvtss2sd xmm0, xmm1, xmm1
vmovsd xmm1, qword [0x101c09a0]
vmulsd xmm0, xmm0, xmm1
vcvtsd2ss xmm2, xmm0, xmm0
vcvtss2sd xmm0, xmm4, xmm4
vmulsd xmm0, xmm0, xmm1
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [ebp - 0x4c], xmm0
vcvtss2sd xmm0, xmm3, xmm3
vmulsd xmm0, xmm0, xmm1
vcvtsd2ss xmm0, xmm0, xmm0
vmovss dword [ebp - 0x50], xmm0
vmovaps xmm0, xmm2
vmovss dword [ebp - 0x44], xmm2
call fcn.1000c9a0
vmovss dword [ebp - 0x58], xmm0
vmovss xmm0, dword [ebp - 0x4c]
call fcn.1000c9a0
vmovss dword [ebp - 0x48], xmm0
vmovss xmm0, dword [ebp - 0x50]
call fcn.1000c9a0
vmovss dword [ebp - 0x5c], xmm0
vmovss xmm0, dword [ebp - 0x44]
call fcn.1000c990
vmovss dword [ebp - 0x54], xmm0
vmovss xmm0, dword [ebp - 0x4c]
call fcn.1000c990
vmovss dword [ebp - 0x44], xmm0
vmovss xmm0, dword [ebp - 0x50]
call fcn.1000c990
vmovss xmm3, dword [ebp - 0x44]
vmovss xmm7, dword [ebp - 0x54]
vmovss xmm5, dword [ebp - 0x58]
vmovss xmm6, dword [ebp - 0x5c]
vmovss xmm2, dword [ebp - 0x48]
vmovaps xmm4, xmm0
vmulss xmm0, xmm3, xmm7
vmovss dword [ebp - 0x50], xmm0
vmulss xmm0, xmm7, dword [ebp - 0x48]
vmovss xmm7, dword [ebp - 0x48]
vmovss dword [ebp - 0x4c], xmm0
vxorps xmm0, xmm5, xmmword [0x101c0d50]
vmovss dword [ebp - 0x44], xmm0
vmulss xmm1, xmm6, xmm5
vmulss xmm0, xmm1, xmm3
vfmsub213ss xmm7, xmm4, xmm0
vmulss xmm0, xmm1, dword [ebp - 0x48]
vmovaps xmm1, xmm3
vfnmsub213ss xmm1, xmm4, xmm0
vmovss dword [ebp - 0x5c], xmm7
vmovss xmm7, dword [ebp - 0x54]
vmulss xmm0, xmm6, xmm7
vxorps xmm0, xmm0, xmmword [0x101c0d50]
vmovss dword [ebp - 0x54], xmm0
vmovss dword [ebp - 0x60], xmm1
vmulss xmm1, xmm4, xmm5
vmulss xmm0, xmm1, xmm3
vmovaps xmm5, xmm2
vfmadd213ss xmm5, xmm6, xmm0
vmulss xmm0, xmm3, xmm6
vfmsub213ss xmm2, xmm1, xmm0
vmulss xmm0, xmm4, xmm7
vmovss dword [ebp - 0x64], xmm0
vmovss xmm0, dword [ebp - 0x68]
vcomiss xmm0, dword [0x101c0990]
vmovss dword [ebp - 0x58], xmm5
vmovss dword [ebp - 0x48], xmm2
jbe 0x1000a93c
push ecx
lea eax, [ebp - 0x40]
push eax
push ecx
push dword [0x101e7fb0]
call fcn.1000de60
vmovss xmm4, dword [ebp - 0x40]
vmovss xmm2, dword [ebp - 0x3c]
vmovss xmm1, dword [ebp - 0x5c]
vfmadd213ss xmm1, xmm4, dword [ebp - 0x50]
vmulss xmm0, xmm2, dword [ebp - 0x58]
vmovss xmm5, dword [ebp - 0x54]
vfmadd213ss xmm5, xmm4, dword [ebp - 0x44]
vaddss xmm3, xmm1, xmm0
vmovss xmm1, dword [ebp - 0x60]
vmulss xmm0, xmm2, dword [ebp - 0x48]
vfmadd213ss xmm1, xmm4, dword [ebp - 0x4c]
vaddss xmm1, xmm1, xmm0
vmulss xmm0, xmm2, dword [ebp - 0x64]
vaddss xmm0, xmm5, xmm0
vmovss dword [ebp - 0x40], xmm3
vmovss dword [ebp - 0x3c], xmm1
jmp 0x1000a955
vmovss xmm0, dword [ebp - 0x50]
vmovss dword [ebp - 0x40], xmm0
vmovss xmm0, dword [ebp - 0x4c]
vmovss dword [ebp - 0x3c], xmm0
vmovss xmm0, dword [ebp - 0x44]
lea ecx, [ebp - 0x40]
vmovss dword [ebp - 0x38], xmm0
call fcn.10009f70
mov esi, 1
mov dword [ebp - 0x4c], esi
call dword [0x101c7598]
cmp eax, esi
jl 0x1000aa5a
mov edx, 0x10e
mov edi, 0x101e5830
mov dword [ebp - 0x48], edx
nop word [eax + eax]
cmp esi, dword [0x101e7ef8]
je 0x1000aa39
cmp byte [edi - 3], 0
je 0x1000aa39
cmp byte [edi], 0
je 0x1000aa39
cmp byte [edi + 1], 0
jne 0x1000aa39
cmp byte [0x101c7aa8], 0
jne 0x1000a9cd
mov eax, dword [edi - 0x14]
cmp eax, dword [0x101e7efc]
je 0x1000aa39
mov esi, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
add eax, esi
mov dword [ebp - 0x64], eax
cmp esi, eax
je 0x1000aa36
mov ecx, dword [ebp - 0x20]
dec ecx
mov dword [ebp - 0x60], ecx
mov edx, dword [ebp - 0x24]
mov eax, esi
shr eax, 2
and eax, ecx
mov ecx, esi
and ecx, 3
mov eax, dword [edx + eax*4]
mov eax, dword [eax + ecx*4]
add eax, dword [ebp - 0x48]
lea ecx, [eax + eax*2]
lea eax, [ebp - 0x40]
push eax
push 0x101e7f48
lea eax, [ecx*4 + 0x101c9c1c]
push eax
lea eax, [ecx*4 + 0x101c9b20]
push eax
call fcn.10010670
test al, al
jne 0x1000aa2b
mov ecx, dword [ebp - 0x60]
inc esi
cmp esi, dword [ebp - 0x64]
jne 0x1000a9e3
jmp 0x1000aa33
mov eax, dword [ebp - 0x6c]
or word [eax + 0x1e], 1
mov edx, dword [ebp - 0x48]
mov esi, dword [ebp - 0x4c]
add edx, 0x10e
inc esi
mov dword [ebp - 0x4c], esi
add edi, 0x54
mov dword [ebp - 0x48], edx
call dword [0x101c7598]
mov edx, dword [ebp - 0x48]
cmp esi, eax
jle 0x1000a990
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x1000aa79
mov eax, dword [ebp - 0x1c]
sub ecx, 1
mov edx, 0
cmove eax, edx
test ecx, ecx
jne 0x1000aa64
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], ecx
mov esi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
test esi, esi
je 0x1000aaa1
mov eax, dword [ecx + esi*4 - 4]
dec esi
test eax, eax
je 0x1000aa9a
push 0x10
push eax
call fcn.1003295f
mov ecx, dword [ebp - 0x24]
add esp, 8
test esi, esi
jne 0x1000aa83
mov esi, dword [ebp - 0x20]
test ecx, ecx
je 0x1000aad2
shl esi, 2
mov eax, ecx
cmp esi, 0x1000
jb 0x1000aac8
mov ecx, dword [ecx - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000aac8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
push ecx
call fcn.1003295f
add esp, 8
push 8
push dword [ebp - 0x28]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
call fcn.1003295f
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100325d8
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4