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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1022da69
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push ebx
push esi
push edi
mov eax, dword [0x102d2084]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24], ecx
mov eax, dword [0x10bbb620]
add eax, 0x91761abb
xor eax, 0xfd410b50
mov ecx, dword [eax + 0x134]
mov dword [ebp - 0x20], ecx
test ecx, ecx
je 0x10138df1
mov eax, dword [0x1036f68c]
test al, 1
jne 0x1013870e
or eax, 1
mov dword [0x1036f68c], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x1036cbb0]
cmp ebx, dword [0x1036cbb4]
je 0x10138639
mov eax, dword [ebx]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x1013862e
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10138608
xor edx, edx
test ecx, ecx
je 0x1013862e
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10138615
cmp esi, 0x4e9f1122
je 0x1013864f
add ebx, 4
cmp ebx, dword [0x1036cbb4]
jne 0x101385f5
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [0x1036f690], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10138713
mov eax, dword [ebp - 0x10]
xor esi, esi
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], esi
cmp dword [eax + 4], esi
jle 0x101386e4
xor ecx, ecx
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x10138699
cmp dword [ecx + 4], 0
jle 0x10138699
push 0
mov edx, 0x1c93bcf0
call fcn.10138e60
add esp, 4
test eax, eax
je 0x10138696
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 0x101386a2
xor edx, edx
test ecx, ecx
je 0x101386cc
nop
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x101386b0
cmp esi, 0x1c93bcf0
je 0x101386f7
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
inc edx
mov esi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x1c], ecx
cmp edx, dword [eax + 4]
jl 0x10138668
mov ecx, dword [ebp - 0x20]
mov eax, esi
mov dword [0x1036f690], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10138713
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [0x1036f690], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10138713
mov eax, dword [0x1036f690]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x28], eax
mov eax, dword [0x10370fac]
test al, 1
jne 0x1013885e
or eax, 1
mov dword [0x10370fac], eax
mov dword [ebp - 4], 1
mov ebx, dword [0x1036cbb0]
cmp ebx, dword [0x1036cbb4]
je 0x10138787
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1013877c
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10138756
xor edx, edx
test ecx, ecx
je 0x1013877c
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10138763
cmp esi, 0x72e242a1
je 0x1013879d
add ebx, 4
cmp ebx, dword [0x1036cbb4]
jne 0x10138743
mov ecx, dword [ebp - 0x20]
xor eax, eax
mov dword [0x10370f6c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10138863
mov eax, dword [ebp - 0x14]
xor esi, esi
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x1c], esi
cmp dword [eax + 4], esi
jle 0x10138834
xor ecx, ecx
mov dword [ebp - 0x18], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x101387e7
cmp dword [ecx + 4], 0
jle 0x101387e7
push 0
mov edx, 0x84cdad2
call fcn.10138e60
add esp, 4
test eax, eax
je 0x101387e4
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 0x101387f0
xor edx, edx
test ecx, ecx
je 0x1013881c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10138800
cmp esi, 0x84cdad2
je 0x10138847
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x18]
inc edx
mov esi, dword [ebp - 0x10]
add ecx, 0x3c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], ecx
cmp edx, dword [eax + 4]
jl 0x101387b6
mov ecx, dword [ebp - 0x20]
mov eax, esi
mov dword [0x10370f6c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10138863
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x20]
mov dword [0x10370f6c], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x10138863
mov eax, dword [0x10370f6c]
cmp dword [ebp - 0x28], 2
je 0x10138df1
cmp dword [ecx + eax], 0
jle 0x10138df1
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x21], 0
lea edi, [eax + 0x24]
je 0x10138df1
movss xmm2, dword [edi + 4]
movss xmm0, dword [edi]
movss xmm1, dword [edi + 8]
mulss xmm0, xmm0
mulss xmm2, xmm2
mulss xmm1, xmm1
addss xmm0, xmm2
addss xmm0, xmm1
call fcn.1000da70
comiss xmm0, dword [0x102ba5ec]
jbe 0x10138df1
mov ebx, dword [eax + 0x34]
lea esi, [eax + 0x30]
mov eax, dword [esi]
cmp eax, ebx
je 0x101388cc
mov dword [esi + 4], eax
mov ebx, eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
sar eax, 3
cmp eax, 0x64
jae 0x101388e4
push ecx
mov ecx, esi
call fcn.10138e10
mov ebx, dword [esi + 4]
mov ecx, dword [0x103bb7e4]
lea eax, [ebp - 0x48]
push 1
add ecx, 0x5f05664a
mov dword [ebp - 0x48], 0
push eax
xor ecx, 0xc1d56fa6
mov dword [ebp - 0x44], 0
push edi
call fcn.101685b0
test al, al
je 0x10138948
movss xmm0, dword [ebp - 0x48]
movss xmm1, dword [ebp - 0x44]
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x3c], xmm1
cmp ebx, dword [esi + 8]
je 0x1013893c
movss dword [ebx], xmm0
movss dword [ebx + 4], xmm1
add dword [esi + 4], 8
jmp 0x10138948
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
push ebx
call fcn.10082650
xorps xmm1, xmm1
movss dword [ebp - 0x14], xmm1
movaps xmm0, xmm1
call fcn.1002f910
movss dword [ebp - 0x28], xmm0
movss xmm0, dword [ebp - 0x14]
call fcn.1002f920
movss xmm2, dword [ebp - 0x28]
lea eax, [ebp - 0x48]
mulss xmm2, dword [0x102ba928]
movaps xmm1, xmm0
mov ecx, dword [0x103bb7e4]
mulss xmm1, dword [0x102ba928]
add ecx, 0x5f05664a
xor ecx, 0xc1d56fa6
mov dword [ebp - 0x48], 0
movss xmm0, dword [edi + 8]
addss xmm2, dword [edi + 4]
addss xmm1, dword [edi]
push 1
push eax
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x44], 0
push eax
movss dword [ebp - 0x6c], xmm1
movss dword [ebp - 0x68], xmm2
movss dword [ebp - 0x64], xmm0
call fcn.101685b0
test al, al
je 0x10138a06
movss xmm0, dword [ebp - 0x48]
movss xmm1, dword [ebp - 0x44]
mov eax, dword [esi + 4]
movss dword [ebp - 0x40], xmm0
movss dword [ebp - 0x3c], xmm1
cmp eax, dword [esi + 8]
je 0x101389fa
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
add dword [esi + 4], 8
jmp 0x10138a06
lea ecx, [ebp - 0x40]
push ecx
push eax
mov ecx, esi
call fcn.10082650
movss xmm1, dword [ebp - 0x14]
addss xmm1, dword [0x102ba6b8]
movsd xmm2, qword [0x102ba830]
cvtps2pd xmm0, xmm1
movss dword [ebp - 0x14], xmm1
comisd xmm2, xmm0
jae 0x10138950
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x10138df1
movss xmm1, dword [eax]
movss xmm2, dword [eax + 4]
mov eax, dword [0x103bb7e4]
add eax, 0x5f05664a
xor eax, 0xc1d56fa6
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx + 0x24]
add ecx, 0x24
mov dword [ebp - 0x68], ecx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 4], 2
or eax, 2
movss xmm5, dword [0x102baa58]
mov dword [ecx], eax
movss xmm0, dword [0x10355e58]
mulss xmm0, xmm5
cvttss2si ebx, xmm0
movss xmm0, dword [0x10355e54]
mulss xmm0, xmm5
mov byte [ebp - 0x11], bl
cvttss2si edx, xmm0
movss xmm0, dword [0x10355e50]
mulss xmm0, xmm5
mov byte [ebp - 0x12], dl
cvttss2si ecx, xmm0
movss xmm0, dword [0x10355e4c]
mulss xmm0, xmm5
mov byte [ebp - 0x13], cl
cvttss2si eax, xmm0
movss xmm0, dword [0x10355e48]
mulss xmm0, xmm5
mov byte [ebp - 0x14], al
cvttss2si ebx, xmm0
movss xmm0, dword [0x10355e44]
mulss xmm0, xmm5
mov byte [ebp - 0xd], bl
cvttss2si edx, xmm0
movss xmm0, dword [0x10355e40]
mulss xmm0, xmm5
mov byte [ebp - 0xe], dl
mov edx, dword [esi]
cvttss2si ecx, xmm0
movss xmm0, dword [0x10355e3c]
mulss xmm0, xmm5
mov byte [ebp - 0xf], cl
mov ecx, dword [ebp - 0x14]
cvttss2si eax, xmm0
mov byte [ebp - 0x10], al
mov eax, dword [ebp - 0x24]
cmp byte [eax + 0x22], 0
mov eax, dword [esi + 4]
cmovne ecx, dword [ebp - 0x10]
sub eax, edx
sar eax, 3
xor ebx, ebx
mov dword [ebp - 0x1c], ecx
sub eax, 1
je 0x10138de9
movss xmm6, dword [0x102ba64c]
mov eax, ecx
shr eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, ecx
shr eax, 8
mov dword [ebp - 0x18], eax
movzx eax, cl
movss xmm7, dword [0x102ba7b4]
movss dword [ebp - 0x50], xmm1
movss dword [ebp - 0x4c], xmm2
movd xmm0, eax
mov eax, ecx
shr eax, 8
movzx eax, al
cvtdq2ps xmm0, xmm0
movd xmm3, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
mulss xmm0, xmm6
cvtdq2ps xmm3, xmm3
movd xmm4, eax
mov eax, ecx
shr eax, 0x18
movss dword [ebp - 0x28], xmm0
cvtdq2ps xmm4, xmm4
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm3, xmm6
mulss xmm4, xmm6
mulss xmm0, xmm6
movss xmm6, dword [0x102ba73c]
movss dword [ebp - 0x38], xmm3
movss dword [ebp - 0x3c], xmm4
movss dword [ebp - 0x20], xmm0
nop
mov eax, dword [0x103bb7e4]
xorps xmm0, xmm0
movss xmm1, dword [ebp - 0x28]
add eax, 0x5f05664a
xor eax, 0xc1d56fa6
comiss xmm0, xmm1
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x34], eax
jbe 0x10138be7
xorps xmm1, xmm1
jmp 0x10138beb
minss xmm1, xmm7
mulss xmm1, xmm5
addss xmm1, xmm6
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm0, xmm3
jbe 0x10138c04
xorps xmm1, xmm1
jmp 0x10138c0b
movaps xmm1, xmm3
minss xmm1, xmm7
mulss xmm1, xmm5
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x10138c26
xorps xmm1, xmm1
jmp 0x10138c2d
movaps xmm1, xmm4
minss xmm1, xmm7
mulss xmm1, xmm5
addss xmm1, xmm6
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x20]
or ecx, eax
comiss xmm0, xmm1
jbe 0x10138c4a
xorps xmm1, xmm1
jmp 0x10138c4e
minss xmm1, xmm7
mulss xmm1, xmm5
movss xmm3, dword [0x102ba64c]
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 0x18
or eax, ecx
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x1c]
movzx eax, al
movd xmm2, eax
mov eax, dword [ebp - 0x18]
movzx eax, al
cvtdq2ps xmm2, xmm2
movd xmm4, eax
mov eax, dword [ebp - 0x14]
movzx eax, al
cvtdq2ps xmm4, xmm4
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm2, xmm3
mulss xmm4, xmm3
comiss xmm0, xmm2
mulss xmm1, xmm3
movaps xmm3, xmm2
movss dword [ebp - 0x10], xmm2
minss xmm3, xmm7
movss dword [ebp - 0x2c], xmm4
movss dword [ebp - 0x24], xmm1
jbe 0x10138cbd
xorps xmm1, xmm1
jmp 0x10138cc0
movaps xmm1, xmm3
mulss xmm1, xmm5
addss xmm1, xmm6
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm0, xmm4
jbe 0x10138ce0
movaps xmm1, xmm4
xorps xmm2, xmm2
minss xmm1, xmm7
jmp 0x10138cea
movaps xmm2, xmm4
minss xmm2, xmm7
movaps xmm1, xmm2
movss xmm4, dword [ebp - 0x24]
mulss xmm2, xmm5
addss xmm2, xmm6
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm4
jbe 0x10138d0e
xorps xmm2, xmm2
minss xmm4, xmm7
jmp 0x10138d18
movaps xmm2, xmm4
minss xmm2, xmm7
movaps xmm4, xmm2
mulss xmm2, xmm5
addss xmm2, xmm6
cvttss2si edi, xmm2
or edi, ecx
comiss xmm0, dword [ebp - 0x10]
jbe 0x10138d2f
xorps xmm3, xmm3
mulss xmm3, xmm5
addss xmm3, xmm6
cvttss2si ecx, xmm3
shl ecx, 0x10
comiss xmm0, dword [ebp - 0x2c]
jbe 0x10138d47
xorps xmm1, xmm1
mulss xmm1, xmm5
addss xmm1, xmm6
cvttss2si eax, xmm1
shl eax, 8
or ecx, eax
comiss xmm0, dword [ebp - 0x24]
jbe 0x10138d61
xorps xmm4, xmm4
push dword [ebp - 0x30]
movss xmm0, dword [edx + ebx*8 + 8]
mulss xmm4, xmm5
push edi
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [edx + ebx*8 + 0xc]
addss xmm4, xmm6
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [edx + ebx*8]
movss dword [ebp - 0x60], xmm0
movss xmm0, dword [edx + ebx*8 + 4]
movss dword [ebp - 0x5c], xmm0
cvttss2si eax, xmm4
or eax, ecx
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.100cb7e0
mov eax, dword [esi + 4]
inc ebx
mov edx, dword [esi]
sub eax, edx
movss xmm5, dword [0x102baa58]
movss xmm6, dword [0x102ba73c]
movss xmm7, dword [0x102ba7b4]
movss xmm3, dword [ebp - 0x38]
movss xmm4, dword [ebp - 0x3c]
sar eax, 3
dec eax
cmp ebx, eax
jb 0x10138bc0
mov eax, dword [ebp - 0x68]
mov ecx, dword [ebp - 0x44]
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