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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x103a7da9
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x60
push esi
push edi
mov eax, dword [0x1049b0c0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov ecx, dword [eax + 0x154]
mov dword [ebp - 0x28], ecx
test ecx, ecx
je 0x10238ac8
mov eax, dword [0x10541630]
test al, 1
jne 0x10238385
or eax, 1
mov dword [0x10541630], eax
mov dword [ebp - 4], 0
mov eax, dword [0x1053ebb8]
mov dword [ebp - 0x1c], eax
cmp eax, dword [0x1053ebbc]
je 0x1023829a
nop word [eax + eax]
mov ecx, dword [eax]
mov dword [ebp - 0x14], ecx
test ecx, ecx
je 0x1023828c
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10238263
xor edx, edx
test ecx, ecx
je 0x1023828c
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10238270
cmp esi, 0x4e9f1122
je 0x102382b0
mov eax, dword [ebp - 0x1c]
add eax, 4
mov dword [ebp - 0x1c], eax
cmp eax, dword [0x1053ebbc]
jne 0x10238250
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov dword [0x10541634], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1023838a
mov eax, dword [ebp - 0x14]
xor edi, edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x20], edi
cmp dword [eax + 4], edi
jle 0x10238358
xor ecx, ecx
mov dword [ebp - 0x24], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10238304
cmp dword [ecx + 4], 0
jle 0x10238304
push 0
mov edx, 0x1c93bcf0
call fcn.10238b60
add esp, 4
test eax, eax
je 0x10238301
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x1c], edi
mov eax, dword [ebp - 0x14]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10238310
xor edx, edx
test ecx, ecx
je 0x1023833c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10238320
cmp esi, 0x1c93bcf0
je 0x1023836b
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x24]
inc edx
mov edi, dword [ebp - 0x1c]
add ecx, 0x3c
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], ecx
cmp edx, dword [eax + 4]
jl 0x102382d0
mov ecx, dword [ebp - 0x28]
mov eax, edi
mov dword [0x10541634], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1023838a
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x1c]
mov dword [0x10541634], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x1023838a
mov eax, dword [0x10541634]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x30], eax
mov eax, dword [0x10544908]
test al, 1
jne 0x102384f5
or eax, 1
mov dword [0x10544908], eax
mov dword [ebp - 4], 1
mov eax, dword [0x1053ebb8]
mov dword [ebp - 0x24], eax
cmp eax, dword [0x1053ebbc]
je 0x1023840a
nop dword [eax]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
test ecx, ecx
je 0x102383fc
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x102383d3
xor edx, edx
test ecx, ecx
je 0x102383fc
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x102383e0
cmp esi, 0x72e242a1
je 0x10238420
mov eax, dword [ebp - 0x24]
add eax, 4
mov dword [ebp - 0x24], eax
cmp eax, dword [0x1053ebbc]
jne 0x102383c0
mov ecx, dword [ebp - 0x28]
xor eax, eax
mov dword [0x105446c4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x102384fa
mov eax, dword [ebp - 0x1c]
xor edi, edi
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], edi
cmp dword [eax + 4], edi
jle 0x102384c8
xor ecx, ecx
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x2c], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10238474
cmp dword [ecx + 4], 0
jle 0x10238474
push 0
mov edx, 0x84cdad2
call fcn.10238b60
add esp, 4
test eax, eax
je 0x10238471
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x14], edi
mov eax, dword [ebp - 0x1c]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10238480
xor edx, edx
test ecx, ecx
je 0x102384ac
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10238490
cmp esi, 0x84cdad2
je 0x102384db
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x20]
inc edx
mov edi, dword [ebp - 0x14]
add ecx, 0x3c
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x10238440
mov ecx, dword [ebp - 0x28]
mov eax, edi
mov dword [0x105446c4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x102384fa
mov eax, dword [ebp - 0x2c]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x14]
mov dword [0x105446c4], eax
mov dword [ebp - 4], 0xffffffff
jmp 0x102384fa
mov eax, dword [0x105446c4]
cmp dword [ebp - 0x30], 2
je 0x10238ac8
cmp dword [ecx + eax], 0
jle 0x10238ac8
mov eax, dword [ebp - 0x18]
cmp byte [eax + 0x21], 0
lea edi, [eax + 0x24]
je 0x10238ac8
movss xmm1, dword [edi + 4]
movss xmm2, dword [edi]
movss xmm0, dword [edi + 8]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
xorps xmm0, xmm0
sqrtss xmm0, xmm2
comiss xmm0, dword [0x1046ef44]
jbe 0x10238ac8
lea esi, [eax + 0x30]
mov eax, dword [esi]
cmp eax, dword [esi + 4]
je 0x10238561
mov dword [esi + 4], eax
mov eax, dword [esi + 8]
sub eax, dword [esi]
sar eax, 3
mov dword [ebp - 0x30], 0x64
mov dword [ebp - 0x28], esi
cmp eax, 0x64
jae 0x1023858c
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
call fcn.10238ae0
mov eax, dword [ebp - 0x18]
add eax, 0x30
mov dword [ebp - 0x28], eax
mov ecx, dword [0x1055d084]
lea eax, [ebp - 0x48]
push 1
add ecx, 0x8227453d
mov dword [ebp - 0x48], 0
push eax
xor ecx, 0xb5eaaa9f
mov dword [ebp - 0x44], 0
push edi
call fcn.102708d0
test al, al
je 0x102385de
movss xmm0, dword [ebp - 0x48]
lea eax, [ebp - 0x40]
movss dword [ebp - 0x40], xmm0
mov ecx, esi
movss xmm0, dword [ebp - 0x44]
push eax
movss dword [ebp - 0x3c], xmm0
call fcn.10082540
mov esi, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
xorps xmm1, xmm1
movss dword [ebp - 0x28], xmm1
nop dword [eax]
movaps xmm0, xmm1
call fcn.10387910
mov ecx, dword [0x1055d084]
lea eax, [ebp - 0x48]
movaps xmm1, xmm0
mov dword [ebp - 0x48], 0
movss xmm0, dword [edi + 0x2c]
movaps xmm2, xmm1
shufps xmm2, xmm1, 1
add ecx, 0x8227453d
mulss xmm1, dword [0x1046f244]
xor ecx, 0xb5eaaa9f
push 1
mulss xmm2, dword [0x1046f244]
push eax
addss xmm1, dword [edi + 0x24]
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x44], 0
addss xmm2, dword [edi + 0x28]
push eax
movss dword [ebp - 0x64], xmm0
movss dword [ebp - 0x6c], xmm1
movss dword [ebp - 0x68], xmm2
call fcn.102708d0
test al, al
je 0x1023869a
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 0x1023868e
movss dword [eax], xmm0
movss dword [eax + 4], xmm1
add dword [esi + 4], 8
jmp 0x1023869a
lea ecx, [ebp - 0x40]
push ecx
push eax
mov ecx, esi
call fcn.100955d0
movss xmm1, dword [ebp - 0x28]
addss xmm1, dword [0x1046f010]
movsd xmm2, qword [0x1046f190]
cvtps2pd xmm0, xmm1
movss dword [ebp - 0x28], xmm1
comisd xmm2, xmm0
jae 0x102385f0
mov eax, dword [edi + 0x30]
mov dword [ebp - 0x34], eax
cmp eax, dword [edi + 0x34]
je 0x10238ac8
mov eax, dword [0x1055d084]
add eax, 0x8227453d
xor eax, 0xb5eaaa9f
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
or eax, 2
mov dword [ebp - 4], 2
mov dword [ecx], eax
movss xmm3, dword [0x1046f3bc]
movss xmm0, dword [0x10520e0c]
mulss xmm0, xmm3
cvttss2si eax, xmm0
movss xmm0, dword [0x10520e08]
mov dword [ebp - 0x2c], eax
mulss xmm0, xmm3
cvttss2si eax, xmm0
movss xmm0, dword [0x10520e04]
mov dword [ebp - 0x28], eax
mulss xmm0, xmm3
cvttss2si eax, xmm0
movss xmm0, dword [0x10520e00]
mov dword [ebp - 0x24], eax
mulss xmm0, xmm3
cvttss2si eax, xmm0
movss xmm0, dword [0x10520dfc]
mov dword [ebp - 0x20], eax
mulss xmm0, xmm3
cvttss2si eax, xmm0
movss xmm0, dword [0x10520df8]
mov dword [ebp - 0x30], eax
mov ecx, eax
mulss xmm0, xmm3
movzx esi, cl
shl esi, 8
cvttss2si eax, xmm0
movss xmm0, dword [0x10520df4]
mulss xmm0, xmm3
movzx eax, al
or esi, eax
shl esi, 8
cvttss2si edx, xmm0
movss xmm0, dword [0x10520df0]
mulss xmm0, xmm3
movzx eax, dl
or esi, eax
mov edx, dword [ebp - 0x18]
shl esi, 8
cvttss2si ecx, xmm0
movzx eax, cl
or esi, eax
mov eax, dword [ebp - 0x2c]
movzx ecx, al
mov eax, dword [ebp - 0x28]
movzx eax, al
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 0x24]
movzx eax, al
shl ecx, 8
or ecx, eax
mov eax, dword [ebp - 0x20]
movzx eax, al
shl ecx, 8
or ecx, eax
cmp byte [edi + 0x22], 0
mov eax, dword [edx + 0x34]
cmovne ecx, esi
mov esi, dword [edx + 0x30]
sub eax, esi
mov dword [ebp - 0x14], ecx
xor edi, edi
sar eax, 3
mov dword [ebp - 0x1c], edi
sub eax, 1
je 0x10238ac0
mov eax, dword [ebp - 0x14]
mov edx, ecx
movss xmm0, dword [0x1046efa4]
movzx eax, al
shr edx, 0x10
shr ecx, 8
movss xmm2, dword [0x1046f104]
movd xmm1, eax
mov eax, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
shr eax, 8
movzx eax, al
movss xmm4, dword [0x1046f094]
mulss xmm1, xmm0
movss dword [ebp - 0x30], xmm1
movd xmm1, eax
mov eax, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
shr eax, 0x10
movzx eax, al
mulss xmm1, xmm0
movss dword [ebp - 0x2c], xmm1
movd xmm1, eax
mov eax, dword [ebp - 0x14]
cvtdq2ps xmm1, xmm1
shr eax, 0x18
mulss xmm1, xmm0
movss dword [ebp - 0x28], xmm1
movd xmm1, eax
mov eax, dword [ebp - 0x14]
movzx eax, al
cvtdq2ps xmm1, xmm1
movd xmm5, eax
movzx eax, cl
cvtdq2ps xmm5, xmm5
movd xmm6, eax
movzx eax, dl
cvtdq2ps xmm6, xmm6
movd xmm7, eax
cvtdq2ps xmm7, xmm7
mulss xmm1, xmm0
mulss xmm5, xmm0
mulss xmm6, xmm0
mulss xmm7, xmm0
movss dword [ebp - 0x24], xmm1
movss dword [ebp - 0x14], xmm5
movss dword [ebp - 0x38], xmm6
movss dword [ebp - 0x3c], xmm7
nop dword [eax + eax]
mov eax, dword [0x1055d084]
xorps xmm0, xmm0
movss xmm1, dword [ebp - 0x30]
add eax, 0x8227453d
xor eax, 0xb5eaaa9f
comiss xmm0, xmm1
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
jbe 0x102388e7
xorps xmm1, xmm1
jmp 0x102388eb
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si ecx, xmm1
movss xmm1, dword [ebp - 0x2c]
shl ecx, 0x10
comiss xmm0, xmm1
jbe 0x10238909
xorps xmm1, xmm1
jmp 0x1023890d
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x28]
shl eax, 8
or ecx, eax
comiss xmm0, xmm1
jbe 0x1023892d
xorps xmm1, xmm1
jmp 0x10238931
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si eax, xmm1
movss xmm1, dword [ebp - 0x24]
or ecx, eax
comiss xmm0, xmm1
jbe 0x1023894e
xorps xmm1, xmm1
jmp 0x10238952
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si edx, xmm1
shl edx, 0x18
or edx, ecx
comiss xmm0, xmm5
jbe 0x1023896d
xorps xmm1, xmm1
jmp 0x10238974
movaps xmm1, xmm5
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm0, xmm6
jbe 0x1023898d
xorps xmm1, xmm1
jmp 0x10238994
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 0x102389af
xorps xmm1, xmm1
jmp 0x102389b6
movaps xmm1, xmm7
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si edi, xmm1
or edi, ecx
comiss xmm0, xmm5
jbe 0x102389ce
xorps xmm1, xmm1
jmp 0x102389d5
movaps xmm1, xmm5
minss xmm1, xmm2
mulss xmm1, xmm3
addss xmm1, xmm4
cvttss2si ecx, xmm1
shl ecx, 0x10
comiss xmm0, xmm6
jbe 0x102389ee
xorps xmm1, xmm1
jmp 0x102389f5
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 0x10238a12
movaps xmm0, xmm7
minss xmm0, xmm2
mov eax, dword [ebp - 0x34]
mulss xmm0, xmm3
push edx
push edi
movss xmm1, dword [eax]
movss dword [ebp - 0x50], xmm1
addss xmm0, xmm4
movss xmm1, dword [eax + 4]
mov eax, dword [ebp - 0x1c]
movss dword [ebp - 0x4c], xmm1
movss xmm1, dword [esi + eax*8 + 8]
movss dword [ebp - 0x58], xmm1
movss xmm1, dword [esi + eax*8 + 0xc]
movss dword [ebp - 0x54], xmm1
movss xmm1, dword [esi + eax*8]
movss dword [ebp - 0x60], xmm1
movss xmm1, dword [esi + eax*8 + 4]
cvttss2si eax, xmm0
movss dword [ebp - 0x5c], xmm1
or eax, ecx
mov ecx, dword [ebp - 0x20]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.100ecd00
mov eax, dword [ebp - 0x18]
mov edi, dword [ebp - 0x1c]
movss xmm2, dword [0x1046f104]
inc edi
movss xmm3, dword [0x1046f3bc]
mov esi, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
movss xmm4, dword [0x1046f094]
sub eax, esi
movss xmm5, dword [ebp - 0x14]
movss xmm6, dword [ebp - 0x38]
movss xmm7, dword [ebp - 0x3c]
sar eax, 3
dec eax
mov dword [ebp - 0x1c], edi
cmp edi, eax
jb 0x102388c0
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
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret