Function at 0x1012a550
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e0be9
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push esi
push edi
mov eax, dword [0x1021b380]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [0x107001f0]
add eax, 0xd5bd03c9
xor eax, 0xde9a561b
mov ecx, dword [eax + 0x14c]
mov dword [ebp - 0x24], ecx
test ecx, ecx
je 0x1012ae07
mov eax, dword [0x102b5764]
test al, 1
jne 0x1012a6de
or eax, 1
mov dword [0x102b5764], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x102b3e88]
cmp ebx, dword [0x102b3e8c]
je 0x1012a609
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1012a5fe
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1012a5d8
xor edx, edx
test ecx, ecx
je 0x1012a5fe
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1012a5e5
cmp esi, 0x4e9f1122
je 0x1012a61f
add ebx, 4
cmp ebx, dword [0x102b3e8c]
jne 0x1012a5c5
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov dword [0x102b5768], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1012a6e3
mov eax, dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x1c], esi
cmp dword [eax + 4], esi
jle 0x1012a6b4
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1012a669
cmp dword [ecx + 4], 0
jle 0x1012a669
push 0
mov edx, 0x1c93bcf0
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1012a666
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x14], esi
mov eax, dword [ebp - 0x10]
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1012a672
xor edx, edx
test ecx, ecx
je 0x1012a69c
nop
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1012a680
cmp esi, 0x1c93bcf0
je 0x1012a6c7
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc edx
mov esi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x1012a638
mov ecx, dword [ebp - 0x24]
mov eax, esi
mov dword [0x102b5768], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1012a6e3
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x24]
mov dword [0x102b5768], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1012a6e3
mov eax, dword [0x102b5768]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x28], eax
mov eax, dword [0x102b707c]
test al, 1
jne 0x1012a82e
or eax, 1
mov dword [0x102b707c], eax
mov dword [ebp - 4], 1
mov ebx, dword [0x102b3e88]
cmp ebx, dword [0x102b3e8c]
je 0x1012a757
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1012a74c
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1012a726
xor edx, edx
test ecx, ecx
je 0x1012a74c
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1012a733
cmp esi, 0x72e242a1
je 0x1012a76d
add ebx, 4
cmp ebx, dword [0x102b3e8c]
jne 0x1012a713
mov ecx, dword [ebp - 0x24]
xor eax, eax
mov dword [0x102b703c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1012a833
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x20], esi
cmp dword [eax + 4], esi
jle 0x1012a804
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1012a7b7
cmp dword [ecx + 4], 0
jle 0x1012a7b7
push 0
mov edx, 0x84cdad2
call fcn.1012aec0
add esp, 4
test eax, eax
je 0x1012a7b4
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x14]
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1012a7c0
xor edx, edx
test ecx, ecx
je 0x1012a7ec
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1012a7d0
cmp esi, 0x84cdad2
je 0x1012a817
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x1c]
inc edx
mov esi, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x1012a786
mov ecx, dword [ebp - 0x24]
mov eax, esi
mov dword [0x102b703c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1012a833
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x24]
mov dword [0x102b703c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1012a833
mov eax, dword [0x102b703c]
cmp dword [ebp - 0x28], 2
je 0x1012ae07
cmp dword [ecx + eax], 0
jle 0x1012ae07
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x21], 0
je 0x1012ae07
movss xmm2, dword [eax + 0x28]
lea ebx, [eax + 0x24]
movss xmm0, dword [ebx]
movss xmm1, dword [ebx + 8]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.1000d600
comiss xmm0, dword [0x102076b4]
jbe 0x1012ae07
lea edi, [eax + 0x30]
mov eax, dword [edi]
cmp eax, dword [edi + 4]
je 0x1012a898
mov dword [edi + 4], eax
mov eax, dword [edi + 8]
mov esi, edi
sub eax, dword [edi]
sar eax, 3
mov dword [ebp - 0x28], 0x64
cmp eax, 0x64
jae 0x1012a8bf
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.1012ae20
mov esi, dword [ebp - 0x18]
add esi, 0x30
mov ecx, dword [0x102cc030]
lea eax, [ebp - 0x44]
push 1
add ecx, 0x781833fb
mov dword [ebp - 0x44], 0
push eax
xor ecx, 0x567bbcf7
mov dword [ebp - 0x40], 0
push ebx
call fcn.1015a0f0
test al, al
je 0x1012a926
movss xmm0, dword [ebp - 0x44]
movss xmm1, dword [ebp - 0x40]
mov eax, dword [edi + 4]
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x38], xmm1
cmp eax, dword [edi + 8]
je 0x1012a91a
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
add dword [edi + 4], 8
jmp 0x1012a926
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov ecx, edi
call fcn.10074ed0
mov edi, dword [ebp - 0x18]
xorps xmm1, xmm1
movss dword [ebp - 0x14], xmm1
movaps xmm0, xmm1
call fcn.1002d510
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x14]
call fcn.1002d530
movss xmm2, dword [ebp - 0x28]
lea eax, [ebp - 0x44]
mulss xmm2, dword [0x102079b8]
movaps xmm1, xmm0
mov ecx, dword [0x102cc030]
mulss xmm1, dword [0x102079b8]
add ecx, 0x781833fb
xor ecx, 0x567bbcf7
mov dword [ebp - 0x44], 0
movss xmm0, dword [edi + 0x2c]
addss xmm2, dword [edi + 0x28]
addss xmm1, dword [edi + 0x24]
push 1
push eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x40], 0
push eax
movss dword [ebp - 0x68], xmm1
movss dword [ebp - 0x64], xmm2
movss dword [ebp - 0x60], xmm0
call fcn.1015a0f0
test al, al
je 0x1012a9e8
movss xmm0, dword [ebp - 0x44]
movss xmm1, dword [ebp - 0x40]
mov eax, dword [esi + 4]
movss dword [ebp - 0x3c], xmm0
movss dword [ebp - 0x38], xmm1
cmp eax, dword [esi + 8]
je 0x1012a9dc
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
add dword [esi + 4], 8
jmp 0x1012a9e8
lea ecx, [ebp - 0x3c]
push ecx
push eax
mov ecx, esi
call fcn.10074ed0
movss xmm1, dword [ebp - 0x14]
addss xmm1, dword [0x10207768]
movsd xmm2, qword [0x102078d0]
cvtps2pd xmm0, xmm1
movss dword [ebp - 0x14], xmm1
comisd xmm2, xmm0
jae 0x1012a931
mov eax, dword [edi + 0x30]
cmp eax, dword [edi + 0x34]
je 0x1012ae07
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [0x102cc030]
add eax, 0x781833fb
xor eax, 0x567bbcf7
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x24]
add ecx, 0x24
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x60], eax
or eax, 2
mov dword [ebp - 4], 2
movss xmm3, dword [0x10207ae0]
mov dword [ecx], eax
movss xmm0, dword [0x1029d2fc]
mulss xmm0, xmm3
cvttss2si eax, xmm0
movss xmm0, dword [0x1029d2f8]
mov dword [ebp - 0x28], eax
mulss xmm0, xmm3
cvttss2si eax, xmm0
movss xmm0, dword [0x1029d2f4]
mov dword [ebp - 0x24], eax
mulss xmm0, xmm3
cvttss2si eax, xmm0
movss xmm0, dword [0x1029d2f0]
mov dword [ebp - 0x20], eax
mulss xmm0, xmm3
cvttss2si eax, xmm0
movss xmm0, dword [0x1029d2ec]
mulss xmm0, xmm3
mov dword [ebp - 0x1c], eax
cvttss2si ebx, xmm0
movss xmm0, dword [0x1029d2e8]
mulss xmm0, xmm3
movzx esi, bl
shl esi, 8
cvttss2si eax, xmm0
movss xmm0, dword [0x1029d2e4]
mulss xmm0, xmm3
movzx eax, al
or esi, eax
shl esi, 8
cvttss2si edx, xmm0
movss xmm0, dword [0x1029d2e0]
mulss xmm0, xmm3
movzx eax, dl
or esi, eax
shl esi, 8
cvttss2si ecx, xmm0
movzx eax, cl
or esi, eax
mov eax, dword [ebp - 0x28]
movzx ebx, al
mov eax, dword [ebp - 0x24]
movzx eax, al
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 0x20]
movzx eax, al
shl ebx, 8
or ebx, eax
mov eax, dword [ebp - 0x1c]
movzx eax, al
shl ebx, 8
or ebx, eax
cmp byte [edi + 0x22], 0
mov eax, dword [edi + 0x34]
cmovne ebx, esi
mov esi, dword [edi + 0x30]
sub eax, esi
sar eax, 3
sub eax, 1
je 0x1012adff
movss xmm0, dword [0x1020770c]
mov ecx, ebx
movzx eax, bl
mov edx, ebx
shr ecx, 8
shr edx, 0x10
movss dword [ebp - 0x48], xmm2
movd xmm4, eax
mov eax, ebx
cvtdq2ps xmm4, xmm4
shr eax, 8
movzx eax, al
movss xmm2, dword [0x1020785c]
mulss xmm4, xmm0
movss dword [ebp - 0x4c], xmm1
movss dword [ebp - 0x28], xmm4
movd xmm4, eax
mov eax, ebx
cvtdq2ps xmm4, xmm4
shr eax, 0x10
movzx eax, al
mulss xmm4, xmm0
movss dword [ebp - 0x24], xmm4
movd xmm4, eax
mov eax, ebx
cvtdq2ps xmm4, xmm4
shr eax, 0x18
mulss xmm4, xmm0
movss dword [ebp - 0x20], xmm4
movd xmm4, eax
movzx eax, bl
cvtdq2ps xmm4, xmm4
movd xmm5, eax
movzx eax, cl
xor ecx, ecx
cvtdq2ps xmm5, xmm5
mov dword [ebp - 0x14], ecx
movd xmm6, eax
movzx eax, dl
xor edx, edx
cvtdq2ps xmm6, xmm6
xor ebx, ebx
mov dword [ebp - 0x10], edx
mulss xmm4, xmm0
movd xmm7, eax
cvtdq2ps xmm7, xmm7
mulss xmm5, xmm0
mulss xmm6, xmm0
mulss xmm7, xmm0
movss dword [ebp - 0x1c], xmm4
movss xmm4, dword [0x102077ec]
movss dword [ebp - 0x30], xmm5
movss dword [ebp - 0x34], xmm6
movss dword [ebp - 0x38], xmm7
nop dword [eax + eax]
mov eax, dword [0x102cc030]
xorps xmm0, xmm0
movss xmm1, dword [ebp - 0x28]
add eax, 0x781833fb
xor eax, 0x567bbcf7
comiss xmm0, xmm1
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x2c], eax
jbe 0x1012ac37
xorps xmm1, xmm1
jmp 0x1012ac3b
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si ecx, xmm1
movss xmm1, dword [ebp - 0x24]
shl ecx, 0x10
comiss xmm0, xmm1
jbe 0x1012ac59
xorps xmm1, xmm1
jmp 0x1012ac5d
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x20]
shl eax, 8
or ecx, eax
comiss xmm0, xmm1
jbe 0x1012ac7d
xorps xmm1, xmm1
jmp 0x1012ac81
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x1c]
or ecx, eax
comiss xmm0, xmm1
jbe 0x1012ac9e
xorps xmm1, xmm1
jmp 0x1012aca2
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
comiss xmm0, xmm5
jbe 0x1012acbd
xorps xmm1, xmm1
jmp 0x1012acc4
movaps xmm1, xmm5
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm0, xmm6
jbe 0x1012acdd
xorps xmm1, xmm1
jmp 0x1012ace4
movaps xmm1, xmm6
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm7
jbe 0x1012acff
xorps xmm1, xmm1
jmp 0x1012ad06
movaps xmm1, xmm7
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si edi, xmm1
or edi, ecx
comiss xmm0, xmm5
jbe 0x1012ad1e
xorps xmm1, xmm1
jmp 0x1012ad25
movaps xmm1, xmm5
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm0, xmm6
jbe 0x1012ad3e
xorps xmm1, xmm1
jmp 0x1012ad45
movaps xmm1, xmm6
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm7
ja 0x1012ad62
movaps xmm0, xmm7
minss xmm0, xmm2
mov eax, dword [ebp - 0x10]
mulss xmm0, xmm3
push edx
push edi
movss xmm1, dword [eax + esi + 8]
mov eax, dword [ebp - 0x14]
addss xmm0, xmm4
movss dword [ebp - 0x54], xmm1
movss xmm1, dword [eax + esi + 0xc]
cvttss2si eax, xmm0
movss dword [ebp - 0x50], xmm1
movss xmm1, dword [esi + ebx*8]
or eax, ecx
mov ecx, dword [ebp - 0x2c]
push eax
lea eax, [ebp - 0x4c]
movss dword [ebp - 0x5c], xmm1
movss xmm1, dword [esi + ebx*8 + 4]
push eax
lea eax, [ebp - 0x54]
movss dword [ebp - 0x58], xmm1
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.100bedf0
mov eax, dword [ebp - 0x18]
inc ebx
add dword [ebp - 0x14], 8
add dword [ebp - 0x10], 8
movss xmm2, dword [0x1020785c]
mov esi, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
movss xmm3, dword [0x10207ae0]
sub eax, esi
movss xmm4, dword [0x102077ec]
movss xmm5, dword [ebp - 0x30]
movss xmm6, dword [ebp - 0x34]
movss xmm7, dword [ebp - 0x38]
sar eax, 3
dec eax
cmp ebx, eax
jb 0x1012ac10
mov eax, dword [ebp - 0x64]
mov ecx, dword [ebp - 0x40]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret