Function at 0x100fa680
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [0x1011d948]
sub esp, 0x54
push ebx
push esi
push edi
test ecx, ecx
je 0x100fabcf
cmp byte [0x101274c0], 0
je 0x100fabcf
cmp byte [0x1011d959], 0
jne 0x100fa6ca
mov eax, dword [0x101d6b6c]
cmp eax, dword [0x101d6b70]
je 0x100fabcf
mov dword [0x101d6b70], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov esi, dword [0x101d6b70]
sub esi, dword [0x101d6b6c]
sar esi, 5
mov dword [ebp - 0xc], esi
test esi, esi
je 0x100fabcf
mov eax, dword [0x101c4f94]
mov edx, esi
add eax, 0xffffffbd
xor eax, 0x930316d
shl edx, 5
movd xmm2, dword [eax + ecx]
mov ecx, esi
mov eax, dword [0x101c3a0c]
cvtdq2ps xmm2, xmm2
mulss xmm2, dword [eax + 0x20]
movss dword [ebp - 0x1c], xmm2
nop
mov ebx, dword [0x101d6b6c]
sub edx, 0x20
mov edi, ecx
mov dword [ebp - 4], edx
dec ecx
add ebx, edx
mov dword [ebp - 8], ecx
mov dword [ebp - 0x38], ebx
je 0x100fabc7
mov edx, dword [ebx + 0x18]
movaps xmm0, xmm2
mov eax, dword [0x101c3a0c]
movd xmm1, edx
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [eax + 0x20]
subss xmm0, xmm1
call fcn.10027a70
comiss xmm0, dword [0x1012766c]
jbe 0x100fa7c6
mov edi, dword [0x101d6b70]
lea esi, [ebx + 0x20]
cmp esi, edi
je 0x100fa7ba
lea ecx, [ebx + 0x14]
lea edx, [esi + 0x14]
nop dword [eax]
mov eax, dword [esi]
lea ebx, [ebx + 0x20]
mov dword [ebx - 0x20], eax
lea ecx, [ecx + 0x20]
mov eax, dword [edx - 0x10]
lea edx, [edx + 0x20]
mov dword [ecx - 0x30], eax
add esi, 0x20
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
mov eax, dword [edx - 0x1c]
mov dword [ecx - 0x1c], eax
movzx eax, byte [edx - 0x18]
mov byte [ecx - 0x18], al
movzx eax, byte [edx - 0x17]
mov byte [ecx - 0x17], al
cmp esi, edi
jne 0x100fa770
mov ecx, dword [ebp - 8]
sub dword [0x101d6b70], 0x20
jmp 0x100fabc1
cmp byte [ebx + 0x1c], 0
jne 0x100fabc4
lea eax, [esi - 1]
cmp ecx, eax
jne 0x100fa7db
mov al, 1
jmp 0x100fa7ea
cmp edi, esi
jae 0x100fa7e8
cmp edx, dword [ebx + 0x38]
je 0x100fa7e8
mov al, 1
jmp 0x100fa7ea
xor al, al
test byte [0x101f6420], 1
jne 0x100fa818
or dword [0x101f6420], 1
mov dword [0x101f6424], 0
mov dword [0x101f6428], 0
mov dword [0x101f642c], 0xc0000000
test al, al
je 0x100fabc4
movss xmm2, dword [ebx]
movss xmm3, dword [ebx + 4]
movss xmm5, dword [ebx + 0xc]
movss xmm6, dword [ebx + 0x10]
subss xmm2, xmm5
movss xmm4, dword [ebx + 8]
subss xmm3, xmm6
movss xmm7, dword [ebx + 0x14]
subss xmm4, xmm7
movaps xmm1, xmm2
movaps xmm0, xmm3
mulss xmm1, xmm2
mulss xmm0, xmm3
movss dword [ebp - 0x20], xmm3
addss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, xmm1
call fcn.10027aa0
addss xmm0, dword [0x1010f828]
movss xmm1, dword [0x1010f918]
divss xmm1, xmm0
movaps xmm0, xmm3
movss dword [ebp - 0x14], xmm1
movaps xmm1, xmm2
mulss xmm0, xmm3
mulss xmm1, xmm2
addss xmm0, xmm1
movaps xmm1, xmm4
mulss xmm1, xmm4
addss xmm0, xmm1
call fcn.10027aa0
movaps xmm1, xmm5
mov dword [ebp - 0x44], 0x5f1c0b1d
addss xmm1, dword [0x101f6424]
mov dword [ebp - 0x40], 0x1a031840
mov eax, 0x10
mov byte [ebp - 0x3c], 0x6e
movss dword [ebp - 0x28], xmm1
movaps xmm1, xmm6
addss xmm1, dword [0x101f6428]
movss dword [ebp - 0x2c], xmm1
movaps xmm1, xmm7
addss xmm1, dword [0x101f642c]
movss dword [ebp - 0x30], xmm1
movss xmm1, dword [ebp - 0x14]
movaps xmm3, xmm1
mulss xmm3, xmm2
movaps xmm2, xmm3
movss dword [ebp - 0x10], xmm3
mulss xmm2, xmm0
addss xmm2, xmm5
movss dword [ebp - 0x10], xmm2
movaps xmm2, xmm1
mulss xmm2, dword [ebp - 0x20]
mulss xmm1, xmm4
mulss xmm2, xmm0
mulss xmm1, xmm0
movaps xmm0, xmmword [0x10110ae0]
addss xmm2, xmm6
xorps xmm0, xmmword [0x10110010]
addss xmm1, xmm7
movups xmmword [ebp - 0x54], xmm0
movss dword [ebp - 0x34], xmm2
movss dword [ebp - 0x14], xmm1
nop dword [eax + eax]
xor byte [ebp + eax - 0x54], 0x6e
inc eax
cmp eax, 0x19
jb 0x100fa950
mov ecx, dword [0x101c39e8]
lea edx, [ebp - 0x54]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 8]
call eax
movaps xmm0, xmmword [0x10110ae0]
xorps xmm0, xmmword [0x10110010]
mov dword [ebp - 0x20], eax
mov eax, 0x10
mov dword [ebp - 0x44], 0x5f1c0b1d
mov dword [ebp - 0x40], 0x1a031840
mov byte [ebp - 0x3c], 0x6e
movups xmmword [ebp - 0x54], xmm0
nop dword [eax + eax]
xor byte [ebp + eax - 0x54], 0x6e
inc eax
cmp eax, 0x19
jb 0x100fa9a0
movss xmm0, dword [0x1012766c]
mulss xmm0, dword [0x1010f8d8]
mov eax, dword [0x10127564]
mov ecx, dword [0x101c3a40]
movzx ebx, byte [0x10127566]
movzx esi, al
shr eax, 8
push 1
movss dword [ebp - 0x24], xmm0
movzx edi, al
call dword [0x101c3b24]
mov dword [ebp - 0x18], eax
test eax, eax
je 0x100fabb9
mov ecx, dword [0x101c3a0c]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ecx + 0x10]
mov dword [eax + 0xc8], ecx
test edx, edx
js 0x100fabb9
mov ecx, dword [0x101c39e8]
push edx
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edx, eax
test edx, edx
je 0x100fab60
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
push edx
mov dword [eax + 0x30], 0
mov dword [eax + 0x150], ecx
mov dword [eax + 0x154], 0xffffffff
mov dword [eax + 0x158], 0
mov dword [eax + 0xf8], 0
mov dword [eax + 0xf4], 0
mov ecx, dword [0x101c39e8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x20]
call eax
mov edx, dword [ebp - 0x18]
movss xmm2, dword [ebp - 0x34]
movss xmm1, dword [ebp - 0x14]
movss xmm3, dword [ebp - 0x28]
mov dword [edx + 0x15c], eax
mov eax, dword [0x101c3a0c]
movss xmm4, dword [ebp - 0x2c]
movss xmm5, dword [ebp - 0x30]
movss xmm0, dword [eax + 0x10]
mulss xmm0, dword [0x1010f898]
movss dword [edx + 0xc4], xmm0
mov eax, dword [0x101c3a0c]
movss xmm0, dword [eax + 0x10]
addss xmm0, dword [0x1010f9a4]
mov dword [edx + 0xd8], 0x3f800000
mov dword [edx + 0x34], 0
movss dword [edx + 0x4c], xmm2
subss xmm2, xmm4
movss dword [edx + 0x50], xmm1
subss xmm1, xmm5
movss dword [edx + 0xc8], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [edx + 0xcc], xmm0
movss dword [edx + 0xd0], xmm0
movss xmm0, dword [ebp - 0x10]
movss dword [edx + 0x48], xmm0
subss xmm0, xmm3
movss dword [edx + 0x3c], xmm3
movss dword [edx + 0x40], xmm4
movss dword [edx + 0x44], xmm5
movss dword [edx + 0xb8], xmm2
movss dword [edx + 0xb4], xmm0
movss dword [edx + 0xbc], xmm1
mov dword [edx + 0xd4], 0
mov dword [edx + 0xec], 0x43660000
mov dword [edx + 0xf0], 0x3e4ccccd
mov dword [edx + 0xdc], 0x40800000
mov dword [edx + 0xfc], 2
jmp 0x100fab63
mov edx, dword [ebp - 0x18]
movd xmm0, esi
cvtdq2ps xmm0, xmm0
mov dword [edx + 0xf8], 0
mov dword [edx + 0xf4], 0
push edx
movss dword [edx + 0xe0], xmm0
movd xmm0, edi
cvtdq2ps xmm0, xmm0
movss dword [edx + 0xe4], xmm0
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
movss dword [edx + 0xe8], xmm0
mov ecx, dword [0x101c3a40]
mov eax, dword [ecx]
mov eax, dword [eax + 0x10]
call eax
mov eax, dword [ebp - 0x38]
mov byte [eax + 0x1c], 1
mov ecx, dword [ebp - 8]
movss xmm2, dword [ebp - 0x1c]
mov esi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
test ecx, ecx
jne 0x100fa710
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret