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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1848
call fcn.100e8a70
mov eax, dword [0x101040b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1013b4b0]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x183c], eax
push esi
mov eax, dword [ecx]
mov esi, dword [ebp + 8]
push edi
push esi
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x181c], 0
call eax
mov edi, eax
mov dword [ebp - 0x1834], edi
test edi, edi
je 0x1002a931
mov ecx, dword [edi]
mov edx, dword [ecx + 0x260]
mov ecx, edi
call edx
test al, al
je 0x1002a931
mov eax, dword [0x1013b6c8]
add eax, 0xffffffc7
xor eax, 0xee847b80
cmp dword [eax + edi], 0
jne 0x1002a931
mov eax, dword [0x1013b64c]
cmp byte [eax + edi], 0
jne 0x1002a931
mov edx, dword [0x1013b6a0]
mov eax, dword [0x10122b60]
add edx, 0xffffffd1
xor edx, 0xee847b76
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x1002a288
mov ecx, dword [0x1013b584]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1002a931
imul eax, esi, 0x47c
lea eax, [eax + 0x1010f5e0]
mov dword [ebp - 0x182c], eax
test eax, eax
je 0x1002a931
mov eax, dword [eax + 0x18]
test eax, eax
je 0x1002a931
cmp eax, 2
jb 0x1002a931
mov ecx, dword [0x1013b4ac]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1814], eax
test eax, eax
je 0x1002a931
mov ecx, dword [0x10140928]
test cl, 1
jne 0x1002a364
or ecx, 1
mov dword [0x10140928], ecx
mov eax, dword [0x1013b4a8]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1818], eax
test eax, eax
je 0x1002a34c
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002a310
xor edx, edx
test ecx, ecx
je 0x1002a33f
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002a320
cmp esi, 0x8c8dc452
je 0x1002a356
mov eax, dword [ebp - 0x1818]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1818], eax
test eax, eax
jne 0x1002a300
xor ecx, ecx
mov dword [0x10140920], ecx
jmp 0x1002a36a
mov ecx, dword [ebp - 0x1818]
mov dword [0x10140920], ecx
jmp 0x1002a36a
mov ecx, dword [0x10140920]
test ecx, ecx
je 0x1002a385
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1818], eax
call dword [ebp - 0x1818]
fstp dword [0x101040c8]
mov edx, dword [ebp - 0x182c]
xor edi, edi
mov eax, dword [edx + 0x18]
add eax, dword [edx + 0x14]
mov ecx, dword [edx + 8]
mov dword [ebp - 0x1820], eax
test ecx, ecx
je 0x1002a3a8
mov ecx, dword [ecx]
test ecx, ecx
je 0x1002a3a8
mov edi, dword [ecx]
lea esi, [eax - 1]
nop dword [eax + eax]
mov ecx, dword [edx + 0x14]
mov dword [ebp - 0x1830], ecx
cmp eax, ecx
je 0x1002a931
test edi, edi
je 0x1002a3d5
mov eax, dword [edi]
test eax, eax
je 0x1002a3d5
mov ecx, dword [eax]
test ecx, ecx
je 0x1002a3d5
mov ecx, dword [ecx]
jmp 0x1002a3d7
xor ecx, ecx
mov eax, dword [ecx + 8]
mov edx, esi
dec eax
shr edx, 1
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 - 0x1818], eax
test eax, eax
je 0x1002a541
mov ecx, dword [0x1013b6f0]
mov eax, dword [0x10122b60]
add ecx, 0xffffffbd
xor ecx, 0xee847b8a
push 1
movd xmm0, dword [ecx + eax]
mov eax, dword [0x1013b508]
mov ecx, dword [0x1013b514]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
mov eax, dword [ecx]
movss dword [ebp - 0x1828], xmm0
movss xmm0, dword [0x10122f28]
addss xmm0, dword [0x10122f24]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1838], eax
movss dword [ebp - 0x1824], xmm0
call dword [ebp - 0x1838]
mov ecx, dword [0x1013b550]
fadd dword [ebp - 0x1824]
mov eax, dword [ecx]
fstp dword [ebp - 0x1838]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1824], eax
call dword [ebp - 0x1824]
movss xmm1, dword [ebp - 0x1838]
fstp dword [ebp - 0x1824]
movss xmm0, dword [ebp - 0x1824]
comiss xmm1, xmm0
ja 0x1002a49d
movaps xmm0, xmm1
xorps xmm2, xmm2
comiss xmm0, xmm2
ja 0x1002a4a8
xorps xmm0, xmm0
mov eax, dword [ebp - 0x1818]
movss xmm1, dword [ebp - 0x1828]
subss xmm1, dword [eax + 0x14]
subss xmm0, xmm1
call fcn.10029cb0
movss xmm1, dword [0x100f7ed8]
comiss xmm1, xmm0
jbe 0x1002a541
cmp esi, dword [ebp - 0x1830]
je 0x1002a541
or dword [ebp - 0x181c], 1
xor eax, eax
test edi, edi
je 0x1002a4ee
mov ecx, dword [edi]
test ecx, ecx
je 0x1002a4ee
mov eax, dword [ecx]
xor ecx, ecx
test eax, eax
je 0x1002a4fc
mov eax, dword [eax]
test eax, eax
je 0x1002a4fc
mov ecx, dword [eax]
xor eax, eax
test ecx, ecx
je 0x1002a50a
mov ecx, dword [ecx]
test ecx, ecx
je 0x1002a50a
mov eax, dword [ecx]
test eax, eax
je 0x1002a51e
mov eax, dword [eax]
test eax, eax
je 0x1002a51e
mov ecx, dword [eax]
test ecx, ecx
je 0x1002a51e
mov ecx, dword [ecx]
jmp 0x1002a520
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
je 0x1002a541
mov al, 1
jmp 0x1002a543
xor al, al
mov ecx, dword [ebp - 0x181c]
test cl, 1
je 0x1002a557
and ecx, 0xfffffffe
mov dword [ebp - 0x181c], ecx
test al, al
jne 0x1002a574
mov eax, dword [ebp - 0x1820]
mov edx, dword [ebp - 0x182c]
dec eax
mov dword [ebp - 0x1820], eax
dec esi
jmp 0x1002a3b0
mov ecx, dword [ebp - 0x1834]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebp - 0x1818]
movss xmm1, dword [ecx + 0x20]
movss xmm0, dword [ecx + 0x24]
subss xmm0, dword [eax + 4]
subss xmm1, dword [eax]
mulss xmm0, xmm0
mulss xmm1, xmm1
addss xmm0, xmm1
call fcn.1001eaf0
movss xmm1, dword [0x100f7f64]
comiss xmm1, xmm0
ja 0x1002a931
cmp esi, dword [ebp - 0x1830]
jne 0x1002a5dc
mov ecx, dword [ebp - 0x1834]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov edx, dword [ebp - 0x1820]
jmp 0x1002a666
xor eax, eax
test edi, edi
je 0x1002a5ea
mov ecx, dword [edi]
test ecx, ecx
je 0x1002a5ea
mov eax, dword [ecx]
xor ecx, ecx
test eax, eax
je 0x1002a5f8
mov eax, dword [eax]
test eax, eax
je 0x1002a5f8
mov ecx, dword [eax]
xor eax, eax
test ecx, ecx
je 0x1002a606
mov ecx, dword [ecx]
test ecx, ecx
je 0x1002a606
mov eax, dword [ecx]
xor ecx, ecx
test eax, eax
je 0x1002a614
mov eax, dword [eax]
test eax, eax
je 0x1002a614
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1820]
lea eax, [edx - 2]
mov dword [ebp - 0x181c], eax
test ecx, ecx
jne 0x1002a62f
mov dword [ebp - 0x1820], ecx
jmp 0x1002a637
mov ecx, dword [ecx]
mov dword [ebp - 0x1820], ecx
and dword [ebp - 0x181c], 1
mov ecx, eax
mov eax, dword [ebp - 0x1820]
shr ecx, 1
mov eax, dword [eax + 8]
dec eax
and ecx, eax
mov eax, dword [ebp - 0x1820]
mov eax, dword [eax + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x181c]
mov eax, dword [eax + ecx*8]
add eax, 0x20
movq xmm0, qword [eax]
mov eax, dword [eax + 8]
movq qword [ebp - 0x1848], xmm0
mov dword [ebp - 0x1840], eax
cmp esi, dword [ebp - 0x1830]
jne 0x1002a69d
mov eax, dword [0x1013b6fc]
mov ecx, dword [ebp - 0x1834]
add eax, 0xffffffba
xor eax, 0xee847b8d
movss xmm0, dword [eax + ecx]
jmp 0x1002a6fd
xor eax, eax
test edi, edi
je 0x1002a6ab
mov ecx, dword [edi]
test ecx, ecx
je 0x1002a6ab
mov eax, dword [ecx]
xor ecx, ecx
test eax, eax
je 0x1002a6b9
mov eax, dword [eax]
test eax, eax
je 0x1002a6b9
mov ecx, dword [eax]
xor eax, eax
test ecx, ecx
je 0x1002a6c7
mov ecx, dword [ecx]
test ecx, ecx
je 0x1002a6c7
mov eax, dword [ecx]
xor ecx, ecx
test eax, eax
je 0x1002a6d5
mov eax, dword [eax]
test eax, eax
je 0x1002a6d5
mov ecx, dword [eax]
add edx, 0xfffffffe
test ecx, ecx
jne 0x1002a6e0
xor edi, edi
jmp 0x1002a6e2
mov edi, dword [ecx]
mov eax, dword [edi + 8]
mov ecx, edx
dec eax
shr ecx, 1
and ecx, eax
mov eax, dword [edi + 4]
and edx, 1
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*8]
movss xmm0, dword [eax + 0x14]
mov edi, dword [ebp - 0x1814]
mov ecx, edi
push 0
movss dword [ebp - 0x182c], xmm0
mov eax, dword [edi]
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1814], eax
call dword [ebp - 0x1814]
mov eax, dword [edi]
mov ecx, edi
fstp dword [ebp - 0x1828]
push 1
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1814], eax
call dword [ebp - 0x1814]
fadd dword [ebp - 0x1828]
mov ecx, dword [ebp - 0x1818]
movss xmm2, dword [0x100f7f64]
fadd dword [0x10122f24]
movss xmm0, dword [ecx + 0x14]
fstp dword [ebp - 0x1814]
cmp esi, dword [ebp - 0x1830]
jne 0x1002a76d
movaps xmm1, xmm2
jmp 0x1002a779
movss xmm1, dword [ebp - 0x182c]
subss xmm1, xmm0
addss xmm0, dword [ebp - 0x1814]
mov eax, dword [0x1013b508]
mov dword [ebp - 0x1824], 0x3f800000
mov dword [ebp - 0x1828], 0
addss xmm0, xmm1
subss xmm0, dword [eax + 0x10]
divss xmm0, xmm1
comiss xmm0, xmm2
movss dword [ebp - 0x1814], xmm0
jbe 0x1002a7b9
movaps xmm3, xmm2
jmp 0x1002a7d2
xorps xmm1, xmm1
lea eax, [ebp - 0x1828]
comiss xmm0, xmm1
lea edx, [ebp - 0x1814]
cmovae eax, edx
movss xmm3, dword [eax]
movq xmm0, qword [ecx + 0x20]
subss xmm2, xmm3
movq qword [ebp - 0x1810], xmm0
lea esi, [ebp - 0x1804]
movss xmm1, dword [ebp - 0x1810]
mov edi, 0x80
movss xmm0, dword [ebp - 0x1848]
mov eax, dword [ecx + 0x28]
mulss xmm1, xmm3
mov dword [ebp - 0x1808], eax
mulss xmm0, xmm2
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x1844]
mulss xmm0, xmm2
movss dword [ebp - 0x1814], xmm1
movss xmm1, dword [ebp - 0x180c]
mulss xmm1, xmm3
addss xmm1, xmm0
movss xmm0, dword [ebp - 0x1840]
mulss xmm0, xmm2
movss dword [ebp - 0x1828], xmm1
movss xmm1, dword [ebp - 0x1808]
mulss xmm1, xmm3
addss xmm1, xmm0
movss dword [ebp - 0x1824], xmm1
mov ecx, esi
call fcn.1001f010
add esi, 0x30
sub edi, 1
jne 0x1002a863
mov edi, dword [ebp - 0x1818]
lea eax, [ebp - 0x1804]
push 0x1800
mov esi, dword [edi + 0x3c4]
push esi
push eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm6, dword [edi + 0x20]
lea eax, [ebp - 0x17e8]
movss xmm7, dword [edi + 0x24]
add esp, 0xc
movss xmm3, dword [ebp - 0x1814]
add esi, 0x1c
movss xmm4, dword [ebp - 0x1828]
mov ecx, 0x80
movss xmm5, dword [ebp - 0x1824]
movss xmm2, dword [esi - 0x10]
movss xmm1, dword [esi]
subss xmm2, xmm6
movss xmm0, dword [esi + 0x10]
subss xmm1, xmm7
subss xmm0, dword [edi + 0x28]
add esi, 0x30
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 ecx, 1
jne 0x1002a8c3
push 0x1800
lea eax, [ebp - 0x1804]
push eax
push dword [ebp - 0x183c]
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.100e7827
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100e7827
mov esp, ebp
pop ebp
ret 8