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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x183c
call fcn.1010ecc0
mov eax, dword [0x1013d040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10222338]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1830], eax
mov eax, dword [ecx]
push esi
push edi
push edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1808], edx
call eax
mov esi, eax
test esi, esi
je 0x10035bb0
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x10035bb0
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x10035bb0
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
jle 0x10035bb0
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10035bb0
mov eax, dword [0x102225a4]
add eax, 0xffffffca
xor eax, 0x5b5c21cf
cmp dword [eax + esi], 0
jne 0x10035bb0
mov eax, dword [0x10222514]
cmp byte [eax + esi], 0
jne 0x10035bb0
mov edx, dword [0x10222574]
mov eax, dword [0x102290dc]
add edx, 0xffffffd6
xor edx, 0x5b5c21c3
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x10035438
mov ecx, dword [0x10222428]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10035bb0
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10035bb0
mov eax, dword [0x102225fc]
add eax, 0xffffffb4
xor eax, 0x5b5c21e5
movss xmm0, dword [eax + esi]
ucomiss xmm0, dword [0x10131078]
lahf
test ah, 0x44
jp 0x10035bb0
imul eax, dword [ebp - 0x1808], 0x190c
lea eax, [eax + 0x10151860]
mov dword [ebp - 0x1824], eax
test eax, eax
je 0x10035bb0
mov ecx, dword [eax + 0x1818]
test ecx, ecx
je 0x10035bb0
cmp byte [eax + 0x1908], 0
jne 0x10035bb0
cmp ecx, 2
jb 0x10035bb0
cmp ecx, 3
jb 0x10035bb0
mov ecx, dword [0x10222334]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10035bb0
mov eax, dword [0x1022fdac]
test al, 1
jne 0x10035554
or eax, 1
mov dword [0x1022fdac], eax
mov eax, dword [0x10222330]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x182c], eax
test eax, eax
je 0x1003553c
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x10035500
xor edx, edx
test ecx, ecx
je 0x1003552f
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10035510
cmp esi, 0x8c8dc452
je 0x10035546
mov eax, dword [ebp - 0x182c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x182c], eax
test eax, eax
jne 0x100354f4
xor ecx, ecx
mov dword [0x1022fda8], ecx
jmp 0x1003555a
mov ecx, dword [ebp - 0x182c]
mov dword [0x1022fda8], ecx
jmp 0x1003555a
mov ecx, dword [0x1022fda8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, dword [ebp - 0x1824]
fstp st(0)
mov ecx, dword [edx + 0x1814]
mov esi, dword [edx + 0x1808]
lea edi, [ecx + 1]
mov eax, dword [edx + 0x1818]
add eax, dword [edx + 0x1814]
mov dword [ebp - 0x182c], ecx
cmp ecx, eax
je 0x10035bb0
test esi, esi
je 0x1003559a
mov eax, dword [esi]
jmp 0x1003559c
xor eax, eax
mov dword [ebp - 0x1828], eax
mov edx, ecx
mov eax, dword [eax + 8]
and ecx, 1
dec eax
shr edx, 1
and edx, eax
mov eax, dword [ebp - 0x1828]
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
mov eax, dword [eax + ecx*8]
mov ecx, dword [0x10222334]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x100359a9
cmp dword [0x102290dc], 0
je 0x100359a9
mov eax, dword [ebp - 0x1828]
cmp byte [eax + 0x424], 0
je 0x100359a9
mov ecx, dword [0x10222334]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x181c], eax
test eax, eax
je 0x1003574c
cmp dword [0x102290dc], 0
je 0x1003574c
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 - 0x181c]
fstp dword [ebp - 0x1808]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x181c], eax
call dword [ebp - 0x181c]
mov ecx, dword [0x102223f0]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
addss xmm0, dword [ebp - 0x1808]
mov eax, dword [ecx]
addss xmm0, dword [0x1022c7bc]
mov eax, dword [eax + 0x30]
movss dword [ebp - 0x180c], xmm0
movss dword [ebp - 0x1808], xmm0
call eax
movss xmm1, dword [ebp - 0x180c]
lea eax, [ebp - 0x1808]
comiss xmm1, dword [0x10131078]
lea ecx, [ebp - 0x181c]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
cmovae ecx, eax
movss dword [ebp - 0x1820], xmm0
comiss xmm0, xmm1
lea eax, [ebp - 0x1820]
mov dword [ebp - 0x181c], 0
cmovae eax, ecx
mov ecx, dword [0x102290dc]
movss xmm1, dword [eax]
mov eax, dword [0x102225a4]
add eax, 0xffffffca
xor eax, 0x5b5c21cf
cmp dword [eax + ecx], 0
jne 0x1003571e
mov eax, dword [0x102225c0]
add eax, 0xffffffc3
xor eax, 0x5b5c21d6
movd xmm0, dword [eax + ecx]
mov eax, dword [0x10222398]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x10035728
mov eax, dword [0x10222398]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.10026460
comiss xmm0, dword [0x10131130]
ja 0x100359a9
mov edx, dword [ebp - 0x1824]
mov eax, dword [edx + 0x1818]
add eax, dword [edx + 0x1814]
cmp edi, eax
je 0x100359af
test esi, esi
je 0x1003576e
mov ecx, dword [esi]
jmp 0x10035770
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 ecx, dword [0x10222334]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10035917
cmp dword [0x102290dc], 0
je 0x10035917
mov eax, dword [ebp - 0x1828]
cmp byte [eax + 0x424], 0
je 0x10035917
mov ecx, dword [0x10222334]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x180c], eax
test eax, eax
je 0x100359a9
cmp dword [0x102290dc], 0
je 0x100359a9
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x1820], ecx
mov ecx, eax
call dword [ebp - 0x1820]
mov ecx, dword [ebp - 0x180c]
fstp dword [ebp - 0x181c]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1820], eax
call dword [ebp - 0x1820]
mov ecx, dword [0x102223f0]
fstp dword [ebp - 0x1820]
movss xmm0, dword [ebp - 0x1820]
addss xmm0, dword [ebp - 0x181c]
mov eax, dword [ecx]
addss xmm0, dword [0x1022c7bc]
mov eax, dword [eax + 0x30]
movss dword [ebp - 0x181c], xmm0
movss dword [ebp - 0x180c], xmm0
call eax
movss xmm1, dword [ebp - 0x181c]
lea eax, [ebp - 0x180c]
xorps xmm6, xmm6
lea ecx, [ebp - 0x1820]
comiss xmm1, xmm6
fstp dword [ebp - 0x1820]
movss xmm0, dword [ebp - 0x1820]
cmovae ecx, eax
movss dword [ebp - 0x1808], xmm0
comiss xmm0, xmm1
lea eax, [ebp - 0x1808]
mov dword [ebp - 0x1820], 0
cmovae eax, ecx
mov ecx, dword [0x102290dc]
movss xmm1, dword [eax]
mov eax, dword [0x102225a4]
add eax, 0xffffffca
xor eax, 0x5b5c21cf
cmp dword [eax + ecx], 0
jne 0x100358e7
mov eax, dword [0x102225c0]
add eax, 0xffffffc3
xor eax, 0x5b5c21d6
movd xmm0, dword [eax + ecx]
mov eax, dword [0x10222398]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x100358f1
mov eax, dword [0x10222398]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.10026460
comiss xmm0, dword [0x10131130]
jbe 0x100359a9
jmp 0x1003591a
xorps xmm6, xmm6
test esi, esi
je 0x10035922
mov ecx, dword [esi]
jmp 0x10035924
xor ecx, ecx
mov edx, dword [ecx + 8]
mov eax, edi
shr eax, 1
dec edx
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]
cmp byte [eax + 0x1c], 0
jne 0x100359a9
test esi, esi
je 0x1003594a
mov ecx, dword [esi]
jmp 0x1003594c
xor ecx, ecx
mov edx, dword [ecx + 8]
mov eax, edi
shr eax, 1
dec edx
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 - 0x1808], eax
test esi, esi
je 0x10035972
mov eax, dword [esi]
jmp 0x10035974
xor eax, eax
mov edx, dword [eax + 8]
mov ecx, dword [ebp - 0x182c]
dec edx
mov dword [ebp - 0x1828], eax
mov eax, ecx
shr eax, 1
and ecx, 1
and edx, eax
cmp dword [ebp - 0x1808], 0
mov eax, dword [ebp - 0x1828]
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + ecx*8]
je 0x100359a9
test ecx, ecx
jne 0x100359bc
mov edx, dword [ebp - 0x1824]
mov ecx, dword [ebp - 0x182c]
inc ecx
inc edi
jmp 0x10035578
mov eax, dword [ecx + 0x38]
movq xmm0, qword [ecx + 0x30]
mov esi, dword [ebp - 0x1808]
movss xmm5, dword [ecx + 0x24]
movss xmm4, dword [ecx + 0x3770]
mov dword [ebp - 0x1834], eax
mov eax, dword [0x10222398]
movq qword [ebp - 0x183c], xmm0
movaps xmm0, xmm5
subss xmm0, dword [esi + 0x24]
movss xmm3, dword [0x101311d4]
movss xmm2, dword [eax + 0x10]
movaps xmm1, xmm2
subss xmm1, xmm4
divss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm6, xmm0
ja 0x10035a1b
comiss xmm0, xmm3
jbe 0x10035a26
movss dword [ecx + 0x3770], xmm2
movaps xmm4, xmm2
subss xmm5, dword [esi + 0x24]
subss xmm2, xmm4
mov dword [ebp - 0x181c], 0x3f800000
movaps xmm0, xmm3
mov dword [ebp - 0x1820], 0
lea eax, [ebp - 0x180c]
lea ecx, [ebp - 0x1820]
push 0x1800
divss xmm2, xmm5
subss xmm0, xmm2
comiss xmm0, xmm6
movss dword [ebp - 0x180c], xmm0
cmovae ecx, eax
lea eax, [ebp - 0x181c]
comiss xmm3, xmm0
movq xmm0, qword [esi + 0x30]
movq qword [ebp - 0x1818], xmm0
movss xmm2, dword [ebp - 0x1818]
cmovae eax, ecx
movss xmm1, dword [eax]
mov eax, dword [esi + 0x38]
subss xmm3, xmm1
mulss xmm2, xmm1
mov dword [ebp - 0x1810], eax
lea eax, [esi + 0x428]
push eax
lea eax, [ebp - 0x1804]
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x183c]
push eax
addss xmm2, xmm0
movaps xmm0, xmm3
mulss xmm0, dword [ebp - 0x1838]
mulss xmm3, dword [ebp - 0x1834]
movss dword [ebp - 0x1820], xmm2
movss xmm2, dword [ebp - 0x1814]
mulss xmm2, xmm1
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1810]
mulss xmm0, xmm1
addss xmm0, xmm3
movss dword [ebp - 0x180c], xmm2
movss dword [ebp - 0x181c], xmm0
call sub.VCRUNTIME140.dll_memcpy
movss xmm3, dword [ebp - 0x1820]
lea eax, [ebp - 0x17e8]
movss xmm4, dword [ebp - 0x180c]
lea ecx, [esi + 0x444]
movss xmm5, dword [ebp - 0x181c]
add esp, 0xc
mov edx, 0x80
nop dword [eax]
movss xmm2, dword [ecx - 0x10]
movss xmm1, dword [ecx]
movss xmm0, dword [ecx + 0x10]
add ecx, 0x30
subss xmm2, dword [esi + 0x30]
subss xmm1, dword [esi + 0x34]
subss xmm0, dword [esi + 0x38]
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 0x10035b40
push 0x1800
lea eax, [ebp - 0x1804]
push eax
push dword [ebp - 0x1830]
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.1010e0bc
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.1010e0bc
mov esp, ebp
pop ebp
ret 8