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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x183c
call fcn.100c0000
mov eax, dword [0x100df040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x10248d58]
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 0x10036170
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x10036170
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x10036170
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
jle 0x10036170
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10036170
mov eax, dword [0x10248fb0]
add eax, 0xffffffcf
xor eax, 0xbcd5289f
cmp dword [eax + esi], 0
jne 0x10036170
mov eax, dword [0x10248f24]
cmp byte [eax + esi], 0
jne 0x10036170
mov edx, dword [0x10248f84]
mov eax, dword [0x100df2b0]
add edx, 0xffffffda
xor edx, 0xbcd52894
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x10035a08
mov ecx, dword [0x10248e40]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10036170
mov eax, dword [esi + 8]
lea ecx, [esi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10036170
mov eax, dword [0x10249004]
add eax, 0xffffffba
xor eax, 0xbcd528b4
movss xmm0, dword [eax + esi]
ucomiss xmm0, dword [0x100d3fc0]
lahf
test ah, 0x44
jp 0x10036170
imul eax, dword [ebp - 0x1808], 0x3898
lea eax, [eax + 0x100f800c]
mov dword [ebp - 0x1824], eax
test eax, eax
je 0x10036170
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x10036170
cmp byte [eax + 0x3894], 0
jne 0x10036170
cmp ecx, 2
jb 0x10036170
cmp ecx, 3
jb 0x10036170
mov ecx, dword [0x10248d54]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10036170
mov eax, dword [0x1024e374]
test al, 1
jne 0x10035b24
or eax, 1
mov dword [0x1024e374], eax
mov eax, dword [0x10248d50]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x182c], eax
test eax, eax
je 0x10035b0c
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop dword [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x10035ad0
xor edx, edx
test ecx, ecx
je 0x10035aff
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10035ae0
cmp esi, 0x8c8dc452
je 0x10035b16
mov eax, dword [ebp - 0x182c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x182c], eax
test eax, eax
jne 0x10035ac1
xor ecx, ecx
mov dword [0x1024e370], ecx
jmp 0x10035b2a
mov ecx, dword [ebp - 0x182c]
mov dword [0x1024e370], ecx
jmp 0x10035b2a
mov ecx, dword [0x1024e370]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edx, dword [ebp - 0x1824]
fstp st(0)
mov ecx, dword [edx + 0x14]
mov esi, dword [edx + 8]
lea edi, [ecx + 1]
mov eax, dword [edx + 0x18]
add eax, dword [edx + 0x14]
mov dword [ebp - 0x182c], ecx
cmp ecx, eax
je 0x10036170
test esi, esi
je 0x10035b5e
mov eax, dword [esi]
jmp 0x10035b60
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 [0x10248d54]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10035f67
cmp dword [0x100df2b0], 0
je 0x10035f67
mov eax, dword [ebp - 0x1828]
cmp byte [eax + 0x420], 0
je 0x10035f67
mov ecx, dword [0x10248d54]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x181c], eax
test eax, eax
je 0x10035d10
cmp dword [0x100df2b0], 0
je 0x10035d10
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 [0x10248e08]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
addss xmm0, dword [ebp - 0x1808]
mov eax, dword [ecx]
addss xmm0, dword [0x100e2978]
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 [0x100d3fc0]
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 [0x100df2b0]
movss xmm1, dword [eax]
mov eax, dword [0x10248fb0]
add eax, 0xffffffcf
xor eax, 0xbcd5289f
cmp dword [eax + ecx], 0
jne 0x10035ce2
mov eax, dword [0x10248fc8]
add eax, 0xffffffc9
xor eax, 0xbcd528a5
movd xmm0, dword [eax + ecx]
mov eax, dword [0x10248db4]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x10035cec
mov eax, dword [0x10248db4]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.10026400
comiss xmm0, dword [0x100d4070]
ja 0x10035f67
mov edx, dword [ebp - 0x1824]
mov eax, dword [edx + 0x18]
add eax, dword [edx + 0x14]
cmp edi, eax
je 0x10035f6d
test esi, esi
je 0x10035d2c
mov ecx, dword [esi]
jmp 0x10035d2e
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 [0x10248d54]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10035ed5
cmp dword [0x100df2b0], 0
je 0x10035ed5
mov eax, dword [ebp - 0x1828]
cmp byte [eax + 0x420], 0
je 0x10035ed5
mov ecx, dword [0x10248d54]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x180c], eax
test eax, eax
je 0x10035f67
cmp dword [0x100df2b0], 0
je 0x10035f67
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 [0x10248e08]
fstp dword [ebp - 0x1820]
movss xmm0, dword [ebp - 0x1820]
addss xmm0, dword [ebp - 0x181c]
mov eax, dword [ecx]
addss xmm0, dword [0x100e2978]
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 [0x100df2b0]
movss xmm1, dword [eax]
mov eax, dword [0x10248fb0]
add eax, 0xffffffcf
xor eax, 0xbcd5289f
cmp dword [eax + ecx], 0
jne 0x10035ea5
mov eax, dword [0x10248fc8]
add eax, 0xffffffc9
xor eax, 0xbcd528a5
movd xmm0, dword [eax + ecx]
mov eax, dword [0x10248db4]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x10035eaf
mov eax, dword [0x10248db4]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x24]
subss xmm1, xmm0
movaps xmm0, xmm1
call fcn.10026400
comiss xmm0, dword [0x100d4070]
jbe 0x10035f67
jmp 0x10035ed8
xorps xmm6, xmm6
test esi, esi
je 0x10035ee0
mov ecx, dword [esi]
jmp 0x10035ee2
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 0x10035f67
test esi, esi
je 0x10035f08
mov ecx, dword [esi]
jmp 0x10035f0a
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 0x10035f30
mov eax, dword [esi]
jmp 0x10035f32
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 0x10035f67
test ecx, ecx
jne 0x10035f7a
mov edx, dword [ebp - 0x1824]
mov ecx, dword [ebp - 0x182c]
inc ecx
inc edi
jmp 0x10035b42
mov eax, dword [ecx + 0x38]
movq xmm0, qword [ecx + 0x30]
mov esi, dword [ebp - 0x1808]
movss xmm5, dword [ecx + 0x24]
movss xmm4, dword [ecx + 0x3764]
mov dword [ebp - 0x1834], eax
mov eax, dword [0x10248db4]
movq qword [ebp - 0x183c], xmm0
movaps xmm0, xmm5
subss xmm0, dword [esi + 0x24]
movss xmm3, dword [0x100d4108]
movss xmm2, dword [eax + 0x10]
movaps xmm1, xmm2
subss xmm1, xmm4
divss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm6, xmm0
ja 0x10035fd9
comiss xmm0, xmm3
jbe 0x10035fe4
movss dword [ecx + 0x3764], 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
cmovae eax, ecx
movss xmm1, dword [eax]
mov eax, dword [esi + 0x38]
subss xmm3, xmm1
movaps xmm2, xmm1
mov dword [ebp - 0x1810], eax
mulss xmm2, dword [ebp - 0x1818]
lea eax, [esi + 0x424]
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 - 0x180c], xmm2
movaps xmm2, xmm1
mulss xmm2, dword [ebp - 0x1814]
mulss xmm1, dword [ebp - 0x1810]
addss xmm2, xmm0
addss xmm1, xmm3
movss dword [ebp - 0x181c], xmm2
movss dword [ebp - 0x1820], xmm1
call sub.VCRUNTIME140.dll_memcpy
movss xmm3, dword [ebp - 0x1820]
lea eax, [ebp - 0x17e8]
movss xmm4, dword [ebp - 0x180c]
lea ecx, [esi + 0x440]
movss xmm5, dword [ebp - 0x181c]
add esp, 0xc
mov edx, 0x80
nop dword [eax]
nop dword [eax + 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, xmm4
addss xmm1, xmm5
addss xmm0, xmm3
movss dword [eax - 0x10], xmm2
movss dword [eax], xmm1
movss dword [eax + 0x10], xmm0
add eax, 0x30
sub edx, 1
jne 0x10036100
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.100bec66
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100bec66
mov esp, ebp
pop ebp
ret 8