Function at 0x100e7640
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc4
mov eax, dword [0x101090b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1013fc70]
mov eax, 0x38e38e39
sub ecx, dword [0x1013fc6c]
xorps xmm0, xmm0
imul ecx
movups xmmword [ebp - 0x84], xmm0
push ebx
sar edx, 3
mov ebx, edx
mov dword [ebp - 0x74], 0
shr ebx, 0x1f
push esi
add ebx, edx
mov dword [ebp - 0x70], 0
push edi
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x6c], 0xffffffff
mov dword [ebp - 0x64], 0xffffffff
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x20], 0
mov dword [ebp - 0xc4], ebx
je 0x100e7a65
mov ecx, dword [0x10128e84]
test ecx, ecx
je 0x100e7a65
mov eax, dword [0x101a6c78]
lea edx, [ebx + ebx*8]
add eax, 0xffffffc1
xor eax, 0x2a974bd8
shl edx, 2
movd xmm2, dword [eax + ecx]
mov ecx, ebx
mov eax, dword [0x101a6a74]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [eax + 0x20]
movss dword [ebp - 0xbc], xmm2
mov esi, dword [0x1013fc6c]
sub edx, 0x24
mov edi, ecx
mov dword [ebp - 0x9c], edx
dec ecx
mov dword [ebp - 0xc0], ecx
add esi, edx
je 0x100e7a5d
mov edx, dword [esi + 0x18]
movaps xmm0, xmm2
mov eax, dword [0x101a6a74]
movd xmm1, edx
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
subss xmm0, xmm1
comiss xmm0, dword [0x10135cb8]
jbe 0x100e77dd
mov ebx, dword [0x1013fc70]
lea edi, [esi + 0x24]
cmp edi, ebx
je 0x100e77cb
lea ecx, [esi + 0x14]
lea edx, [esi + 0x38]
mov eax, dword [edi]
lea esi, [esi + 0x24]
mov dword [esi - 0x24], eax
lea ecx, [ecx + 0x24]
mov eax, dword [edx - 0x10]
lea edx, [edx + 0x24]
mov dword [ecx - 0x34], eax
add edi, 0x24
mov eax, dword [edx - 0x30]
mov dword [ecx - 0x30], eax
mov eax, dword [edx - 0x2c]
mov dword [ecx - 0x2c], eax
mov eax, dword [edx - 0x28]
mov dword [ecx - 0x28], eax
mov eax, dword [edx - 0x24]
mov dword [ecx - 0x24], eax
mov eax, dword [edx - 0x20]
mov dword [ecx - 0x20], eax
movzx eax, byte [edx - 0x1c]
mov byte [ecx - 0x1c], al
movzx eax, byte [edx - 0x1b]
mov byte [ecx - 0x1b], al
mov eax, dword [edx - 0x18]
mov dword [ecx - 0x18], eax
cmp edi, ebx
jne 0x100e7778
mov ecx, dword [ebp - 0xc0]
sub dword [0x1013fc70], 0x24
mov ebx, dword [ebp - 0xc4]
jmp 0x100e7a57
lea eax, [ebx - 1]
cmp ecx, eax
je 0x100e77f5
cmp edi, ebx
jae 0x100e7a57
cmp edx, dword [esi + 0x3c]
je 0x100e7a57
movss xmm5, dword [esi]
movss xmm4, dword [esi + 4]
movss xmm6, dword [esi + 0xc]
movss xmm7, dword [esi + 0x10]
subss xmm5, xmm6
movss xmm3, dword [esi + 8]
subss xmm4, xmm7
subss xmm3, dword [esi + 0x14]
movaps xmm1, xmm5
movaps xmm0, xmm4
mulss xmm1, xmm5
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm0, xmm1
call fcn.1001cc90
movaps xmm2, xmm0
movaps xmm1, xmm5
addss xmm2, dword [0x100fd674]
movaps xmm0, xmm4
mulss xmm1, xmm5
mulss xmm0, xmm4
addss xmm0, xmm1
movaps xmm1, xmm3
mulss xmm1, xmm3
addss xmm0, xmm1
call fcn.1001cc90
divss xmm5, xmm2
mov dword [ebp - 0xa8], 0x1a594e58
mov eax, 0x10
mov dword [ebp - 0xa4], 0x5f465d05
mov byte [ebp - 0xa0], 0x2b
divss xmm4, xmm2
divss xmm3, xmm2
movss xmm1, dword [esi + 0x14]
mulss xmm5, xmm0
mulss xmm4, xmm0
mulss xmm3, xmm0
addss xmm5, xmm6
movaps xmm0, xmmword [0x100fe500]
addss xmm4, xmm7
pxor xmm0, xmmword [0x100fe0d0]
addss xmm3, xmm1
movss dword [ebp - 0x84], xmm6
movss dword [ebp - 0x80], xmm7
movss dword [ebp - 0x7c], xmm1
movss dword [ebp - 0x78], xmm5
movss dword [ebp - 0x74], xmm4
movss dword [ebp - 0x70], xmm3
movups xmmword [ebp - 0xb8], xmm0
nop dword [eax]
xor byte [ebp + eax - 0xb8], 0x2b
inc eax
cmp eax, 0x19
jb 0x100e78f0
mov ecx, dword [0x101a6a4c]
lea edx, [ebp - 0xb8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movaps xmm0, xmmword [0x100fe500]
pxor xmm0, xmmword [0x100fe0d0]
mov dword [ebp - 0x6c], eax
mov eax, 0x10
mov dword [ebp - 0xa8], 0x1a594e58
mov dword [ebp - 0xa4], 0x5f465d05
mov byte [ebp - 0xa0], 0x2b
movups xmmword [ebp - 0xb8], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0xb8], 0x2b
inc eax
cmp eax, 0x19
jb 0x100e7950
lea eax, [ebp - 0xb8]
movss xmm1, dword [ebp - 0xbc]
mov dword [ebp - 0x68], eax
mov eax, dword [0x101a6a74]
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x40], 0x3e4ccccd
mov dword [ebp - 0x3c], 0
movss xmm0, dword [eax + 0x14]
addss xmm0, dword [0x100fd6d0]
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x24], 2
mov byte [ebp - 0x28], 1
mov dword [ebp - 0x20], 0
movss dword [ebp - 0x58], xmm0
movaps xmm0, xmmword [0x100fd9e0]
movups xmmword [ebp - 0x54], xmm0
movd xmm0, dword [esi + 0x18]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
mov eax, dword [0x10135c40]
movzx ecx, al
shr eax, 8
subss xmm1, xmm0
movzx eax, al
movss xmm0, dword [0x10135cb8]
subss xmm0, xmm1
minss xmm0, dword [0x100fd778]
mulss xmm0, dword [0x100fd93c]
movss dword [ebp - 0x44], xmm0
movd xmm0, ecx
lea ecx, [ebp - 0x98]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x34], xmm0
movd xmm0, eax
movzx eax, byte [0x10135c42]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x30], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x2c], xmm0
call fcn.100b8640
mov edx, eax
test edx, edx
je 0x100e7a49
mov ecx, dword [0x101a6aa4]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov ecx, dword [ebp - 0xc0]
movss xmm2, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x9c]
test ecx, ecx
jne 0x100e7721
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100ea0f5
mov esp, ebp
pop ebp
ret