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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1844
call fcn.100ce4e0
mov eax, dword [0x100e8040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1010e76c]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1838], 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 - 0x1824], esi
test esi, esi
je 0x1002f1f0
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x1002f1f0
mov eax, dword [0x1010e97c]
add eax, 0xffffffcc
xor eax, 0xd81b7558
cmp dword [eax + esi], 0
jne 0x1002f1f0
mov eax, dword [0x1010e8fc]
cmp byte [eax + esi], 0
jne 0x1002f1f0
mov edx, dword [0x1010e954]
mov eax, dword [0x100e80a0]
add edx, 0xffffffd6
xor edx, 0xd81b754e
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1002ecde
mov ecx, dword [0x1010e83c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1002f1f0
imul eax, edi, 0x4ac
lea esi, [eax + 0x100f8c50]
mov dword [ebp - 0x1828], esi
test esi, esi
je 0x1002f1f0
mov eax, dword [esi + 0x18]
test eax, eax
je 0x1002f1f0
cmp eax, 2
jb 0x1002f1f0
mov ecx, dword [0x1010e768]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1002f1f0
mov ecx, dword [0x10114600]
test cl, 1
jne 0x1002edc0
or ecx, 1
mov dword [0x10114600], ecx
mov eax, dword [0x1010e764]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1818], eax
test eax, eax
je 0x1002eda2
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002ed60
xor edx, edx
test ecx, ecx
je 0x1002ed8f
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002ed70
cmp esi, 0x8c8dc452
je 0x1002edac
mov eax, dword [ebp - 0x1818]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1818], eax
test eax, eax
jne 0x1002ed54
mov esi, dword [ebp - 0x1828]
xor ecx, ecx
mov dword [0x101145fc], ecx
jmp 0x1002edc6
mov ecx, dword [ebp - 0x1818]
mov esi, dword [ebp - 0x1828]
mov dword [0x101145fc], ecx
jmp 0x1002edc6
mov ecx, dword [0x101145fc]
test ecx, ecx
je 0x1002ede1
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x181c], eax
call dword [ebp - 0x181c]
fstp dword [0x100e8094]
mov edi, dword [esi + 0x18]
mov edx, dword [esi + 8]
add edi, dword [esi + 0x14]
mov dword [ebp - 0x1818], edx
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x1820], eax
cmp edi, eax
je 0x1002f1f0
dec edi
test edx, edx
je 0x1002ee0a
mov ecx, dword [edx]
jmp 0x1002ee0c
xor ecx, ecx
mov eax, dword [ecx + 8]
mov edx, edi
dec eax
shr edx, 1
and edx, eax
mov eax, dword [ecx + 4]
mov ecx, edi
and ecx, 1
mov eax, dword [eax + edx*4]
mov eax, dword [eax + ecx*8]
mov dword [ebp - 0x182c], eax
test eax, eax
je 0x1002efa1
mov ecx, dword [0x1010e9a8]
mov eax, dword [0x100e80a0]
add ecx, 0xffffffc1
xor ecx, 0xd81b7563
push 1
mov esi, dword [ecx + eax]
mov eax, dword [0x1010e7c4]
mov ecx, dword [0x1010e7d0]
vmovss xmm0, dword [eax + 0x20]
mov eax, dword [ecx]
vmovss dword [ebp - 0x1834], xmm0
vmovss xmm0, dword [0x100e8464]
vaddss xmm0, xmm0, dword [0x100e8460]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x181c], eax
vmovss dword [ebp - 0x1830], xmm0
call dword [ebp - 0x181c]
mov ecx, dword [0x1010e80c]
fadd dword [ebp - 0x1830]
mov eax, dword [ecx]
fstp dword [ebp - 0x181c]
mov eax, dword [eax + 0x30]
call eax
mov eax, dword [ebp - 0x182c]
vmovss xmm2, dword [ebp - 0x1834]
fstp dword [ebp - 0x1830]
vmovss xmm0, dword [ebp - 0x1830]
vminss xmm0, xmm0, dword [ebp - 0x181c]
vmaxss xmm1, xmm0, dword [0x100dcb44]
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, esi
vfmsub213ss xmm2, xmm0, dword [eax + 0x18]
vsubss xmm0, xmm1, xmm2
call fcn.1002e2a0
vmovss xmm1, dword [0x100dcbbc]
vcomiss xmm1, xmm0
jbe 0x1002ef90
cmp edi, dword [ebp - 0x1820]
je 0x1002ef90
mov edx, dword [ebp - 0x1818]
lea esi, [edi - 1]
test edx, edx
je 0x1002ef17
mov eax, dword [edx]
jmp 0x1002ef19
xor eax, eax
mov ecx, esi
and esi, 1
shr ecx, 1
mov dword [ebp - 0x181c], ecx
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x181c]
mov eax, dword [eax + ecx*4]
cmp dword [eax + esi*8], 0
je 0x1002ef96
mov ecx, dword [ebp - 0x1824]
mov eax, dword [ecx]
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebp - 0x182c]
vmovss xmm0, dword [ecx + 0x24]
vsubss xmm1, xmm0, dword [eax]
vmovss xmm0, dword [ecx + 0x28]
vsubss xmm0, xmm0, dword [eax + 4]
vmulss xmm1, xmm1, xmm1
vfmadd213ss xmm0, xmm0, xmm1
call fcn.100234f0
vmovss xmm1, dword [0x100dcc40]
vcomiss xmm1, xmm0
ja 0x1002f1f0
mov edx, dword [ebp - 0x1818]
test edx, edx
je 0x1002efac
mov eax, dword [edx]
jmp 0x1002efae
mov edx, dword [ebp - 0x1818]
mov esi, dword [ebp - 0x1828]
jmp 0x1002edf0
mov edx, dword [ebp - 0x1818]
jmp 0x1002edf0
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
mov edi, dword [ebp - 0x181c]
and ecx, edi
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + esi*8]
vmovq xmm0, qword [eax + 0x24]
mov eax, dword [eax + 0x2c]
mov dword [ebp - 0x183c], eax
vmovq qword [ebp - 0x1844], xmm0
test edx, edx
je 0x1002efe1
mov eax, dword [edx]
jmp 0x1002efe3
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, edi
push 0
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + esi*8]
mov esi, dword [ebp - 0x1808]
mov ecx, esi
vmovss xmm0, dword [eax + 0x18]
mov eax, dword [esi]
vmovss dword [ebp - 0x1820], 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 - 0x1824]
push 1
mov eax, dword [eax + 0x28]
mov dword [ebp - 0x1808], eax
call dword [ebp - 0x1808]
fadd dword [ebp - 0x1824]
mov edi, dword [ebp - 0x182c]
lea ecx, [ebp - 0x1808]
mov eax, dword [0x1010e7c4]
push 0x1800
vmovss xmm0, dword [0x100e8460]
vmovss xmm1, dword [ebp - 0x1820]
vsubss xmm1, xmm1, dword [edi + 0x18]
vmovss xmm4, dword [0x100dcc40]
fstp dword [ebp - 0x1808]
vaddss xmm2, xmm0, dword [ebp - 0x1808]
vaddss xmm0, xmm2, dword [edi + 0x18]
vaddss xmm0, xmm0, xmm1
vsubss xmm0, xmm0, dword [eax + 0x10]
vdivss xmm0, xmm0, xmm1
mov esi, dword [edi + 0x3c8]
lea eax, [ebp - 0x1824]
vxorps xmm3, xmm3, xmm3
vcomiss xmm0, xmm3
vmovss dword [ebp - 0x1824], xmm0
cmovae ecx, eax
lea eax, [ebp - 0x1820]
vcomiss xmm4, xmm0
vmovq xmm0, qword [edi + 0x24]
cmovae eax, ecx
vmovss dword [ebp - 0x1808], xmm3
vmovss xmm3, dword [ebp - 0x1844]
vmovss dword [ebp - 0x1820], xmm4
vmovss xmm2, dword [eax]
mov eax, dword [edi + 0x2c]
vmovq qword [ebp - 0x1814], xmm0
vmulss xmm0, xmm2, dword [ebp - 0x1814]
vsubss xmm1, xmm4, xmm2
vfmadd213ss xmm3, xmm1, xmm0
vmulss xmm0, xmm2, dword [ebp - 0x1810]
vmovss dword [ebp - 0x1808], xmm3
vmovss xmm3, dword [ebp - 0x1840]
mov dword [ebp - 0x180c], eax
lea eax, [ebp - 0x1804]
vfmadd213ss xmm3, xmm1, xmm0
vmulss xmm0, xmm2, dword [ebp - 0x180c]
vmovss xmm2, dword [ebp - 0x183c]
vfmadd213ss xmm2, xmm1, xmm0
push esi
push eax
vmovss dword [ebp - 0x1824], xmm3
vmovss dword [ebp - 0x1820], xmm2
call sub.VCRUNTIME140.dll_memcpy
vmovss xmm6, dword [edi + 0x24]
vmovss xmm7, dword [edi + 0x28]
vmovss xmm3, dword [ebp - 0x1808]
vmovss xmm4, dword [ebp - 0x1824]
vmovss xmm5, dword [ebp - 0x1820]
add esp, 0xc
lea eax, [ebp - 0x17e8]
add esi, 0x1c
mov ecx, 0x80
nop
lea esi, [esi + 0x30]
lea eax, [eax + 0x30]
vmovss xmm0, dword [esi - 0x40]
vsubss xmm0, xmm0, xmm6
vaddss xmm2, xmm0, xmm3
vmovss xmm0, dword [esi - 0x30]
vsubss xmm0, xmm0, xmm7
vaddss xmm1, xmm0, xmm4
vmovss xmm0, dword [esi - 0x20]
vsubss xmm0, xmm0, dword [edi + 0x2c]
vaddss xmm0, xmm0, xmm5
vmovss dword [eax - 0x40], xmm2
vmovss dword [eax - 0x30], xmm1
vmovss dword [eax - 0x20], xmm0
sub ecx, 1
jne 0x1002f180
push 0x1800
lea eax, [ebp - 0x1804]
push eax
push dword [ebp - 0x1838]
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.100cd0ec
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100cd0ec
mov esp, ebp
pop ebp
ret 8