Function at 0x10131440
Capabilities:
Encode data using xor

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
mov eax, dword fs:[0]
push 0x1016452d
push eax
mov dword fs:[0], esp
mov eax, 0x1970
push ebx
call fcn.1015d5e0
push esi
mov esi, dword [0x1028b2b8]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], esi
push edi
test esi, esi
je 0x1013172c
cmp dword [ebx + 8], 0
je 0x1013172c
mov ecx, esi
call fcn.100a57e0
cmp byte [eax], 0
jne 0x1013172c
mov ecx, esi
call fcn.100a5a20
mov eax, dword [eax]
shr eax, 0xd
test al, 1
jne 0x1013172c
mov edi, dword [esi + 0x1d88]
mov dword [ebp - 0x18], edi
test edi, edi
je 0x1013172c
vmovss xmm0, dword [0x1028b65c]
vmovss xmm1, dword [0x10279508]
vmovss xmm2, dword [0x1027969c]
vcomiss xmm0, xmm1
mov eax, 0x1028b65c
lea ecx, [ebp - 0x1c]
cmovbe ecx, eax
lea eax, [ebp - 0x14]
vmovss dword [ebp - 0x1c], xmm1
vmovss dword [ebp - 0x14], xmm2
vmovss xmm0, dword [ecx]
vcomiss xmm0, xmm2
cmova eax, ecx
mov ecx, esi
vmovss xmm0, dword [eax]
mov eax, dword [0x10339d94]
vmovss dword [0x1028b65c], xmm0
vmovss xmm0, dword [eax + 0x10]
vmovss dword [ebp - 0x14], xmm0
call fcn.10131320
mov ecx, esi
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
call fcn.101313b0
mov ecx, dword [0x1028d83c]
vmovss xmm0, dword [eax]
mov eax, dword fs:[0x2c]
vmovss dword [ebp - 0x2c], xmm0
mov ecx, dword [eax + ecx*4]
mov eax, dword [0x1033a214]
mov dword [ebp - 0x30], ecx
cmp eax, dword [ecx + 4]
jle 0x101315a5
push 0x1033a214
call fcn.1015b77a
add esp, 4
cmp dword [0x1033a214], 0xffffffff
jne 0x101315a5
push str.m_flPoseParameter
push str.DT_BaseAnimating
mov dword [ebp - 4], 0
call fcn.100c3580
push 0x1033a214
mov dword [0x1033a220], eax
mov dword [ebp - 4], 0xffffffff
call fcn.1015b729
add esp, 4
mov eax, dword [0x1033a220]
lea edi, [ebp - 0x180]
mov edx, dword [ebp - 0x18]
mov ecx, 0x3c
sub esp, 8
vmovdqu ymm0, ymmword [esi + eax]
vmovdqu ymmword [ebp - 0x50], ymm0
vmovdqu ymm0, ymmword [esi + eax + 0x20]
vmovdqu ymmword [ebp - 0x70], ymm0
vmovdqu ymm0, ymmword [esi + eax + 0x40]
mov eax, dword [0x10339d94]
mov esi, edx
vmovdqu ymmword [ebp - 0x90], ymm0
vxorps xmm0, xmm0, xmm0
rep movsd dword es:[edi], dword [esi]
vmovss dword [eax + 0x10], xmm0
vmovss xmm0, dword [0x1028b660]
vmovss dword [edx + 0x80], xmm0
vmovss xmm0, dword [0x1028b660]
vmovss dword [edx + 0x7c], xmm0
vmovss xmm0, dword [0x1028b65c]
mov eax, dword [edx]
mov ecx, edx
vmovss dword [esp + 4], xmm0
vmovss xmm0, dword [0x1028b660]
vmovss dword [esp], xmm0
vzeroupper
call dword [eax + 0x10]
mov eax, dword [0x10339d94]
lea edx, [ebp - 0x1980]
mov esi, dword [ebp - 0x20]
lea ecx, [esi + 4]
push ecx
vmovss xmm0, dword [eax + 0xc]
mov eax, dword [ecx]
vmovss dword [esp], xmm0
push 0x7ff00
push 0x80
mov eax, dword [eax + 0x40]
push edx
call eax
test al, al
je 0x1013167b
push 0x1800
lea eax, [ebp - 0x1980]
push eax
push dword [ebp - 0x24]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [0x10339d94]
mov ecx, esi
vmovss xmm0, dword [ebp - 0x14]
vmovss dword [eax + 0x10], xmm0
call fcn.10131320
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
mov ecx, esi
call fcn.101313b0
mov ecx, dword [ebp - 0x30]
vmovss xmm0, dword [ebp - 0x2c]
vmovss dword [eax], xmm0
mov eax, dword [0x1033a210]
cmp eax, dword [ecx + 4]
jle 0x101316f4
push 0x1033a210
call fcn.1015b77a
add esp, 4
cmp dword [0x1033a210], 0xffffffff
jne 0x101316f4
push str.m_flPoseParameter
push str.DT_BaseAnimating
mov dword [ebp - 4], 1
call fcn.100c3580
push 0x1033a210
mov dword [0x1033a21c], eax
call fcn.1015b729
add esp, 4
mov eax, dword [0x1033a21c]
mov ecx, 0x3c
vmovdqu ymm0, ymmword [ebp - 0x50]
mov edi, dword [ebp - 0x18]
vmovdqu ymmword [esi + eax], ymm0
vmovdqu ymm0, ymmword [ebp - 0x70]
vmovdqu ymmword [esi + eax + 0x20], ymm0
vmovdqu ymm0, ymmword [ebp - 0x90]
vmovdqu ymmword [esi + eax + 0x40], ymm0
lea esi, [ebp - 0x180]
rep movsd dword es:[edi], dword [esi]
vzeroupper
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4