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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x184c
call fcn.100b12a0
mov eax, dword [0x100cf360]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x101ccc04]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1840], 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 0x1002d620
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x1002d620
mov eax, dword [0x101cce24]
add eax, 0xffffffc9
xor eax, 0x533929d4
cmp dword [eax + esi], 0
jne 0x1002d620
mov eax, dword [0x101ccd90]
cmp byte [eax + esi], 0
jne 0x1002d620
mov edx, dword [0x101ccdf8]
mov eax, dword [0x100cf3d0]
add edx, 0xffffffd4
xor edx, 0x533929c9
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1002cef8
mov ecx, dword [0x101cccd4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1002d620
imul eax, edi, 0x1e70
lea edi, [eax + 0x100edb90]
mov dword [ebp - 0x1820], edi
test edi, edi
je 0x1002d620
mov eax, dword [edi + 0x18]
test eax, eax
je 0x1002d620
cmp eax, 2
jb 0x1002d620
cmp eax, 3
jb 0x1002d620
mov ecx, dword [0x101ccc00]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1002d620
mov eax, dword [0x101d4da8]
test al, 1
jne 0x1002cfe0
or eax, 1
mov dword [0x101d4da8], eax
mov eax, dword [0x101ccbfc]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x182c], eax
test eax, eax
je 0x1002cfc2
nop
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002cf80
xor edx, edx
test ecx, ecx
je 0x1002cfaf
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002cf90
cmp esi, 0x8c8dc452
je 0x1002cfcc
mov eax, dword [ebp - 0x182c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x182c], eax
test eax, eax
jne 0x1002cf70
mov edi, dword [ebp - 0x1820]
xor ecx, ecx
mov dword [0x101d4dac], ecx
jmp 0x1002cfe6
mov ecx, dword [ebp - 0x182c]
mov edi, dword [ebp - 0x1820]
mov dword [0x101d4dac], ecx
jmp 0x1002cfe6
mov ecx, dword [0x101d4dac]
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 - 0x182c], eax
mov eax, dword [edi + 0x14]
add eax, dword [edi + 0x18]
mov dword [ebp - 0x1838], ecx
cmp ecx, eax
je 0x1002d620
test esi, esi
je 0x1002d01a
mov eax, dword [esi]
jmp 0x1002d01c
xor eax, eax
mov edi, ecx
mov edx, ecx
mov ecx, dword [eax + 8]
and edx, 1
mov eax, dword [eax + 4]
dec ecx
shr edi, 1
and ecx, edi
shl edx, 3
mov dword [ebp - 0x1810], edi
mov dword [ebp - 0x1834], edx
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x101ccc00]
mov edi, dword [edx + eax]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1002d416
cmp dword [0x100cf3d0], 0
je 0x1002d416
cmp byte [edi + 0x400], 0
je 0x1002d416
cmp byte [edi + 0x1c10], 0
jne 0x1002d416
mov ecx, dword [0x101ccc00]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1828], eax
test eax, eax
je 0x1002d1ce
cmp dword [0x100cf3d0], 0
je 0x1002d1ce
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x1808], ecx
mov ecx, eax
call dword [ebp - 0x1808]
mov ecx, dword [ebp - 0x1828]
fstp dword [ebp - 0x180c]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1808], eax
call dword [ebp - 0x1808]
mov ecx, dword [0x101ccca4]
fstp dword [ebp - 0x1808]
movss xmm0, dword [ebp - 0x1808]
addss xmm0, dword [ebp - 0x180c]
mov eax, dword [ecx]
addss xmm0, dword [0x100cfabc]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x180c], eax
movss dword [ebp - 0x1824], xmm0
movss dword [ebp - 0x1808], xmm0
call dword [ebp - 0x180c]
movss xmm1, dword [ebp - 0x1824]
lea eax, [ebp - 0x1808]
comiss xmm1, dword [0x100c4300]
lea ecx, [ebp - 0x180c]
mov dword [ebp - 0x180c], 0
fstp dword [ebp - 0x1828]
movss xmm0, dword [ebp - 0x1828]
cmovae ecx, eax
lea eax, [ebp - 0x1828]
comiss xmm0, xmm1
cmovae eax, ecx
mov ecx, dword [0x100cf3d0]
movss xmm1, dword [eax]
mov eax, dword [0x101cce24]
add eax, 0xffffffc9
xor eax, 0x533929d4
cmp dword [eax + ecx], 0
jne 0x1002d1a6
mov eax, dword [0x101cce58]
add eax, 0xffffffbc
xor eax, 0x533929e1
movd xmm0, dword [eax + ecx]
mov eax, dword [0x101ccc5c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002d1b0
mov eax, dword [0x101ccc5c]
movss xmm0, dword [eax + 0x10]
subss xmm0, dword [edi + 0x14]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.1001e4d0
comiss xmm0, dword [0x100c4390]
ja 0x1002d416
mov edi, dword [ebp - 0x1820]
mov ecx, dword [ebp - 0x182c]
mov eax, dword [edi + 0x14]
add eax, dword [edi + 0x18]
cmp ecx, eax
je 0x1002d41c
test esi, esi
je 0x1002d1f0
mov edx, dword [esi]
jmp 0x1002d1f2
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 - 0x1830], eax
mov eax, dword [edx + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [0x101ccc00]
mov eax, dword [eax + edi*8]
mov dword [ebp - 0x1808], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1002d3aa
cmp dword [0x100cf3d0], 0
je 0x1002d3aa
mov eax, dword [ebp - 0x1808]
cmp byte [eax + 0x400], 0
je 0x1002d3aa
cmp byte [eax + 0x1c10], 0
jne 0x1002d3aa
mov ecx, dword [0x101ccc00]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x180c], eax
test eax, eax
je 0x1002d416
cmp dword [0x100cf3d0], 0
je 0x1002d416
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x1824], ecx
mov ecx, eax
call dword [ebp - 0x1824]
mov ecx, dword [ebp - 0x180c]
fstp dword [ebp - 0x1828]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1824], eax
call dword [ebp - 0x1824]
mov ecx, dword [0x101ccca4]
fstp dword [ebp - 0x1824]
movss xmm0, dword [ebp - 0x1824]
addss xmm0, dword [ebp - 0x1828]
mov eax, dword [ecx]
addss xmm0, dword [0x100cfabc]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1824], eax
movss dword [ebp - 0x183c], xmm0
movss dword [ebp - 0x180c], xmm0
call dword [ebp - 0x1824]
movss xmm1, dword [ebp - 0x183c]
lea eax, [ebp - 0x180c]
xorps xmm6, xmm6
mov dword [ebp - 0x1824], 0
comiss xmm1, xmm6
lea ecx, [ebp - 0x1824]
fstp dword [ebp - 0x1828]
movss xmm0, dword [ebp - 0x1828]
cmovae ecx, eax
lea eax, [ebp - 0x1828]
comiss xmm0, xmm1
cmovae eax, ecx
mov ecx, dword [0x100cf3d0]
movss xmm1, dword [eax]
mov eax, dword [0x101cce24]
add eax, 0xffffffc9
xor eax, 0x533929d4
cmp dword [eax + ecx], 0
jne 0x1002d37e
mov eax, dword [0x101cce58]
add eax, 0xffffffbc
xor eax, 0x533929e1
movd xmm0, dword [eax + ecx]
mov eax, dword [0x101ccc5c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002d388
mov eax, dword [0x101ccc5c]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1808]
subss xmm0, dword [eax + 0x14]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.1001e4d0
comiss xmm0, dword [0x100c4390]
jbe 0x1002d416
jmp 0x1002d3ad
xorps xmm6, xmm6
test esi, esi
je 0x1002d3b5
mov eax, dword [esi]
jmp 0x1002d3b7
xor eax, eax
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x1830]
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 + 0x10], 0
jne 0x1002d416
test esi, esi
je 0x1002d3da
mov eax, dword [esi]
jmp 0x1002d3dc
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]
test esi, esi
je 0x1002d3f3
mov eax, dword [esi]
jmp 0x1002d3f5
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x1810]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x1834]
mov ecx, dword [ecx + eax]
test edi, edi
je 0x1002d416
test ecx, ecx
jne 0x1002d42e
mov edi, dword [ebp - 0x1820]
mov ecx, dword [ebp - 0x1838]
inc ecx
inc dword [ebp - 0x182c]
jmp 0x1002cffe
mov eax, dword [ecx + 0x28]
movq xmm0, qword [ecx + 0x20]
movss xmm5, dword [ecx + 0x14]
movss xmm4, dword [ecx + 0x1c60]
mov dword [ebp - 0x1844], eax
mov eax, dword [0x101ccc5c]
movq qword [ebp - 0x184c], xmm0
movaps xmm0, xmm5
subss xmm0, dword [edi + 0x14]
movss xmm3, dword [0x100c440c]
movss xmm2, dword [eax + 0x10]
movaps xmm1, xmm2
subss xmm1, xmm4
divss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm6, xmm0
ja 0x1002d487
comiss xmm0, xmm3
jbe 0x1002d492
movss dword [ecx + 0x1c60], xmm2
movaps xmm4, xmm2
subss xmm5, dword [edi + 0x14]
subss xmm2, xmm4
mov dword [ebp - 0x1830], 0x3f800000
movaps xmm0, xmm3
mov dword [ebp - 0x1834], 0
lea eax, [ebp - 0x1810]
lea ecx, [ebp - 0x1834]
push 0x1800
divss xmm2, xmm5
subss xmm0, xmm2
movss xmm2, dword [ebp - 0x184c]
comiss xmm0, xmm6
movss dword [ebp - 0x1810], xmm0
cmovae ecx, eax
lea eax, [ebp - 0x1830]
comiss xmm3, xmm0
movq xmm0, qword [edi + 0x20]
movq qword [ebp - 0x181c], xmm0
movss xmm0, dword [ebp - 0x181c]
cmovae eax, ecx
movss xmm1, dword [eax]
mov eax, dword [edi + 0x28]
subss xmm3, xmm1
mulss xmm0, xmm1
mov dword [ebp - 0x1814], eax
lea eax, [edi + 0x410]
push eax
lea eax, [ebp - 0x1804]
mulss xmm2, xmm3
push eax
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1818]
mulss xmm0, xmm1
movss dword [ebp - 0x1834], xmm2
movss xmm2, dword [ebp - 0x1848]
mulss xmm2, xmm3
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1814]
mulss xmm0, xmm1
movss dword [ebp - 0x1810], xmm2
movss xmm2, dword [ebp - 0x1844]
mulss xmm2, xmm3
addss xmm2, xmm0
movss dword [ebp - 0x1830], xmm2
call sub.VCRUNTIME140.dll_memcpy
movss xmm3, dword [ebp - 0x1834]
lea eax, [ebp - 0x17e8]
movss xmm4, dword [ebp - 0x1810]
lea ecx, [edi + 0x42c]
movss xmm5, dword [ebp - 0x1830]
add esp, 0xc
mov edx, 0x80
nop
movss xmm2, dword [ecx - 0x10]
movss xmm1, dword [ecx]
movss xmm0, dword [ecx + 0x10]
add ecx, 0x30
subss xmm2, dword [edi + 0x20]
subss xmm1, dword [edi + 0x24]
subss xmm0, dword [edi + 0x28]
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 0x1002d5b0
push 0x1800
lea eax, [ebp - 0x1804]
push eax
push dword [ebp - 0x1840]
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.100af496
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100af496
mov esp, ebp
pop ebp
ret 8