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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101e7171
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x10285040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
movss xmm0, dword [0x10270fb4]
comiss xmm0, dword [eax + 0x14]
jae 0x1006c999
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov ecx, dword [eax + 0x14c]
mov dword [ebp - 0x3c], ecx
test ecx, ecx
je 0x1006c999
mov eax, dword [0x1031e914]
test al, 1
jne 0x1006c232
or eax, 1
mov dword [0x1031e914], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x1031cd80]
cmp ebx, dword [0x1031cd84]
je 0x1006c154
nop word [eax + eax]
mov eax, dword [ebx]
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x1006c149
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
inc ecx
cmp byte [ecx + edi], 0
jne 0x1006c123
xor edx, edx
test ecx, ecx
je 0x1006c149
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1006c130
cmp esi, 0x4e9f1122
je 0x1006c16a
add ebx, 4
cmp ebx, dword [0x1031cd84]
jne 0x1006c110
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [0x1031e918], eax
jmp 0x1006c237
mov eax, dword [ebp - 0x2c]
xor esi, esi
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x34], esi
cmp dword [eax + 4], esi
jle 0x1006c208
xor ecx, ecx
mov dword [ebp - 0x38], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1006c1b4
cmp dword [ecx + 4], 0
jle 0x1006c1b4
push 0
mov edx, 0x1c93bcf0
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1006c1b1
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x30], esi
mov eax, dword [ebp - 0x2c]
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1006c1c0
xor edx, edx
test ecx, ecx
je 0x1006c1ec
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1006c1d0
cmp esi, 0x1c93bcf0
je 0x1006c21b
mov eax, dword [ebp - 0x2c]
mov edx, dword [ebp - 0x34]
mov ecx, dword [ebp - 0x38]
inc edx
mov esi, dword [ebp - 0x30]
add ecx, 0x3c
mov dword [ebp - 0x34], edx
mov dword [ebp - 0x38], ecx
cmp edx, dword [eax + 4]
jl 0x1006c183
mov eax, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [0x1031e918], eax
jmp 0x1006c237
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [0x1031e918], eax
jmp 0x1006c237
mov eax, dword [0x1031e918]
mov eax, dword [ecx + eax]
mov dword [ebp - 0x40], eax
mov eax, dword [0x1032022c]
test al, 1
jne 0x1006c392
or eax, 1
mov dword [0x1032022c], eax
mov dword [ebp - 4], 1
mov ebx, dword [0x1031cd80]
cmp ebx, dword [0x1031cd84]
je 0x1006c2b4
mov eax, dword [ebx]
mov dword [ebp - 0x30], eax
test eax, eax
je 0x1006c2a9
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1006c280
xor edx, edx
test ecx, ecx
je 0x1006c2a9
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1006c290
cmp esi, 0x72e242a1
je 0x1006c2ca
add ebx, 4
cmp ebx, dword [0x1031cd84]
jne 0x1006c267
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [0x103201ec], eax
jmp 0x1006c397
mov eax, dword [ebp - 0x30]
xor esi, esi
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x38], esi
cmp dword [eax + 4], esi
jle 0x1006c368
xor ecx, ecx
mov dword [ebp - 0x34], ecx
mov ebx, dword [eax]
add ebx, ecx
mov ecx, dword [ebx + 0x28]
test ecx, ecx
je 0x1006c314
cmp dword [ecx + 4], 0
jle 0x1006c314
push 0
mov edx, 0x84cdad2
call fcn.1012b660
add esp, 4
test eax, eax
je 0x1006c311
mov ecx, dword [ebx + 0x2c]
add ecx, eax
add esi, ecx
mov dword [ebp - 0x2c], esi
mov eax, dword [ebp - 0x30]
mov edi, dword [ebx]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1006c320
xor edx, edx
test ecx, ecx
je 0x1006c34c
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1006c330
cmp esi, 0x84cdad2
je 0x1006c37b
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x34]
inc edx
mov esi, dword [ebp - 0x2c]
add ecx, 0x3c
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x34], ecx
cmp edx, dword [eax + 4]
jl 0x1006c2e3
mov eax, esi
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [0x103201ec], eax
jmp 0x1006c397
mov eax, dword [ebx + 0x2c]
add eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x3c]
mov dword [0x103201ec], eax
jmp 0x1006c397
mov eax, dword [0x103201ec]
cmp dword [ebp - 0x40], 2
je 0x1006c999
cmp dword [ecx + eax], 0
jle 0x1006c999
test byte [0x10305e30], 0x80
je 0x1006c999
mov eax, dword [0x10b33e60]
lea edx, [ebp - 0x7c]
add eax, 0x7a4232c8
mov dword [ebp - 0x7c], 0
xor eax, 0xfcb4fca8
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 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 [0x102712b0]
movss xmm0, dword [0x10305e98]
mulss xmm0, xmm1
cvttss2si eax, xmm0
movss xmm0, dword [0x10305e94]
mulss xmm0, xmm1
mov dword [ebp - 0x30], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10305e90]
mulss xmm0, xmm1
mov dword [ebp - 0x4c], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10305e8c]
mulss xmm0, xmm1
mov dword [ebp - 0x2c], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10305ea8]
mulss xmm0, xmm1
mov dword [ebp - 0x54], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10305ea4]
mulss xmm0, xmm1
mov dword [ebp - 0x48], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10305ea0]
mulss xmm0, xmm1
mov dword [ebp - 0x64], eax
cvttss2si eax, xmm0
movss xmm0, dword [0x10305e9c]
mov dword [ebp - 0x5c], eax
mulss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0x6c], eax
mov eax, dword [0x10b33e60]
add eax, 0x7a4232c8
xor eax, 0xfcb4fca8
mov ecx, dword [eax + 0x14c]
mov eax, dword [ecx]
call dword [eax + 0x28]
movd xmm0, dword [0x10305e34]
cvtdq2ps xmm0, xmm0
mov ecx, dword [ebp + 8]
movss xmm1, dword [eax]
addss xmm0, dword [0x102710e8]
subss xmm1, dword [ecx + 0x18]
cvttss2si ebx, xmm0
movd xmm0, dword [0x10305e38]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x40], xmm1
addss xmm0, dword [0x10271110]
movss dword [ebp - 0x3c], xmm0
movss xmm0, dword [eax + 4]
subss xmm0, dword [ecx + 0x1c]
divss xmm0, xmm1
call sub.api_ms_win_crt_math_l1_1_0.dll___libm_sse2_atanf
movss xmm1, dword [ebp - 0x40]
movaps xmm2, xmm0
comiss xmm1, dword [0x10270e70]
mulss xmm2, dword [0x102711d4]
movss xmm3, dword [0x10271280]
jb 0x1006c526
addss xmm2, xmm3
movss xmm0, dword [ebp - 0x78]
movss xmm1, dword [0x102712cc]
subss xmm0, xmm2
movss xmm2, dword [0x102713f4]
subss xmm0, dword [0x10271214]
comiss xmm2, xmm0
jbe 0x1006c559
nop dword [eax]
addss xmm0, xmm1
comiss xmm2, xmm0
ja 0x1006c550
comiss xmm0, xmm3
jbe 0x1006c569
nop
subss xmm0, xmm1
comiss xmm0, xmm3
ja 0x1006c560
mov esi, dword [0x103351b4]
mulss xmm0, dword [0x10270eec]
lea edi, [esi - 0x7fc4c3f9]
movss dword [ebp - 0x40], xmm0
xor edi, 0xc7a4cce5
call fcn.1002de60
movss xmm1, dword [edi + 0x50]
mulss xmm1, dword [0x10270fb4]
movss dword [ebp - 0x34], xmm0
mulss xmm0, dword [ebp - 0x3c]
addss xmm0, xmm1
movss dword [ebp - 0x38], xmm0
movss xmm0, dword [ebp - 0x40]
call fcn.1002de80
movss xmm1, dword [edi + 0x54]
movaps xmm7, xmm0
mulss xmm1, dword [0x10270fb4]
movaps xmm3, xmm7
xor eax, eax
mulss xmm3, dword [ebp - 0x3c]
movss xmm0, dword [ebp - 0x38]
movss xmm6, dword [ebp - 0x34]
addss xmm3, xmm1
movd xmm2, ebx
cvtdq2ps xmm2, xmm2
movaps xmm5, xmm3
movss dword [ebp - 0x1c], xmm3
subss xmm5, xmm2
movaps xmm4, xmm2
addss xmm4, dword [ebp - 0x38]
subss xmm0, xmm2
addss xmm2, xmm3
movss dword [ebp - 0x24], xmm5
addss xmm5, xmm3
movss dword [ebp - 0x20], xmm4
addss xmm4, xmm0
movss dword [ebp - 0x28], xmm0
movss dword [ebp - 0x18], xmm0
movss dword [ebp - 0x14], xmm2
addss xmm5, xmm2
addss xmm4, xmm0
mulss xmm5, dword [0x10270f80]
mulss xmm4, dword [0x10270f80]
nop dword [eax + eax]
movss xmm3, dword [ebp + eax*8 - 0x28]
movaps xmm1, xmm6
movss xmm2, dword [ebp + eax*8 - 0x24]
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 - 0x28], xmm1
movaps xmm1, xmm6
mulss xmm1, xmm2
addss xmm1, xmm0
addss xmm1, xmm5
movss dword [ebp + eax*8 - 0x24], xmm1
inc eax
cmp eax, 3
jl 0x1006c640
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x38], 0xff
mov dword [ebp - 0x40], 0
movss xmm4, dword [0x10271024]
movss xmm1, dword [eax + 0x14]
mov eax, dword [ebp - 0x30]
movzx eax, al
movss dword [ebp - 0x34], xmm1
movd xmm0, eax
lea eax, [ebp - 0x3c]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
cvttss2si edx, xmm0
movss xmm0, dword [0x10270ecc]
test edx, edx
mov dword [ebp - 0x3c], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x38]
cmovle eax, ecx
add esi, 0x803b3c07
xor esi, 0xc7a4cce5
mov cl, byte [eax]
mov eax, dword [ebp - 0x2c]
movzx eax, al
movd xmm2, eax
mov eax, dword [ebp - 0x4c]
movzx eax, al
cvtdq2ps xmm2, xmm2
movd xmm1, eax
movzx eax, cl
cvtdq2ps xmm1, xmm1
movd xmm5, eax
mov eax, dword [ebp - 0x54]
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 0x1006c748
xorps xmm3, xmm3
jmp 0x1006c74c
minss xmm3, xmm4
movss xmm6, dword [0x102712b0]
movss xmm7, dword [0x10270fb4]
mulss xmm3, xmm6
addss xmm3, xmm7
cvttss2si ecx, xmm3
shl ecx, 0x10
comiss xmm0, xmm2
jbe 0x1006c775
xorps xmm2, xmm2
jmp 0x1006c779
minss xmm2, xmm4
mulss xmm2, xmm6
addss xmm2, xmm7
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm1
jbe 0x1006c794
xorps xmm1, xmm1
jmp 0x1006c798
minss xmm1, xmm4
mulss xmm1, xmm6
addss xmm1, xmm7
cvttss2si eax, xmm1
or ecx, eax
comiss xmm0, xmm5
jbe 0x1006c7b0
xorps xmm5, xmm5
jmp 0x1006c7b4
minss xmm5, xmm4
movss xmm0, dword [ebp - 0x18]
mulss xmm5, xmm6
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [ebp - 0x14]
addss xmm5, xmm7
movss dword [ebp - 0x54], xmm0
movss xmm0, dword [ebp - 0x20]
movss dword [ebp - 0x50], xmm0
movss xmm0, dword [ebp - 0x1c]
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [ebp - 0x28]
cvttss2si eax, xmm5
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [ebp - 0x24]
shl eax, 0x18
or eax, ecx
movss dword [ebp - 0x40], xmm0
mov ecx, dword [esi + 0xc]
push eax
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.100bfdd0
mov ecx, dword [ebp - 0x48]
movzx eax, cl
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x4c], 0xff
mov dword [ebp - 0x48], 0
movss xmm4, dword [0x10271024]
movd xmm0, eax
lea eax, [ebp - 0x54]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [ebp - 0x34]
cvttss2si edx, xmm0
movss xmm0, dword [0x10270ecc]
test edx, edx
mov dword [ebp - 0x54], edx
cmovns ecx, eax
cmp edx, 0xff
lea eax, [ebp - 0x4c]
cmovle eax, ecx
mov cl, byte [eax]
mov eax, dword [0x103351b4]
add eax, 0x803b3c07
xor eax, 0xc7a4cce5
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x5c]
movzx eax, al
movd xmm2, eax
mov eax, dword [ebp - 0x64]
movzx eax, al
cvtdq2ps xmm2, xmm2
movd xmm1, eax
movzx eax, cl
cvtdq2ps xmm1, xmm1
movd xmm6, eax
mov eax, dword [ebp - 0x6c]
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 0x1006c8c6
xorps xmm3, xmm3
jmp 0x1006c8ca
minss xmm3, xmm4
movss xmm5, dword [0x102712b0]
movss xmm7, dword [0x10270fb4]
mulss xmm3, xmm5
addss xmm3, xmm7
cvttss2si ecx, xmm3
shl ecx, 0x10
comiss xmm0, xmm2
jbe 0x1006c8f3
xorps xmm2, xmm2
jmp 0x1006c8f7
minss xmm2, xmm4
mulss xmm2, xmm5
addss xmm2, xmm7
cvttss2si eax, xmm2
shl eax, 8
or ecx, eax
comiss xmm0, xmm1
jbe 0x1006c912
xorps xmm1, xmm1
jmp 0x1006c916
minss xmm1, xmm4
mulss xmm1, xmm5
addss xmm1, xmm7
cvttss2si eax, xmm1
or ecx, eax
comiss xmm0, xmm6
ja 0x1006c930
movaps xmm0, xmm6
minss xmm0, xmm4
movss xmm1, dword [ebp - 0x18]
mulss xmm0, xmm5
push ecx
movss dword [ebp - 0x70], xmm1
movss xmm1, dword [ebp - 0x14]
addss xmm0, xmm7
movss dword [ebp - 0x6c], xmm1
movss xmm1, dword [ebp - 0x20]
mov dword [esp], 0x3f800000
movss dword [ebp - 0x68], xmm1
movss xmm1, dword [ebp - 0x1c]
cvttss2si eax, xmm0
movss dword [ebp - 0x64], xmm1
movss xmm1, dword [ebp - 0x28]
shl eax, 0x18
or eax, ecx
movss dword [ebp - 0x60], xmm1
movss xmm1, dword [ebp - 0x24]
mov ecx, edx
push eax
lea eax, [ebp - 0x70]
movss dword [ebp - 0x5c], xmm1
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x60]
push eax
call fcn.100bfcb0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.101e0e46
mov esp, ebp
pop ebp
ret 4