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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1874
call fcn.100b52d0
mov eax, dword [0x100d4364]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x101b2fdc]
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1850], eax
mov eax, dword [ecx]
push esi
push edi
xor esi, esi
mov dword [ebp - 0x1834], edx
mov eax, dword [eax + 0xc]
push edx
mov dword [ebp - 0x1830], esi
call eax
mov edi, eax
test edi, edi
je 0x10037430
lea edx, [edi + 8]
test edx, edx
je 0x10037430
lea ecx, [edi + 4]
test ecx, ecx
je 0x10037430
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x10037430
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
jle 0x10037430
mov eax, dword [edi]
mov ecx, edi
mov eax, dword [eax + 0x260]
call eax
test al, al
je 0x10037430
mov eax, dword [0x101b3238]
add eax, 0xffffffcb
xor eax, 0xd6c29e52
cmp dword [eax + edi], esi
jne 0x10037430
mov eax, dword [0x101b3194]
cmp byte [eax + edi], 0
jne 0x10037430
mov edx, dword [0x101b3210]
mov eax, dword [0x1019d1b0]
add edx, 0xffffffd5
xor edx, 0xd6c29e48
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x10036ae0
mov ecx, dword [0x101b30b0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10037430
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10037430
mov eax, dword [0x101b327c]
add eax, 0xffffffba
xor eax, 0xd6c29e63
movss xmm0, dword [eax + edi]
ucomiss xmm0, dword [0x100c7fa8]
lahf
test ah, 0x44
jp 0x10037430
imul eax, dword [ebp - 0x1834], 0x18e8
lea eax, [eax + 0x100d6dcc]
test eax, eax
je 0x10037430
mov ecx, dword [eax + 0x18]
test ecx, ecx
je 0x10037430
cmp ecx, 3
jb 0x10037430
lea edx, [eax + 8]
mov ecx, edx
mov dword [ebp - 0x1840], edx
call fcn.1002bba0
movss xmm3, dword [0x100c8248]
xor ecx, ecx
mov eax, dword [eax]
mov edx, dword [eax + 0xc]
cmp edx, 3
jg 0x10036bc2
mov edi, dword [eax + 0x3ec]
cmp edi, 0xfffffff6
jle 0x10036bb4
movss xmm1, dword [eax + 0x24]
movss xmm2, dword [eax + 0x28]
subss xmm2, dword [eax + 0x34]
subss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + 0x2c]
subss xmm0, dword [eax + 0x38]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm2, xmm3
ja 0x10036bb4
cmp edi, 0xffffffff
jge 0x10036bb9
mov ecx, 1
jmp 0x10036bb9
mov ecx, 2
cmp ecx, 2
je 0x10037430
cmp edx, 0x11
jg 0x10037430
test edx, edx
jle 0x10037430
movss xmm1, dword [eax + 0x24]
movss xmm2, dword [eax + 0x28]
subss xmm2, dword [eax + 0x34]
subss xmm1, dword [eax + 0x30]
movss xmm0, dword [eax + 0x2c]
subss xmm0, dword [eax + 0x38]
mulss xmm2, xmm2
mulss xmm1, xmm1
mulss xmm0, xmm0
addss xmm2, xmm1
addss xmm2, xmm0
comiss xmm2, xmm3
seta al
test al, al
jne 0x10037430
mov ecx, dword [0x101b2fd8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10037430
mov eax, dword [0x101ba234]
test al, 1
jne 0x10036cba
or eax, 1
mov dword [0x101ba234], eax
mov eax, dword [0x101b2fd4]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x182c], eax
test eax, eax
je 0x10036ca2
mov eax, dword [eax + 0xc]
mov edi, 0x811c9dc5
mov dword [ebp - 0x1834], eax
xor ecx, ecx
inc ecx
cmp byte [ecx + eax], 0
jne 0x10036c62
xor edx, edx
test ecx, ecx
je 0x10036c8f
nop
movsx eax, byte [edx + eax]
inc edx
xor eax, edi
imul edi, eax, 0x1000193
mov eax, dword [ebp - 0x1834]
cmp edx, ecx
jb 0x10036c70
cmp edi, 0x8c8dc452
je 0x10036cac
mov eax, dword [ebp - 0x182c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x182c], eax
test eax, eax
jne 0x10036c52
xor ecx, ecx
mov dword [0x101ba238], ecx
jmp 0x10036cc0
mov ecx, dword [ebp - 0x182c]
mov dword [0x101ba238], ecx
jmp 0x10036cc0
mov ecx, dword [0x101ba238]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
mov edi, dword [ebp - 0x1840]
fstp st(0)
movss xmm2, dword [0x1019f0a0]
mov dword [ebp - 0x1814], esi
mov edx, dword [edi]
mov ecx, dword [edi + 0xc]
mov dword [ebp - 0x184c], edx
mov dword [ebp - 0x1818], edx
mov eax, dword [edi + 0xc]
add eax, dword [edi + 0x10]
mov dword [ebp - 0x1810], ecx
mov dword [ebp - 0x1834], ecx
cmp ecx, eax
je 0x10037430
test edx, edx
jne 0x10036d10
xor eax, eax
jmp 0x10036d12
mov eax, dword [edx]
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 - 0x180c], edi
mov dword [ebp - 0x183c], edx
mov eax, dword [eax + ecx*4]
mov ecx, dword [edx + eax]
cmp byte [ecx + 0x14], 0
jne 0x1003713e
cmp byte [ecx + 0x3f0], 0
je 0x1003713e
movss xmm0, dword [ecx + 4]
xorps xmm3, xmm3
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x1003713e
cmp dword [ecx + 0xc], 0x11
jg 0x1003713e
movss xmm0, dword [ecx + 0x18]
mov eax, dword [0x101b3034]
addss xmm0, xmm2
movss xmm1, dword [eax + 0x20]
divss xmm0, xmm1
addss xmm0, dword [0x100c8080]
cvttss2si ecx, xmm0
mov dword [ebp - 0x1828], ecx
mov ecx, dword [0x1019d1b0]
test ecx, ecx
je 0x10036dc6
cmp byte [0x1019d1b4], 0
je 0x10036dc6
mov eax, dword [0x101b3260]
add eax, 0xffffffc1
xor eax, 0xd6c29e5c
movd xmm0, dword [eax + ecx]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
jmp 0x10036dcb
movss xmm0, dword [eax + 0x10]
mov ecx, dword [0x101b2fd8]
movss dword [ebp - 0x1838], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
xorps xmm0, xmm0
test edi, edi
je 0x10036e30
mov ecx, dword [edi]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x1808], ecx
mov ecx, edi
call dword [ebp - 0x1808]
mov eax, dword [edi]
mov ecx, edi
fstp dword [ebp - 0x182c]
push 1
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1808], eax
call dword [ebp - 0x1808]
fadd dword [ebp - 0x182c]
fstp dword [ebp - 0x1808]
movss xmm0, dword [ebp - 0x1808]
mov ecx, dword [0x101b307c]
addss xmm0, dword [0x1019f0a0]
mov eax, dword [ecx]
movss dword [ebp - 0x1808], xmm0
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x182c], eax
call dword [ebp - 0x182c]
movss xmm0, dword [ebp - 0x1808]
xorps xmm3, xmm3
fstp dword [ebp - 0x182c]
comiss xmm0, dword [ebp - 0x182c]
mov dword [ebp - 0x1844], 0
jbe 0x10036e83
lea eax, [ebp - 0x182c]
jmp 0x10036e95
comiss xmm0, xmm3
lea eax, [ebp - 0x1844]
lea ecx, [ebp - 0x1808]
cmovae eax, ecx
movd xmm0, dword [ebp - 0x1828]
mov edi, dword [0x101b3034]
movss xmm2, dword [0x1019f0a0]
movss xmm1, dword [ebp - 0x1838]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edi + 0x20]
subss xmm0, xmm2
subss xmm1, xmm0
movss xmm0, dword [eax]
subss xmm0, xmm1
call fcn.10026830
comiss xmm0, dword [0x100c8040]
ja 0x10037144
push 1
lea eax, [ebp - 0x1824]
or esi, 1
push eax
lea ecx, [ebp - 0x1818]
call fcn.1002c010
mov edx, dword [ebp - 0x1840]
or esi, 2
mov dword [ebp - 0x1830], esi
mov ecx, dword [edx + 0xc]
add ecx, dword [edx + 0x10]
cmp dword [eax + 8], ecx
je 0x10037144
push 1
lea eax, [ebp - 0x185c]
or esi, 4
push eax
lea ecx, [ebp - 0x1818]
mov dword [ebp - 0x1830], esi
call fcn.1002c010
mov edi, dword [eax]
test edi, edi
je 0x10036f37
mov edi, dword [edi]
mov edx, dword [eax + 8]
mov ecx, edx
mov eax, dword [edi + 8]
and edx, 1
dec eax
shr ecx, 1
and ecx, eax
mov eax, dword [edi + 4]
mov eax, dword [eax + ecx*4]
mov ecx, dword [eax + edx*8]
cmp byte [ecx + 0x14], 0
jne 0x100370f0
cmp byte [ecx + 0x3f0], 0
je 0x100370f0
movss xmm0, dword [ecx + 4]
ucomiss xmm0, xmm3
lahf
test ah, 0x44
jp 0x100370f0
cmp dword [ecx + 0xc], 0x11
jg 0x100370f0
movss xmm0, dword [ecx + 0x18]
mov eax, dword [0x101b3034]
addss xmm0, xmm2
movss xmm1, dword [eax + 0x20]
divss xmm0, xmm1
addss xmm0, dword [0x100c8080]
cvttss2si ecx, xmm0
mov dword [ebp - 0x1848], ecx
mov ecx, dword [0x1019d1b0]
test ecx, ecx
je 0x10036fda
cmp byte [0x1019d1b4], 0
je 0x10036fda
mov eax, dword [0x101b3260]
add eax, 0xffffffc1
xor eax, 0xd6c29e5c
movd xmm0, dword [eax + ecx]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
jmp 0x10036fdf
movss xmm0, dword [eax + 0x10]
mov ecx, dword [0x101b2fd8]
movss dword [ebp - 0x182c], xmm0
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
xorps xmm0, xmm0
test edi, edi
je 0x10037044
mov ecx, dword [edi]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x1828], ecx
mov ecx, edi
call dword [ebp - 0x1828]
mov eax, dword [edi]
mov ecx, edi
fstp dword [ebp - 0x1844]
push 1
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1828], eax
call dword [ebp - 0x1828]
fadd dword [ebp - 0x1844]
fstp dword [ebp - 0x1828]
movss xmm0, dword [ebp - 0x1828]
mov ecx, dword [0x101b307c]
addss xmm0, dword [0x1019f0a0]
mov eax, dword [ecx]
movss dword [ebp - 0x1808], xmm0
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1828], eax
call dword [ebp - 0x1828]
movss xmm0, dword [ebp - 0x1808]
fstp dword [ebp - 0x1838]
comiss xmm0, dword [ebp - 0x1838]
mov dword [ebp - 0x1828], 0
jbe 0x10037094
lea eax, [ebp - 0x1838]
jmp 0x100370aa
comiss xmm0, dword [0x100c7fa8]
lea eax, [ebp - 0x1828]
lea ecx, [ebp - 0x1808]
cmovae eax, ecx
movd xmm0, dword [ebp - 0x1848]
mov edi, dword [0x101b3034]
movss xmm2, dword [0x1019f0a0]
movss xmm1, dword [ebp - 0x182c]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [edi + 0x20]
subss xmm0, xmm2
subss xmm1, xmm0
movss xmm0, dword [eax]
subss xmm0, xmm1
call fcn.10026830
comiss xmm0, dword [0x100c8040]
jbe 0x10037144
jmp 0x100370f6
mov edi, dword [0x101b3034]
push 1
lea eax, [ebp - 0x1868]
or esi, 8
push eax
lea ecx, [ebp - 0x1818]
mov dword [ebp - 0x1830], esi
call fcn.1002c010
mov esi, dword [eax]
test esi, esi
je 0x1003711b
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov ecx, edx
mov eax, dword [esi + 8]
and edx, 1
dec eax
shr ecx, 1
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*8]
cmp byte [eax + 0x14], 0
jne 0x10037144
mov cl, 1
jmp 0x10037146
mov edi, dword [0x101b3034]
xor cl, cl
mov eax, dword [ebp - 0x1830]
test al, 8
je 0x10037159
and eax, 0xfffffff7
mov dword [ebp - 0x1830], eax
test al, 4
je 0x10037166
and eax, 0xfffffffb
mov dword [ebp - 0x1830], eax
test al, 2
je 0x10037173
and eax, 0xfffffffd
mov dword [ebp - 0x1830], eax
test al, 1
je 0x10037180
and eax, 0xfffffffe
mov dword [ebp - 0x1830], eax
test cl, cl
je 0x1003728a
push 1
lea eax, [ebp - 0x1874]
push eax
lea ecx, [ebp - 0x1818]
call fcn.1002c010
mov esi, dword [eax]
test esi, esi
je 0x100371a4
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov ecx, edx
mov eax, dword [esi + 8]
and edx, 1
dec eax
shr ecx, 1
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov esi, dword [eax + edx*8]
mov edx, dword [ebp - 0x184c]
mov dword [ebp - 0x1848], esi
test edx, edx
jne 0x100371d1
xor eax, eax
jmp 0x100371d3
mov eax, dword [edx]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 4]
dec ecx
and ecx, dword [ebp - 0x180c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [ebp - 0x183c]
mov ecx, dword [ecx + eax]
test esi, esi
je 0x10037290
test ecx, ecx
je 0x10037290
movss xmm3, dword [edi + 0x10]
movss xmm4, dword [ecx + 0x18]
movaps xmm1, xmm3
movss xmm5, dword [esi + 0x18]
movaps xmm0, xmm4
movss xmm6, dword [ecx + 0x6d44]
subss xmm0, xmm5
subss xmm1, xmm6
movss xmm2, dword [0x100c80c4]
divss xmm1, xmm0
movaps xmm0, xmm2
subss xmm0, xmm1
xorps xmm1, xmm1
comiss xmm1, xmm0
ja 0x10037241
comiss xmm0, xmm2
jbe 0x10037251
movss dword [ecx + 0x6d44], xmm3
movaps xmm6, xmm3
movss xmm5, dword [esi + 0x18]
subss xmm3, xmm6
mov dword [ebp - 0x1828], 0x3f800000
subss xmm4, xmm5
mov dword [ebp - 0x183c], 0
movaps xmm0, xmm2
divss xmm3, xmm4
subss xmm0, xmm3
comiss xmm0, xmm2
movss dword [ebp - 0x180c], xmm0
jbe 0x100372a8
movaps xmm1, xmm2
jmp 0x100372be
mov edx, dword [ebp - 0x184c]
mov ecx, dword [ebp - 0x1834]
mov esi, dword [ebp - 0x1830]
inc ecx
mov edi, dword [ebp - 0x1840]
jmp 0x10036cee
comiss xmm0, xmm1
lea eax, [ebp - 0x183c]
lea edx, [ebp - 0x180c]
cmovae eax, edx
movss xmm1, dword [eax]
movq xmm0, qword [esi + 0x24]
subss xmm2, xmm1
mov eax, dword [esi + 0x2c]
lea edi, [ebp - 0x1804]
movq qword [ebp - 0x1824], xmm0
mov esi, 0x80
movq xmm0, qword [ecx + 0x24]
movq qword [ebp - 0x1818], xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x1824]
movaps xmm3, xmm2
mov dword [ebp - 0x181c], eax
mulss xmm3, dword [ebp - 0x1818]
mov eax, dword [ecx + 0x2c]
mov dword [ebp - 0x1810], eax
addss xmm3, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x1820]
mulss xmm1, dword [ebp - 0x181c]
movss dword [ebp - 0x180c], xmm3
movaps xmm3, xmm2
mulss xmm3, dword [ebp - 0x1814]
mulss xmm2, dword [ebp - 0x1810]
addss xmm3, xmm0
addss xmm2, xmm1
movss dword [ebp - 0x1828], xmm3
movss dword [ebp - 0x183c], xmm2
nop dword [eax]
mov ecx, edi
call fcn.10026980
add edi, 0x30
sub esi, 1
jne 0x10037360
mov esi, dword [ebp - 0x1848]
push 0x1800
lea eax, [esi + 0x3f4]
push eax
lea eax, [ebp - 0x1804]
push eax
call sub.VCRUNTIME140.dll_memcpy
movss xmm3, dword [ebp - 0x183c]
lea eax, [ebp - 0x17e8]
movss xmm4, dword [ebp - 0x180c]
lea ecx, [esi + 0x410]
movss xmm5, dword [ebp - 0x1828]
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 + 0x24]
subss xmm1, dword [esi + 0x28]
subss xmm0, dword [esi + 0x2c]
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 0x100373c0
push 0x1800
lea eax, [ebp - 0x1804]
push eax
push dword [ebp - 0x1850]
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.100b366f
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100b366f
mov esp, ebp
pop ebp
ret 8