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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1838
call fcn.10128d40
mov eax, dword [0x1016c008]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x101f4698]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1820], 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
mov dword [ebp - 0x1818], esi
test esi, esi
je 0x1001678e
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x1001678e
mov eax, dword [0x101f5c34]
add eax, 0xffffffcc
xor eax, 0xea42ce00
cmp dword [eax + esi], 0
jne 0x1001678e
mov eax, dword [0x101f4834]
cmp byte [eax + esi], 0
jne 0x1001678e
mov edx, dword [0x101f5c0c]
mov eax, dword [0x101df848]
add edx, 0xffffffd6
xor edx, 0xea42cdf6
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1001634e
mov ecx, dword [0x101f4774]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1001678e
imul eax, edi, 0xad4
lea eax, [eax + 0x101b26d8]
mov dword [ebp - 0x181c], eax
test eax, eax
je 0x1001678e
mov eax, dword [eax + 0x18]
test eax, eax
je 0x1001678e
cmp eax, 2
jb 0x1001678e
mov ecx, dword [0x101f4694]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1001678e
mov ecx, dword [0x1021e43c]
test cl, 1
jne 0x10016424
or ecx, 1
mov dword [0x1021e43c], ecx
mov eax, dword [0x101f4690]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x180c], eax
test eax, eax
je 0x1001640c
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x100163d0
xor edx, edx
test ecx, ecx
je 0x100163ff
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100163e0
cmp esi, 0x8c8dc452
je 0x10016416
mov eax, dword [ebp - 0x180c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x180c], eax
test eax, eax
jne 0x100163c4
xor ecx, ecx
mov dword [0x1021e430], ecx
jmp 0x1001642a
mov ecx, dword [ebp - 0x180c]
mov dword [0x1021e430], ecx
jmp 0x1001642a
mov ecx, dword [0x1021e430]
test ecx, ecx
je 0x10016445
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1810], eax
call dword [ebp - 0x1810]
fstp dword [0x1016c0d4]
mov ecx, dword [ebp - 0x181c]
mov eax, dword [ecx + 0x18]
add eax, dword [ecx + 0x14]
mov edi, dword [ecx + 8]
lea esi, [eax - 1]
mov ecx, dword [ecx + 0x14]
mov dword [ebp - 0x180c], eax
mov dword [ebp - 0x1814], ecx
cmp eax, ecx
je 0x1001678e
test edi, edi
je 0x10016476
mov ecx, dword [edi]
jmp 0x10016478
xor ecx, ecx
mov edx, dword [ecx + 8]
mov eax, esi
shr eax, 1
dec edx
and edx, eax
mov eax, dword [ecx + 4]
mov ecx, esi
and ecx, 1
mov eax, dword [eax + edx*4]
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x1810], eax
test eax, eax
je 0x100164d4
mov ecx, eax
call fcn.10015ad0
test al, al
je 0x100164d4
cmp esi, dword [ebp - 0x1814]
je 0x100164d4
test edi, edi
je 0x100164b5
mov ecx, dword [edi]
jmp 0x100164b7
xor ecx, ecx
mov eax, dword [ecx + 8]
lea edx, [esi - 1]
dec eax
shr edx, 1
and edx, eax
mov eax, dword [ecx + 4]
lea ecx, [esi - 1]
and ecx, 1
mov eax, dword [eax + edx*4]
cmp dword [eax + ecx*8], 0
jne 0x100164e7
mov eax, dword [ebp - 0x180c]
mov ecx, dword [ebp - 0x181c]
dec eax
dec esi
jmp 0x10016457
mov ecx, dword [ebp - 0x1818]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebp - 0x1810]
movss xmm1, dword [ecx + 0x24]
movss xmm0, dword [ecx + 0x28]
subss xmm0, dword [eax + 4]
subss xmm1, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.10004d50
movss xmm3, dword [0x10162728]
comiss xmm3, xmm0
ja 0x1001678e
mov edx, dword [ebp - 0x180c]
add edx, 0xfffffffe
test edi, edi
je 0x10016540
mov eax, dword [edi]
jmp 0x10016542
xor eax, eax
mov ecx, dword [eax + 8]
mov esi, edx
mov eax, dword [eax + 4]
dec ecx
shr esi, 1
and edx, 1
and ecx, esi
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*8]
movq xmm0, qword [eax + 0x24]
mov eax, dword [eax + 0x2c]
movq qword [ebp - 0x182c], xmm0
mov dword [ebp - 0x1824], eax
test edi, edi
je 0x10016576
mov eax, dword [edi]
jmp 0x10016578
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, esi
mov esi, dword [ebp - 0x1808]
push 0
mov eax, dword [eax + ecx*4]
mov ecx, esi
mov eax, dword [eax + edx*8]
movss xmm0, dword [eax + 0x14]
mov eax, dword [esi]
movss dword [ebp - 0x1814], xmm0
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1808], eax
call dword [ebp - 0x1808]
mov eax, dword [esi]
mov ecx, esi
fstp dword [ebp - 0x1818]
push 1
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1808], eax
call dword [ebp - 0x1808]
fadd dword [ebp - 0x1818]
mov edi, dword [ebp - 0x1810]
mov eax, dword [0x101f46f4]
movss xmm1, dword [ebp - 0x1814]
movss xmm2, dword [edi + 0x14]
fstp dword [ebp - 0x1808]
movss xmm0, dword [ebp - 0x1808]
subss xmm1, xmm2
addss xmm0, dword [0x101dff58]
addss xmm2, xmm0
addss xmm2, xmm1
subss xmm2, dword [eax + 0x10]
divss xmm2, xmm1
movss xmm1, dword [0x10162728]
comiss xmm2, xmm1
jbe 0x10016625
movaps xmm2, xmm1
jmp 0x1001662d
maxss xmm2, dword [0x101625e4]
movq xmm0, qword [edi + 0x24]
subss xmm1, xmm2
mov eax, dword [edi + 0x2c]
lea esi, [ebp - 0x1804]
movq qword [ebp - 0x1838], xmm0
mov edi, 0x80
movss xmm0, dword [ebp - 0x1838]
mulss xmm0, xmm2
mov dword [ebp - 0x1830], eax
movaps xmm3, xmm1
mulss xmm3, dword [ebp - 0x182c]
addss xmm3, xmm0
movss xmm0, dword [ebp - 0x1834]
mulss xmm0, xmm2
movss dword [ebp - 0x1818], xmm3
movaps xmm3, xmm1
mulss xmm3, dword [ebp - 0x1828]
mulss xmm1, dword [ebp - 0x1824]
addss xmm3, xmm0
movss xmm0, dword [ebp - 0x1830]
mulss xmm0, xmm2
addss xmm1, xmm0
movss dword [ebp - 0x1814], xmm3
movss dword [ebp - 0x1808], xmm1
mov ecx, esi
call fcn.10005ed0
add esi, 0x30
sub edi, 1
jne 0x100166b8
mov edi, dword [ebp - 0x1810]
lea eax, [ebp - 0x1804]
push 0x1800
mov esi, dword [edi + 0x3ec]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm6, dword [edi + 0x24]
lea eax, [ebp - 0x17e8]
movss xmm7, dword [edi + 0x28]
add esp, 0xc
movss xmm3, dword [ebp - 0x1808]
add esi, 0x1c
movss xmm4, dword [ebp - 0x1818]
mov ecx, 0x80
movss xmm5, dword [ebp - 0x1814]
nop dword [eax + eax]
movss xmm2, dword [esi - 0x10]
movss xmm1, dword [esi]
subss xmm2, xmm6
movss xmm0, dword [esi + 0x10]
subss xmm1, xmm7
subss xmm0, dword [edi + 0x2c]
add esi, 0x30
addss xmm2, xmm4
addss xmm1, xmm5
addss xmm0, xmm3
movss dword [eax - 0x10], xmm2
movss dword [eax], xmm1
movss dword [eax + 0x10], xmm0
add eax, 0x30
sub ecx, 1
jne 0x10016720
push 0x1800
lea eax, [ebp - 0x1804]
push eax
push dword [ebp - 0x1820]
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.1012838d
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1012838d
mov esp, ebp
pop ebp
ret 8