Function at 0x10086f80
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 0x1038ed21
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x70
mov eax, dword [0x1049b0c0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebx + 8]
movss xmm0, dword [0x1046f094]
comiss xmm0, dword [eax + 0x28]
jae 0x10087889
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov ecx, dword [eax + 0x154]
mov dword [ebp - 0x50], ecx
test ecx, ecx
je 0x10087889
mov eax, dword [0x10541630]
test al, 1
jne 0x1008713b
or eax, 1
mov dword [0x10541630], eax
mov dword [ebp - 4], 0
mov eax, dword [0x1053ebb8]
mov ecx, dword [0x1053ebbc]
mov dword [ebp - 0x30], eax
cmp eax, ecx
je 0x1008706d
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
test eax, eax
je 0x10087060
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [edi + ecx], 0
jne 0x10087034
xor edx, edx
test ecx, ecx
je 0x1008705a
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10087041
cmp esi, 0x4e9f1122
je 0x10087084
mov ecx, dword [0x1053ebbc]
mov eax, dword [ebp - 0x30]
add eax, 4
mov dword [ebp - 0x30], eax
cmp eax, ecx
jne 0x10087021
xor edi, edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x50]
mov dword [0x10541634], edi
jmp 0x10087141
mov eax, dword [ebp - 0x34]
xor edi, edi
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x3c], edi
cmp dword [eax + 4], edi
jle 0x1008706f
xor ecx, ecx
mov dword [ebp - 0x38], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x40], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x100870d4
cmp dword [ecx + 4], 0
jle 0x100870d4
push 0
mov edx, 0x1c93bcf0
call fcn.10238b60
add esp, 4
test eax, eax
je 0x100870d1
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x30], edi
mov eax, dword [ebp - 0x34]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x100870e0
xor edx, edx
test ecx, ecx
je 0x1008710c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100870f0
cmp esi, 0x1c93bcf0
je 0x1008712d
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0x38]
inc edx
mov edi, dword [ebp - 0x30]
add ecx, 0x3c
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x38], ecx
cmp edx, dword [eax + 4]
jge 0x1008706f
jmp 0x100870a0
mov eax, dword [ebp - 0x40]
mov edi, dword [eax + 0x2c]
add edi, dword [ebp - 0x30]
jmp 0x1008706f
mov edi, dword [0x10541634]
mov eax, dword [ecx + edi]
mov dword [ebp - 0x48], eax
mov eax, dword [0x10544908]
test al, 1
jne 0x100872a5
or eax, 1
mov dword [0x10544908], eax
mov dword [ebp - 4], 1
mov eax, dword [0x1053ebb8]
mov dword [ebp - 0x38], eax
cmp eax, dword [0x1053ebbc]
je 0x100871bd
mov ecx, dword [eax]
mov dword [ebp - 0x30], ecx
test ecx, ecx
je 0x100871af
mov edi, dword [ecx + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x10087186
xor edx, edx
test ecx, ecx
je 0x100871af
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10087193
cmp esi, 0x72e242a1
je 0x100871d3
mov eax, dword [ebp - 0x38]
add eax, 4
mov dword [ebp - 0x38], eax
cmp eax, dword [0x1053ebbc]
jne 0x10087173
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x50]
mov dword [0x105446c4], eax
jmp 0x100872aa
mov eax, dword [ebp - 0x30]
xor edi, edi
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x38], edi
cmp dword [eax + 4], edi
jle 0x10087278
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
nop dword [eax]
mov esi, dword [eax]
add esi, ecx
mov dword [ebp - 0x40], esi
mov ecx, dword [esi + 0x28]
test ecx, ecx
je 0x10087224
cmp dword [ecx + 4], 0
jle 0x10087224
push 0
mov edx, 0x84cdad2
call fcn.10238b60
add esp, 4
test eax, eax
je 0x10087221
mov ecx, dword [esi + 0x2c]
add ecx, eax
add edi, ecx
mov dword [ebp - 0x34], edi
mov eax, dword [ebp - 0x30]
mov edi, dword [esi]
xor ecx, ecx
mov esi, 0x811c9dc5
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10087230
xor edx, edx
test ecx, ecx
je 0x1008725c
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10087240
cmp esi, 0x84cdad2
je 0x1008728b
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x3c]
inc edx
mov edi, dword [ebp - 0x34]
add ecx, 0x3c
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x3c], ecx
cmp edx, dword [eax + 4]
jl 0x100871f0
mov eax, edi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x50]
mov dword [0x105446c4], eax
jmp 0x100872aa
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x2c]
add eax, dword [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x50]
mov dword [0x105446c4], eax
jmp 0x100872aa
mov eax, dword [0x105446c4]
cmp dword [ebp - 0x48], 2
je 0x10087889
cmp dword [ecx + eax], 0
jle 0x10087889
mov eax, dword [0x11b92250]
lea edx, [ebp - 0x80]
add eax, 0xc6c19814
mov dword [ebp - 0x80], 0
xor eax, 0x26996288
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
push edx
mov ecx, dword [eax + 0xc4]
xor eax, eax
test ecx, ecx
cmovne eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 0x48]
call eax
movss xmm1, dword [0x1046f3bc]
movss xmm0, dword [0x10520ad4]
mulss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [0x10520ad0]
mulss xmm0, xmm1
mov dword [ebp - 0x38], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10520acc]
mulss xmm0, xmm1
mov dword [ebp - 0x30], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10520ac8]
mulss xmm0, xmm1
mov dword [ebp - 0x3c], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10520ae4]
mulss xmm0, xmm1
mov dword [ebp - 0x34], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10520ae0]
mulss xmm0, xmm1
mov dword [ebp - 0x58], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10520adc]
mov dword [ebp - 0x68], eax
mulss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [0x10520ad8]
mov dword [ebp - 0x60], eax
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0x70], eax
mov eax, dword [0x11b92250]
add eax, 0xc6c19814
xor eax, 0x26996288
mov ecx, dword [eax + 0x154]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
movd xmm0, dword [0x10520a70]
cvtdq2ps xmm0, xmm0
movss xmm1, dword [eax]
addss xmm0, dword [0x1046f1e0]
cvttss2si ecx, xmm0
movd xmm0, dword [0x10520a74]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 0x50], ecx
mov ecx, dword [ebx + 8]
addss xmm0, dword [0x1046f20c]
subss xmm1, dword [ecx + 0x2c]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [ecx + 0x30]
movss dword [ebp - 0x48], xmm1
divss xmm0, xmm1
call fcn.103885fe
movss xmm1, dword [ebp - 0x48]
comiss xmm1, dword [0x1046ef44]
mulss xmm0, dword [0x1046f2dc]
movss xmm3, dword [0x1046f384]
jb 0x1008742e
addss xmm0, xmm3
movss xmm1, dword [ebp - 0x7c]
movss xmm2, dword [0x1046f504]
subss xmm1, xmm0
movss xmm0, dword [0x1046f3d8]
subss xmm1, dword [0x1046f318]
comiss xmm2, xmm1
jbe 0x1008745d
addss xmm1, xmm0
comiss xmm2, xmm1
ja 0x10087454
comiss xmm1, xmm3
jbe 0x1008746b
subss xmm1, xmm0
comiss xmm1, xmm3
ja 0x10087462
mov esi, dword [0x1055d084]
xorps xmm0, xmm0
mulss xmm1, dword [0x1046efc0]
lea edi, [esi - 0x7dd8bac3]
movss xmm0, xmm1
xor edi, 0xb5eaaa9f
call fcn.10387910
movss xmm1, dword [edi + 0x50]
movaps xmm7, xmm0
mulss xmm1, dword [0x1046f094]
movaps xmm6, xmm7
xor eax, eax
movss xmm0, dword [edi + 0x54]
movaps xmm3, xmm7
mulss xmm0, dword [0x1046f094]
mulss xmm3, dword [ebp - 0x40]
shufps xmm6, xmm7, 1
movaps xmm2, xmm6
mulss xmm2, dword [ebp - 0x40]
addss xmm3, xmm0
addss xmm2, xmm1
movd xmm1, dword [ebp - 0x50]
cvtdq2ps xmm1, xmm1
movaps xmm5, xmm3
movss dword [ebp - 0x20], xmm3
subss xmm5, xmm1
movaps xmm4, xmm1
addss xmm4, xmm2
movaps xmm0, xmm2
subss xmm0, xmm1
addss xmm1, xmm3
movss dword [ebp - 0x28], xmm5
addss xmm5, xmm3
movss dword [ebp - 0x24], xmm4
addss xmm4, xmm0
movss dword [ebp - 0x2c], xmm0
movss dword [ebp - 0x1c], xmm0
movss dword [ebp - 0x18], xmm1
addss xmm5, xmm1
addss xmm4, xmm0
mulss xmm5, dword [0x1046f064]
mulss xmm4, dword [0x1046f064]
nop
movss xmm3, dword [ebp + eax*8 - 0x2c]
movaps xmm1, xmm6
movss xmm2, dword [ebp + eax*8 - 0x28]
subss xmm3, xmm4
subss xmm2, xmm5
movaps xmm0, xmm7
mulss xmm1, xmm3
mulss xmm0, xmm2
subss xmm1, xmm0
movaps xmm0, xmm7
mulss xmm0, xmm3
addss xmm1, xmm4
movss dword [ebp + eax*8 - 0x2c], xmm1
movaps xmm1, xmm6
mulss xmm1, xmm2
addss xmm1, xmm0
addss xmm1, xmm5
movss dword [ebp + eax*8 - 0x28], xmm1
inc eax
cmp eax, 3
jl 0x10087530
mov eax, dword [ebx + 8]
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x50], 0xff
mov dword [ebp - 0x48], 0
movss xmm4, dword [0x1046f104]
movss xmm1, dword [eax + 0x28]
mov eax, dword [ebp - 0x38]
movzx eax, al
movss dword [ebp - 0x5c], xmm1
movd xmm0, eax
lea eax, [ebp - 0x40]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [0x1046efa4]
test edx, edx
mov dword [ebp - 0x40], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x50]
cmovle eax, ecx
add esi, 0x8227453d
xor esi, 0xb5eaaa9f
mov cl, byte [eax]
mov eax, dword [ebp - 0x3c]
movzx eax, al
movd xmm2, eax
mov eax, dword [ebp - 0x30]
movzx eax, al
cvtdq2ps xmm2, xmm2
movd xmm1, eax
movzx eax, cl
cvtdq2ps xmm1, xmm1
movd xmm5, eax
mov eax, dword [ebp - 0x34]
movzx eax, al
cvtdq2ps xmm5, xmm5
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mulss xmm2, xmm0
mulss xmm3, xmm0
mulss xmm1, xmm0
mulss xmm5, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm3
jbe 0x10087638
xorps xmm3, xmm3
jmp 0x1008763c
minss xmm3, xmm4
movss xmm6, dword [0x1046f3bc]
movss xmm7, dword [0x1046f094]
mulss xmm3, xmm6
addss xmm3, xmm7
cvttss2si ecx, xmm3
shl ecx, 0x10
comiss xmm0, xmm2
jbe 0x10087665
xorps xmm2, xmm2
jmp 0x10087669
minss xmm2, xmm4
mulss xmm2, xmm6
addss xmm2, xmm7
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm1
jbe 0x10087684
xorps xmm1, xmm1
jmp 0x10087688
minss xmm1, xmm4
mulss xmm1, xmm6
addss xmm1, xmm7
cvttss2si eax, xmm1
or ecx, eax
comiss xmm0, xmm5
jbe 0x100876a0
xorps xmm5, xmm5
jmp 0x100876a4
minss xmm5, xmm4
movss xmm0, dword [ebp - 0x1c]
mulss xmm5, xmm6
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x18]
addss xmm5, xmm7
movss dword [ebp - 0x48], xmm0
movss xmm0, dword [ebp - 0x24]
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x40], xmm0
movss xmm0, dword [ebp - 0x2c]
cvttss2si eax, xmm5
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ebp - 0x28]
shl eax, 0x18
or eax, ecx
movss dword [ebp - 0x50], xmm0
mov ecx, dword [esi + 0xc]
push eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.100ed210
mov ecx, dword [ebp - 0x58]
movzx eax, cl
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x48], 0xff
movss xmm4, dword [0x1046f104]
movd xmm0, eax
lea eax, [ebp - 0x58]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
cvttss2si edx, xmm0
movss xmm0, dword [0x1046efa4]
test edx, edx
mov dword [ebp - 0x58], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x48]
cmovle eax, ecx
mov cl, byte [eax]
mov eax, dword [0x1055d084]
add eax, 0x8227453d
xor eax, 0xb5eaaa9f
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x60]
movzx eax, al
movd xmm2, eax
mov eax, dword [ebp - 0x68]
movzx eax, al
cvtdq2ps xmm2, xmm2
movd xmm1, eax
movzx eax, cl
cvtdq2ps xmm1, xmm1
movd xmm6, eax
mov eax, dword [ebp - 0x70]
movzx eax, al
cvtdq2ps xmm6, xmm6
movd xmm3, eax
cvtdq2ps xmm3, xmm3
mulss xmm2, xmm0
mulss xmm3, xmm0
mulss xmm1, xmm0
mulss xmm6, xmm0
xorps xmm0, xmm0
comiss xmm0, xmm3
jbe 0x100877b6
xorps xmm3, xmm3
jmp 0x100877ba
minss xmm3, xmm4
movss xmm5, dword [0x1046f3bc]
movss xmm7, dword [0x1046f094]
mulss xmm3, xmm5
addss xmm3, xmm7
cvttss2si ecx, xmm3
shl ecx, 0x10
comiss xmm0, xmm2
jbe 0x100877e3
xorps xmm2, xmm2
jmp 0x100877e7
minss xmm2, xmm4
mulss xmm2, xmm5
addss xmm2, xmm7
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm1
jbe 0x10087802
xorps xmm1, xmm1
jmp 0x10087806
minss xmm1, xmm4
mulss xmm1, xmm5
addss xmm1, xmm7
cvttss2si eax, xmm1
or ecx, eax
comiss xmm0, xmm6
ja 0x10087820
minss xmm6, xmm4
movaps xmm0, xmm6
movss xmm1, dword [ebp - 0x1c]
mulss xmm0, xmm5
push ecx
movss dword [ebp - 0x74], xmm1
movss xmm1, dword [ebp - 0x18]
addss xmm0, xmm7
movss dword [ebp - 0x70], xmm1
movss xmm1, dword [ebp - 0x24]
mov dword [esp], 0x3f800000
movss dword [ebp - 0x6c], xmm1
movss xmm1, dword [ebp - 0x20]
cvttss2si eax, xmm0
movss dword [ebp - 0x68], xmm1
movss xmm1, dword [ebp - 0x2c]
shl eax, 0x18
or eax, ecx
movss dword [ebp - 0x64], xmm1
movss xmm1, dword [ebp - 0x28]
mov ecx, edx
push eax
lea eax, [ebp - 0x74]
movss dword [ebp - 0x60], xmm1
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.100ed0f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.102fe398
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4