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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1838
call fcn.100d3ac0
mov eax, dword [0x100f5008]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x101f6e34]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x182c], eax
push esi
mov eax, dword [ecx]
push edi
mov edi, dword [ebp + 8]
push edi
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x1004f820
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x1004f820
mov eax, dword [0x101f7024]
add eax, 0xffffffd0
xor eax, 0xfef7a4d
cmp dword [eax + esi], 0
jne 0x1004f820
mov eax, dword [0x101f6fc4]
cmp byte [eax + esi], 0
jne 0x1004f820
mov edx, dword [0x101f6ffc]
mov eax, dword [0x100f5310]
add edx, 0xffffffda
xor edx, 0xfef7a43
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1004f3f8
mov ecx, dword [0x101f6f04]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1004f820
imul eax, edi, 0x34d8
lea edi, [eax + 0x1011a404]
mov dword [ebp - 0x1818], edi
test edi, edi
je 0x1004f820
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1004f820
cmp byte [edi + 0x3490], 0
jne 0x1004f820
cmp eax, 2
jb 0x1004f820
cmp eax, 3
jb 0x1004f820
mov ecx, dword [0x101f6e30]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1004f820
mov eax, dword [0x101f73e8]
test al, 1
jne 0x1004f4f0
or eax, 1
mov dword [0x101f73e8], eax
mov eax, dword [0x101f6e2c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1814], eax
test eax, eax
je 0x1004f4d2
nop dword [eax + eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1004f490
xor edx, edx
test ecx, ecx
je 0x1004f4bf
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1004f4a0
cmp esi, 0x8c8dc452
je 0x1004f4dc
mov eax, dword [ebp - 0x1814]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1814], eax
test eax, eax
jne 0x1004f480
mov edi, dword [ebp - 0x1818]
xor ecx, ecx
mov dword [0x101f73e4], ecx
jmp 0x1004f4f6
mov ecx, dword [ebp - 0x1814]
mov edi, dword [ebp - 0x1818]
mov dword [0x101f73e4], ecx
jmp 0x1004f4f6
mov ecx, dword [0x101f73e4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov ecx, dword [edi + 0x14]
fstp st(0)
mov esi, dword [edi + 8]
lea eax, [ecx + 1]
mov dword [ebp - 0x1814], eax
mov eax, dword [edi + 0x14]
add eax, dword [edi + 0x18]
mov dword [ebp - 0x1820], ecx
cmp ecx, eax
je 0x1004f820
test esi, esi
je 0x1004f52a
mov eax, dword [esi]
jmp 0x1004f52c
xor eax, eax
mov edx, ecx
shr edx, 1
mov dword [ebp - 0x181c], edx
mov edx, ecx
mov ecx, dword [eax + 8]
and edx, 1
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x181c]
shl edx, 3
mov dword [ebp - 0x1828], edx
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx + edx]
call fcn.1002cc60
test al, al
je 0x1004f61e
mov eax, dword [edi + 0x14]
add eax, dword [edi + 0x18]
mov ecx, dword [ebp - 0x1814]
cmp ecx, eax
je 0x1004f61e
test esi, esi
je 0x1004f580
mov edx, dword [esi]
jmp 0x1004f582
xor edx, edx
mov eax, ecx
mov edi, ecx
mov ecx, dword [edx + 8]
and edi, 1
shr eax, 1
dec ecx
and ecx, eax
mov dword [ebp - 0x1824], eax
mov eax, dword [edx + 4]
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx + edi*8]
call fcn.1002cc60
test al, al
jne 0x1004f618
test esi, esi
je 0x1004f5b1
mov eax, dword [esi]
jmp 0x1004f5b3
xor eax, eax
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x1824]
dec ecx
mov eax, dword [eax + 4]
and ecx, edx
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edi*8]
cmp byte [eax + 0x18], 0
jne 0x1004f618
test esi, esi
je 0x1004f5d6
mov eax, dword [esi]
jmp 0x1004f5d8
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edx
mov eax, dword [eax + ecx*4]
mov edi, dword [eax + edi*8]
mov dword [ebp - 0x1824], edi
test esi, esi
je 0x1004f5f5
mov eax, dword [esi]
jmp 0x1004f5f7
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x181c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x1828]
mov ecx, dword [ecx + eax]
test edi, edi
je 0x1004f618
test ecx, ecx
jne 0x1004f630
mov edi, dword [ebp - 0x1818]
mov ecx, dword [ebp - 0x1820]
inc ecx
inc dword [ebp - 0x1814]
jmp 0x1004f50e
mov eax, dword [ecx + 0x34]
xorps xmm7, xmm7
movq xmm0, qword [ecx + 0x2c]
movss xmm4, dword [ecx + 0x20]
movss xmm5, dword [edi + 0x20]
movss xmm6, dword [ecx + 0x3448]
mov dword [ebp - 0x1830], eax
mov eax, dword [0x101f6e8c]
movq qword [ebp - 0x1838], xmm0
movaps xmm0, xmm4
subss xmm0, xmm5
movss xmm2, dword [0x100e8adc]
movss xmm3, dword [eax + 0x10]
movaps xmm1, xmm3
subss xmm1, xmm6
divss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
comiss xmm7, xmm0
ja 0x1004f690
comiss xmm0, xmm2
jbe 0x1004f6a0
movss dword [ecx + 0x3448], xmm3
movaps xmm6, xmm3
movss xmm5, dword [edi + 0x20]
subss xmm3, xmm6
movaps xmm1, xmm2
subss xmm4, xmm5
divss xmm3, xmm4
subss xmm1, xmm3
comiss xmm1, xmm2
jbe 0x1004f6bd
movaps xmm1, xmm2
jmp 0x1004f6c1
maxss xmm1, xmm7
movq xmm0, qword [edi + 0x2c]
subss xmm2, xmm1
movss xmm3, dword [ebp - 0x1838]
lea esi, [ebp - 0x1804]
mov eax, dword [edi + 0x34]
mov edi, 0x80
movq qword [ebp - 0x1810], xmm0
movss xmm0, dword [ebp - 0x1810]
mulss xmm3, xmm2
mov dword [ebp - 0x1808], eax
mulss xmm0, xmm1
addss xmm3, xmm0
movss xmm0, dword [ebp - 0x180c]
mulss xmm0, xmm1
movss dword [ebp - 0x1828], xmm3
movss xmm3, dword [ebp - 0x1834]
mulss xmm3, xmm2
addss xmm3, xmm0
movss xmm0, dword [ebp - 0x1808]
mulss xmm0, xmm1
movss dword [ebp - 0x1820], xmm3
movss xmm3, dword [ebp - 0x1830]
mulss xmm3, xmm2
addss xmm3, xmm0
movss dword [ebp - 0x181c], xmm3
mov ecx, esi
call fcn.1002c820
add esi, 0x30
sub edi, 1
jne 0x1004f752
mov edi, dword [ebp - 0x1824]
push 0x1800
lea eax, [edi + 0x3d8]
push eax
lea eax, [ebp - 0x1804]
push eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm3, dword [ebp - 0x1828]
lea eax, [ebp - 0x17e8]
movss xmm4, dword [ebp - 0x1820]
lea ecx, [edi + 0x3f4]
movss xmm5, dword [ebp - 0x181c]
add esp, 0xc
mov edx, 0x80
nop dword [eax + eax]
movss xmm2, dword [ecx - 0x10]
movss xmm1, dword [ecx]
movss xmm0, dword [ecx + 0x10]
add ecx, 0x30
subss xmm2, dword [edi + 0x2c]
subss xmm1, dword [edi + 0x30]
subss xmm0, dword [edi + 0x34]
addss xmm2, xmm3
addss xmm1, xmm4
addss xmm0, xmm5
movss dword [eax - 0x10], xmm2
movss dword [eax], xmm1
movss dword [eax + 0x10], xmm0
add eax, 0x30
sub edx, 1
jne 0x1004f7b0
push 0x1800
lea eax, [ebp - 0x1804]
push eax
push dword [ebp - 0x182c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100d283c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100d283c
mov esp, ebp
pop ebp
ret 8