Function at 0x100a6790
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc0
mov eax, dword [0x100d99c0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x100c712c], 0
xorps xmm0, xmm0
push esi
push edi
movups xmmword [ebp - 0x80], xmm0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x20], 0xffffffff
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x68], 0xffffffff
mov dword [ebp - 0x60], 0xffffffff
mov byte [ebp - 0x24], 1
mov dword [ebp - 0x1c], 0
je 0x100a6c99
cmp byte [0x100ceef0], 0
je 0x100a6c99
cmp byte [0x100cef78], 0
je 0x100a6c99
cmp byte [0x100c7130], 0
jne 0x100a685d
mov eax, dword [0x100f77f0]
cmp eax, dword [0x100f77f4]
je 0x100a6c99
mov dword [0x100f77f4], eax
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100ae337
mov esp, ebp
pop ebp
ret
mov ecx, dword [0x100f77f4]
mov eax, 0x38e38e39
sub ecx, dword [0x100f77f0]
imul ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [ebp - 0xc0], ecx
je 0x100a6c99
lea edi, [ecx + ecx*8]
mov eax, ecx
shl edi, 2
nop
mov esi, dword [0x100f77f0]
sub edi, 0x24
mov dword [ebp - 0xb4], eax
dec eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], edi
add esi, edi
je 0x100a6c8b
mov ecx, dword [0x100f699c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
movzx ecx, byte [esi + 0x21]
cmp ecx, eax
setne dl
je 0x100a68d7
mov eax, dword [0x100f69fc]
movss xmm1, dword [eax]
jmp 0x100a68fd
mov ecx, dword [0x100f6c2c]
mov eax, dword [0x100c712c]
add ecx, 0xffffffc2
xor ecx, 0x920a48f0
movd xmm1, dword [ecx + eax]
mov eax, dword [0x100f69fc]
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
mov ecx, dword [esi + 0x1c]
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
subss xmm1, xmm0
andps xmm1, xmmword [0x100bba00]
comiss xmm1, dword [0x100cf23c]
jbe 0x100a69ab
add edi, dword [0x100f77f0]
mov eax, dword [0x100f77f4]
mov dword [ebp - 0xb4], eax
lea esi, [edi + 0x24]
cmp esi, eax
je 0x100a6998
lea ecx, [edi + 0xc]
lea edx, [edi + 0x30]
mov eax, dword [esi]
lea edi, [edi + 0x24]
mov dword [edi - 0x24], eax
lea ecx, [ecx + 0x24]
mov eax, dword [edx - 8]
lea edx, [edx + 0x24]
mov dword [ecx - 0x2c], eax
add esi, 0x24
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
mov eax, dword [edx - 0x1c]
mov dword [ecx - 0x1c], eax
mov eax, dword [edx - 0x18]
mov dword [ecx - 0x18], eax
mov eax, dword [edx - 0x14]
mov dword [ecx - 0x14], eax
movzx eax, byte [edx - 0x10]
mov byte [ecx - 0x10], al
movzx eax, byte [edx - 0xf]
mov byte [ecx - 0xf], al
cmp esi, dword [ebp - 0xb4]
jne 0x100a6942
mov eax, dword [0x100f77f4]
mov edi, dword [ebp - 0xb8]
sub eax, 0x24
mov dword [0x100f77f4], eax
jmp 0x100a6c8b
cmp byte [esi + 0x20], 0
jne 0x100a6c8b
test dl, dl
jne 0x100a69e5
mov edx, dword [ebp - 0xc0]
lea eax, [edx - 1]
cmp dword [ebp - 0xbc], eax
je 0x100a69e5
cmp dword [ebp - 0xb4], edx
jae 0x100a6c8b
mov eax, dword [0x100f77f0]
cmp ecx, dword [edi + eax + 0x40]
je 0x100a6c8b
movss xmm3, dword [esi + 4]
xorps xmm2, xmm2
movss xmm4, dword [esi + 8]
mov eax, 0x10
movss xmm6, dword [esi + 0x10]
movss xmm7, dword [esi + 0x14]
subss xmm3, xmm6
movss xmm0, dword [esi + 0x18]
subss xmm4, xmm7
movss xmm5, dword [esi + 0xc]
subss xmm5, xmm0
movss dword [ebp - 0xb8], xmm0
movss dword [ebp - 0x80], xmm6
movaps xmm0, xmm3
movss dword [ebp - 0x7c], xmm7
mulss xmm0, xmm3
movaps xmm1, xmm4
mov dword [ebp - 0xa0], 0x9ddec9df
mulss xmm1, xmm4
mov dword [ebp - 0x9c], 0xd8c1da82
mov byte [ebp - 0x98], 0xac
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm5
addss xmm1, xmm0
movaps xmm0, xmm3
mulss xmm0, xmm3
sqrtss xmm2, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm2, dword [0x100bb54c]
addss xmm1, xmm0
movaps xmm0, xmm5
mulss xmm0, xmm5
divss xmm3, xmm2
addss xmm1, xmm0
xorps xmm0, xmm0
divss xmm4, xmm2
sqrtss xmm0, xmm1
divss xmm5, xmm2
movss xmm1, dword [ebp - 0xb8]
mulss xmm3, xmm0
mulss xmm4, xmm0
mulss xmm5, xmm0
addss xmm3, xmm6
movaps xmm0, xmmword [0x100bb620]
addss xmm4, xmm7
pxor xmm0, xmmword [0x100bdcb0]
addss xmm5, xmm1
movss dword [ebp - 0x78], xmm1
movss dword [ebp - 0x74], xmm3
movups xmmword [ebp - 0xb0], xmm0
movss dword [ebp - 0x70], xmm4
movss dword [ebp - 0x6c], xmm5
nop word [eax + eax]
xor byte [ebp + eax - 0xb0], 0xac
inc eax
cmp eax, 0x19
jb 0x100a6af0
mov ecx, dword [0x100f69d4]
lea edx, [ebp - 0xb0]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movaps xmm0, xmmword [0x100bdcb0]
pxor xmm0, xmmword [0x100bb620]
mov dword [ebp - 0x68], eax
mov eax, 0x10
mov dword [ebp - 0xa0], 0x9ddec9df
mov dword [ebp - 0x9c], 0xd8c1da82
mov byte [ebp - 0x98], 0xac
movups xmmword [ebp - 0xb0], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0xb0], 0xac
inc eax
cmp eax, 0x19
jb 0x100a6b50
movss xmm0, dword [0x100cf23c]
lea eax, [ebp - 0xb0]
movss dword [ebp - 0x54], xmm0
movaps xmm0, xmmword [0x100bdc40]
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x58], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0x437f0000
mov dword [ebp - 0x3c], 0x3f000000
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 2
mov byte [ebp - 0x24], 1
mov dword [ebp - 0x1c], 0
cmp byte [esi + 0x21], 0
jne 0x100a6be1
mov eax, dword [0x100cf134]
movzx ecx, al
shr eax, 8
movzx eax, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x30], xmm0
movd xmm0, eax
movzx eax, byte [0x100cf136]
jmp 0x100a6c06
mov eax, dword [0x100cf1c4]
movzx ecx, al
shr eax, 8
movzx eax, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x30], xmm0
movd xmm0, eax
movzx eax, byte [0x100cf1c6]
mov ecx, dword [0x100f699c]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
cmp dword [esi], eax
je 0x100a6c64
mov eax, dword [0x100cf01c]
movzx ecx, al
shr eax, 8
movzx eax, al
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x30], xmm0
movd xmm0, eax
movzx eax, byte [0x100cf01e]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x2c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x28], xmm0
lea eax, [ebp - 0x94]
push eax
call fcn.1004e5a0
mov edx, eax
add esp, 4
test edx, edx
je 0x100a6c8b
mov ecx, dword [0x100f6a2c]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov byte [esi + 0x20], 1
mov eax, dword [ebp - 0xbc]
test eax, eax
jne 0x100a6890
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.100ae337
mov esp, ebp
pop ebp
ret