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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1838
call fcn.100a0950
mov eax, dword [0x100be008]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x1011793c]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x182c], eax
mov eax, dword [ecx]
push esi
push edi
push edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x181c], edx
call eax
mov esi, eax
test esi, esi
je 0x10028527
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x10028527
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x10028527
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
jle 0x10028527
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10028527
mov eax, dword [0x10117b80]
add eax, 0xffffffcb
xor eax, 0x193f62ac
cmp dword [eax + esi], 0
jne 0x10028527
mov eax, dword [0x10117af4]
cmp byte [eax + esi], 0
jne 0x10028527
mov edx, dword [0x10117b54]
mov eax, dword [0x100be240]
add edx, 0xffffffd6
xor edx, 0x193f62a1
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x10028128
mov ecx, dword [0x10117a1c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10028527
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10028527
mov eax, dword [0x10117bd0]
add eax, 0xffffffb7
xor eax, 0x193f62c0
movss xmm0, dword [eax + esi]
ucomiss xmm0, dword [0x100b35dc]
lahf
test ah, 0x44
jp 0x10028527
imul eax, dword [ebp - 0x181c], 0x1078
lea eax, [eax + 0x100d1c34]
mov dword [ebp - 0x1818], eax
test eax, eax
je 0x10028527
mov eax, dword [eax + 0x10]
test eax, eax
je 0x10028527
cmp eax, 2
jb 0x10028527
cmp eax, 3
jb 0x10028527
mov ecx, dword [0x10117938]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10028527
mov eax, dword [0x10117934]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1814], eax
test eax, eax
je 0x1002820c
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x100281d0
xor edx, edx
test ecx, ecx
je 0x100281ff
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x100281e0
cmp esi, 0x8c8dc452
je 0x10028247
mov eax, dword [ebp - 0x1814]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1814], eax
test eax, eax
jne 0x100281c3
xor ecx, ecx
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, dword [ebp - 0x1818]
fstp st(0)
mov ecx, dword [edx + 0xc]
mov esi, dword [edx]
lea edi, [ecx + 1]
mov eax, dword [edx + 0x10]
add eax, dword [edx + 0xc]
mov dword [ebp - 0x1814], edi
mov dword [ebp - 0x181c], ecx
cmp ecx, eax
je 0x10028527
test esi, esi
je 0x1002824f
mov eax, dword [esi]
jmp 0x10028251
mov ecx, dword [ebp - 0x1814]
jmp 0x1002820e
xor eax, eax
mov edx, ecx
shr edx, 1
mov dword [ebp - 0x1828], edx
mov edx, ecx
mov ecx, dword [eax + 8]
and edx, 1
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x1828]
shl edx, 3
mov dword [ebp - 0x1824], edx
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx + edx]
call fcn.10027950
mov edx, dword [ebp - 0x1818]
test al, al
je 0x10028349
mov eax, dword [edx + 0x10]
add eax, dword [edx + 0xc]
mov ecx, dword [ebp - 0x1814]
cmp ecx, eax
je 0x10028343
test esi, esi
je 0x100282ab
mov eax, dword [esi]
jmp 0x100282ad
xor eax, eax
mov edx, ecx
mov edi, ecx
mov ecx, dword [eax + 8]
and edi, 1
mov eax, dword [eax + 4]
dec ecx
shr edx, 1
and ecx, edx
mov dword [ebp - 0x1820], edx
mov ecx, dword [eax + ecx*4]
mov ecx, dword [ecx + edi*8]
call fcn.10027950
test al, al
jne 0x1002833d
test esi, esi
je 0x100282dc
mov eax, dword [esi]
jmp 0x100282de
xor eax, eax
mov ecx, dword [eax + 8]
mov edx, dword [ebp - 0x1820]
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 + 0x14], 0
jne 0x1002833d
test esi, esi
je 0x10028301
mov eax, dword [esi]
jmp 0x10028303
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 0x1002831a
mov eax, dword [esi]
jmp 0x1002831c
xor eax, eax
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x1828]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x1824]
mov ecx, dword [ecx + eax]
test edi, edi
je 0x1002833d
test ecx, ecx
jne 0x10028356
mov edx, dword [ebp - 0x1818]
mov edi, dword [ebp - 0x1814]
mov ecx, dword [ebp - 0x181c]
inc ecx
inc edi
jmp 0x10028225
mov eax, dword [ecx + 0x30]
xorps xmm6, xmm6
movq xmm0, qword [ecx + 0x28]
movss xmm4, dword [ecx + 0x1c]
movss xmm5, dword [ecx + 0x744]
mov dword [ebp - 0x1830], eax
mov eax, dword [0x10117998]
movq qword [ebp - 0x1838], xmm0
movaps xmm0, xmm4
subss xmm0, dword [edi + 0x1c]
movss xmm3, dword [0x100b36f8]
movss xmm2, dword [eax + 0x10]
movaps xmm1, xmm2
subss xmm1, xmm5
divss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm6, xmm0
ja 0x100283b2
comiss xmm0, xmm3
jbe 0x100283bd
movss dword [ecx + 0x744], xmm2
movaps xmm5, xmm2
subss xmm4, dword [edi + 0x1c]
subss xmm2, xmm5
movaps xmm1, xmm3
divss xmm2, xmm4
subss xmm1, xmm2
comiss xmm1, xmm3
jbe 0x100283db
movaps xmm1, xmm3
jmp 0x100283df
maxss xmm1, xmm6
movq xmm0, qword [edi + 0x28]
subss xmm3, xmm1
movq qword [ebp - 0x1810], xmm0
movss xmm2, dword [ebp - 0x1810]
movss xmm0, dword [ebp - 0x1838]
mov eax, dword [edi + 0x30]
mulss xmm2, xmm1
mov dword [ebp - 0x1808], eax
lea eax, [ebp - 0x1804]
mulss xmm0, xmm3
push 0x1800
push dword [edi + 0x408]
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1834]
mulss xmm0, xmm3
push eax
movss dword [ebp - 0x1824], xmm2
movss xmm2, dword [ebp - 0x180c]
mulss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1830]
mulss xmm0, xmm3
movss dword [ebp - 0x1820], xmm2
movss xmm2, dword [ebp - 0x1808]
mulss xmm2, xmm1
addss xmm2, xmm0
movss dword [ebp - 0x181c], xmm2
call sub.VCRUNTIME140.dll_memcpy
movss xmm3, dword [ebp - 0x1824]
add esp, 0xc
movss xmm4, dword [ebp - 0x1820]
xor ecx, ecx
movss xmm5, dword [ebp - 0x181c]
nop dword [eax]
mov eax, dword [edi + 0x408]
movss xmm2, dword [eax + ecx + 0xc]
movss xmm1, dword [eax + ecx + 0x1c]
movss xmm0, dword [eax + ecx + 0x2c]
subss xmm2, dword [edi + 0x28]
subss xmm1, dword [edi + 0x2c]
subss xmm0, dword [edi + 0x30]
addss xmm2, xmm3
addss xmm1, xmm4
addss xmm0, xmm5
movss dword [ebp + ecx - 0x17f8], xmm2
movss dword [ebp + ecx - 0x17e8], xmm1
movss dword [ebp + ecx - 0x17d8], xmm0
add ecx, 0x30
cmp ecx, 0x1800
jb 0x100284a0
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.1009f69a
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1009f69a
mov esp, ebp
pop ebp
ret 8