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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1878
call fcn.100a8830
mov eax, dword [0x100cb040]
xor eax, esp
mov dword [esp + 0x1874], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [esp + 0x34], ecx
mov ecx, dword [0x10428fa8]
mov dword [esp + 0x3c], eax
push esi
push edi
mov eax, dword [ecx]
push edx
mov dword [esp + 0x18], edx
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [esp + 0x1c], edi
test edi, edi
je 0x10035d3d
mov ecx, dword [edi]
mov edx, dword [ecx + 0x260]
mov ecx, edi
call edx
test al, al
je 0x10035d3d
lea esi, [edi + 8]
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x10035d3d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
test eax, eax
jle 0x10035d3d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10035d3d
mov eax, dword [0x1042cf3c]
add eax, 0xffffffd1
xor eax, 0x8987fdbb
cmp byte [eax + edi], 0
jne 0x10035d3d
mov eax, dword [0x1042cf5c]
add eax, 0xffffffc9
xor eax, 0x8987fdc3
cmp dword [eax + edi], 0
jle 0x10035d3d
mov eax, dword [0x104291e8]
cmp byte [eax + edi], 0
jne 0x10035d3d
mov edx, dword [0x1042cf0c]
mov eax, dword [0x10312054]
add edx, 0xffffffdd
xor edx, 0x8987fdaf
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x1003576c
mov ecx, dword [0x104290a4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10035d3d
mov eax, dword [esi]
mov ecx, esi
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10035d3d
mov eax, dword [0x1042cf8c]
add eax, 0xffffffbd
xor eax, 0x8987fdcf
vmovss xmm0, dword [eax + edi]
vucomiss xmm0, dword [0x100bf400]
lahf
test ah, 0x44
jp 0x10035d3d
imul eax, dword [esp + 0x14], 0x5a18
lea esi, [eax + 0x100dffcc]
mov dword [esp + 0x18], esi
test esi, esi
je 0x10035d3d
cmp dword [esi + 0x10], 0
je 0x10035d3d
cmp dword [esi + 0x10], 2
jb 0x10035d3d
mov edx, dword [esi + 0xc]
mov ecx, edx
mov eax, dword [esi + 8]
and edx, 1
shr ecx, 1
dec eax
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*8]
cmp byte [eax + 0x3418], 0
jne 0x10035d3d
mov ecx, dword [0x10428fa4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov edi, eax
mov dword [esp + 0x60], edi
test edi, edi
je 0x10035d3d
mov eax, dword [0x1042d240]
test al, 1
jne 0x1003588d
or eax, 1
mov dword [0x1042d240], eax
mov eax, dword [0x10428fa0]
mov ecx, dword [eax + 0x30]
jmp 0x10035881
mov eax, 0x811c9dc5
xor edx, edx
mov dword [esp + 0x10], eax
mov eax, dword [ecx + 0xc]
inc edx
cmp byte [eax + edx], 0
jne 0x1003583c
and dword [esp + 0x14], 0
test edx, edx
je 0x1003587e
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
movsx eax, byte [eax + esi]
xor eax, edi
imul edi, eax, 0x1000193
inc esi
mov eax, dword [ecx + 0xc]
cmp esi, edx
jb 0x10035854
mov esi, dword [esp + 0x18]
mov dword [esp + 0x10], edi
cmp dword [esp + 0x10], 0x8c8dc452
mov edi, dword [esp + 0x60]
je 0x10035885
mov ecx, dword [ecx + 4]
test ecx, ecx
jne 0x1003582e
mov dword [0x1042d248], ecx
jmp 0x10035893
mov ecx, dword [0x1042d248]
test ecx, ecx
je 0x1003589e
mov eax, dword [ecx]
call dword [eax + 0x30]
fstp st(0)
mov eax, dword [edi]
mov ecx, edi
push 1
call dword [eax + 0x28]
mov eax, dword [edi]
fstp st(0)
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [esi]
fstp st(0)
and dword [esp + 0x4c], 0
mov edi, dword [esi + 0xc]
mov dword [esp + 0x10], eax
mov dword [esp + 0x48], eax
mov eax, dword [esi + 0xc]
add eax, dword [esi + 0x10]
mov dword [esp + 0x50], edi
cmp edi, eax
je 0x10035d3d
lea ecx, [esp + 0x48]
call fcn.100380e3
mov ecx, dword [0x10428fa4]
mov eax, dword [eax]
mov dword [esp + 0xc], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [esp + 0x18], eax
test eax, eax
je 0x10035b4d
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x64], ecx
mov ecx, eax
call dword [esp + 0x64]
mov ecx, dword [esp + 0x18]
fstp dword [esp + 0x14]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x64], eax
call dword [esp + 0x64]
mov ecx, dword [0x10429068]
fstp dword [esp + 0x60]
vmovss xmm0, dword [esp + 0x60]
vaddss xmm0, xmm0, dword [esp + 0x14]
vaddss xmm0, xmm0, dword [0x100bf400]
mov eax, dword [ecx]
vaddss xmm0, xmm0, dword [0x10313f44]
vmovss dword [esp + 0x64], xmm0
call dword [eax + 0x30]
vmovss xmm1, dword [esp + 0x64]
vxorps xmm2, xmm2, xmm2
vcomiss xmm2, xmm1
lea ecx, [esp + 0x64]
fstp dword [esp + 0x60]
vmovss xmm0, dword [esp + 0x60]
lea eax, [esp + 0x2c]
cmovbe eax, ecx
lea ecx, [esp + 0x30]
vcomiss xmm1, xmm0
vmovss dword [esp + 0x30], xmm0
cmovbe ecx, eax
mov eax, dword [0x10429004]
vmovss dword [esp + 0x2c], xmm2
vmovss xmm0, dword [eax + 0x10]
mov eax, dword [esp + 0xc]
vsubss xmm1, xmm0, dword [eax + 0x24]
vmovss xmm0, dword [ecx]
vsubss xmm0, xmm0, xmm1
vandps xmm0, xmm0, xmmword [0x100bf830]
vcomiss xmm0, dword [0x100bf458]
ja 0x10035b4d
mov eax, dword [esi + 0xc]
lea ecx, [edi + 1]
add eax, dword [esi + 0x10]
cmp ecx, eax
je 0x10035b4d
mov eax, dword [esp + 0x10]
and dword [esp + 0x58], 0
mov dword [esp + 0x5c], ecx
lea ecx, [esp + 0x54]
mov dword [esp + 0x54], eax
call fcn.100380e3
mov ecx, dword [0x10428fa4]
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [esp + 0x60], eax
test eax, eax
je 0x10035ad3
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [esp + 0x10], ecx
mov ecx, eax
call dword [esp + 0x10]
mov ecx, dword [esp + 0x60]
fstp dword [esp + 0x18]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [esp + 0x10], eax
call dword [esp + 0x10]
fadd dword [esp + 0x18]
mov ecx, dword [0x10429068]
mov eax, dword [ecx]
fstp dword [esp + 0xc]
vmovss xmm0, dword [esp + 0xc]
vaddss xmm0, xmm0, dword [0x100bf400]
vaddss xmm0, xmm0, dword [0x10313f44]
vmovss dword [esp + 0x68], xmm0
call dword [eax + 0x30]
vmovss xmm1, dword [esp + 0x68]
vxorps xmm2, xmm2, xmm2
vcomiss xmm2, xmm1
lea eax, [esp + 0x68]
fstp dword [esp + 0xc]
vmovss xmm0, dword [esp + 0xc]
lea ecx, [esp + 0x34]
cmovbe ecx, eax
lea eax, [esp + 0x38]
vcomiss xmm1, xmm0
vmovss dword [esp + 0x38], xmm0
cmovbe eax, ecx
mov ecx, dword [0x10429004]
vmovss dword [esp + 0x34], xmm2
vmovss xmm0, dword [ecx + 0x10]
mov ecx, dword [esp + 0x14]
vsubss xmm1, xmm0, dword [ecx + 0x24]
vmovss xmm0, dword [eax]
vsubss xmm0, xmm0, xmm1
vandps xmm0, xmm0, xmmword [0x100bf830]
vcomiss xmm0, dword [0x100bf458]
jbe 0x10035b4d
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x20]
and dword [esp + 0x24], 0
mov dword [esp + 0x20], eax
lea eax, [edi + 1]
mov dword [esp + 0x28], eax
call fcn.100380e3
mov eax, dword [eax]
cmp byte [eax + 0x14], 0
jne 0x10035b4d
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x6c]
and dword [esp + 0x70], 0
mov dword [esp + 0x6c], eax
lea eax, [edi + 1]
mov dword [esp + 0x74], eax
call fcn.100380e3
mov eax, dword [eax]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
test eax, eax
je 0x10035b27
mov ecx, dword [eax]
jmp 0x10035b29
xor ecx, ecx
mov eax, dword [ecx + 8]
mov edx, edi
shr edx, 1
dec eax
and edx, eax
mov eax, dword [ecx + 4]
mov ecx, edi
and ecx, 1
mov eax, dword [eax + edx*4]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + ecx*8]
test edx, edx
je 0x10035b4d
test eax, eax
jne 0x10035b53
inc edi
jmp 0x100358c6
mov ecx, dword [0x10429004]
lea esi, [eax + 0x1834]
vmovss xmm5, dword [eax + 0x4074]
vmovss xmm6, dword [eax + 0x24]
vsubss xmm0, xmm6, dword [edx + 0x24]
vmovss xmm4, dword [ecx + 0x10]
vmovss xmm3, dword [0x100bf4ec]
lea edi, [esp + 0x20]
movsd dword es:[edi], dword [esi]
vsubss xmm1, xmm4, xmm5
vdivss xmm0, xmm1, xmm0
vsubss xmm0, xmm3, xmm0
movsd dword es:[edi], dword [esi]
vxorps xmm2, xmm2, xmm2
vcomiss xmm2, xmm0
movsd dword es:[edi], dword [esi]
ja 0x10035ba1
vcomiss xmm0, xmm3
jbe 0x10035bad
vmovss dword [eax + 0x4074], xmm4
vmovaps xmm5, xmm4
vsubss xmm0, xmm6, dword [edx + 0x24]
vsubss xmm1, xmm4, xmm5
vdivss xmm0, xmm1, xmm0
vsubss xmm0, xmm3, xmm0
vcomiss xmm2, xmm0
lea eax, [esp + 0x60]
lea ecx, [esp + 0xc]
cmovbe ecx, eax
lea esi, [edx + 0x1834]
vcomiss xmm0, xmm3
lea eax, [esp + 0x18]
mov dword [esp + 0x40], esi
cmovbe eax, ecx
lea edi, [esp + 0x6c]
mov ecx, dword [esp + 0x1c]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x10], eax
vmovss dword [esp + 0x60], xmm0
mov eax, dword [ecx]
movsd dword es:[edi], dword [esi]
vmovss dword [esp + 0x18], xmm3
vmovss dword [esp + 0xc], xmm2
mov eax, dword [eax + 0x28]
movsd dword es:[edi], dword [esi]
call eax
mov ecx, dword [esp + 0x10]
vmovss xmm0, dword [0x100bf4ec]
vmovss xmm4, dword [ecx]
vmulss xmm1, xmm4, dword [esp + 0x6c]
vsubss xmm3, xmm0, xmm4
vmulss xmm0, xmm3, dword [esp + 0x20]
vaddss xmm0, xmm1, xmm0
vsubss xmm2, xmm0, dword [eax]
vmulss xmm1, xmm4, dword [esp + 0x70]
vmulss xmm0, xmm3, dword [esp + 0x24]
vaddss xmm0, xmm1, xmm0
vsubss xmm0, xmm0, dword [eax + 4]
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
vcvtss2sd xmm0, xmm0, xmm0
call sub.api_ms_win_crt_math_l1_1_0.dll__libm_sse2_sqrt_precise
vmovss xmm3, dword [0x100bf5e0]
vcvtsd2ss xmm0, xmm0, xmm0
vcomiss xmm3, xmm0
jb 0x10035cb3
vmovss xmm2, dword [0x100bf4ec]
vdivss xmm0, xmm0, xmm3
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm0
lea eax, [esp + 0xc]
lea ecx, [esp + 0x1c]
cmovbe ecx, eax
lea eax, [esp + 0x60]
vcomiss xmm0, xmm2
vmovss dword [esp + 0x60], xmm2
cmovbe eax, ecx
mov ecx, dword [esp + 0x3c]
vmovss dword [esp + 0x1c], xmm1
vmovss dword [esp + 0xc], xmm0
mov eax, dword [eax]
mov dword [ecx + 0x10], eax
mov esi, dword [esp + 0x14]
mov edi, 0x1800
push edi
lea eax, [esi + 0x28]
push eax
lea eax, [esp + 0x80]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [esp + 0x4c]
lea edx, [esi + 0x44]
add esp, 0xc
lea ecx, [esp + 0x94]
mov esi, 0x80
vmovss xmm0, dword [edx - 0x10]
vsubss xmm0, xmm0, dword [eax]
vaddss xmm2, xmm0, dword [eax]
vmovss xmm0, dword [edx]
lea edx, [edx + 0x30]
vsubss xmm0, xmm0, dword [eax + 4]
vaddss xmm1, xmm0, dword [eax + 4]
vmovss xmm0, dword [edx - 0x20]
vsubss xmm0, xmm0, dword [eax + 8]
vaddss xmm0, xmm0, dword [eax + 8]
vmovss dword [ecx - 0x10], xmm2
vmovss dword [ecx], xmm1
lea ecx, [ecx + 0x30]
vmovss dword [ecx - 0x20], xmm0
sub esi, 1
jne 0x10035ce4
push edi
lea ecx, [esp + 0x7c]
push ecx
push dword [esp + 0x4c]
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov al, 1
jmp 0x10035d3f
xor al, al
mov ecx, dword [esp + 0x187c]
pop edi
pop esi
xor ecx, esp
call fcn.100a7229
mov esp, ebp
pop ebp
ret 8