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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x183c
call fcn.100a5170
mov eax, dword [0x100bf040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x100fef84]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x1830], eax
push esi
mov eax, dword [ecx]
push edi
mov edi, dword [ebp + 8]
push edi
mov eax, dword [eax + 0xc]
call eax
mov esi, eax
test esi, esi
je 0x1002cdd7
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x1002cdd7
mov eax, dword [0x100ff1b4]
add eax, 0xffffffcc
xor eax, 0x90fb2e48
cmp dword [eax + esi], 0
jne 0x1002cdd7
mov eax, dword [0x100ff120]
cmp byte [eax + esi], 0
jne 0x1002cdd7
mov edx, dword [0x100ff18c]
mov eax, dword [0x100bf2a8]
add edx, 0xffffffd6
xor edx, 0x90fb2e3e
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1002c3e8
mov ecx, dword [0x100ff058]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1002cdd7
imul eax, edi, 0xac0
lea eax, [eax + 0x100d092c]
mov dword [ebp - 0x1824], eax
test eax, eax
je 0x1002cdd7
mov eax, dword [eax + 0x18]
test eax, eax
je 0x1002cdd7
cmp eax, 2
jb 0x1002cdd7
cmp eax, 3
jb 0x1002cdd7
mov ecx, dword [0x100fef80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1002cdd7
mov eax, dword [0x100fef7c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1828], eax
test eax, eax
je 0x1002c49c
nop dword [eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [edi + ecx], 0
jne 0x1002c460
xor edx, edx
test ecx, ecx
je 0x1002c48f
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002c470
cmp esi, 0x8c8dc452
je 0x1002c4d2
mov eax, dword [ebp - 0x1828]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1828], eax
test eax, eax
jne 0x1002c450
xor ecx, ecx
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 0x1002cdd7
test esi, esi
je 0x1002c4da
mov eax, dword [esi]
jmp 0x1002c4dc
mov ecx, dword [ebp - 0x1828]
jmp 0x1002c49e
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 [0x100fef80]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1002cbc2
cmp dword [0x100bf2a8], 0
je 0x1002cbc2
mov eax, dword [ebp - 0x1828]
cmp byte [eax + 0x3c0], 0
je 0x1002cbc2
mov ecx, dword [eax + 0xc]
cmp ecx, 0x11
jg 0x1002cbc2
cmp byte [eax + 0x10], 0
jne 0x1002cbc2
xorps xmm4, xmm4
comiss xmm4, dword [eax + 4]
jb 0x1002cbc2
cmp ecx, 0xfffffffe
jl 0x1002cbc2
mov ecx, dword [0x100fef80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1820], eax
test eax, eax
je 0x1002c6b0
cmp dword [0x100bf2a8], 0
je 0x1002c6b0
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x180c], ecx
mov ecx, eax
call dword [ebp - 0x180c]
mov ecx, dword [ebp - 0x1820]
fstp dword [ebp - 0x180c]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1820], eax
call dword [ebp - 0x1820]
mov ecx, dword [0x100ff028]
fstp dword [ebp - 0x1820]
movss xmm0, dword [ebp - 0x1820]
addss xmm0, dword [ebp - 0x180c]
mov eax, dword [ecx]
addss xmm0, dword [0x100bf6ac]
mov eax, dword [eax + 0x30]
movss dword [ebp - 0x1808], xmm0
movss dword [ebp - 0x180c], xmm0
call eax
movss xmm1, dword [ebp - 0x1808]
lea eax, [ebp - 0x180c]
comiss xmm1, dword [0x100b4fa4]
lea ecx, [ebp - 0x1820]
fstp dword [ebp - 0x1820]
movss xmm0, dword [ebp - 0x1820]
cmovae ecx, eax
movss dword [ebp - 0x181c], xmm0
comiss xmm0, xmm1
lea eax, [ebp - 0x181c]
mov dword [ebp - 0x1820], 0
cmovae eax, ecx
mov ecx, dword [0x100bf2a8]
movss xmm1, dword [eax]
mov eax, dword [0x100ff1b4]
add eax, 0xffffffcc
xor eax, 0x90fb2e48
cmp dword [eax + ecx], 0
jne 0x1002c68a
mov eax, dword [0x100ff1dc]
add eax, 0xffffffc2
xor eax, 0x90fb2e52
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fefdc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002c694
mov eax, dword [0x100fefdc]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x14]
subss xmm1, xmm0
comiss xmm1, dword [0x100b5024]
ja 0x1002cbc2
mov ecx, dword [0x100fef80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1002cbc2
cmp dword [0x100bf2a8], 0
je 0x1002cbc2
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x181c], ecx
mov ecx, eax
call dword [ebp - 0x181c]
mov ecx, dword [ebp - 0x1808]
fstp dword [ebp - 0x1820]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x181c], eax
call dword [ebp - 0x181c]
mov ecx, dword [0x100ff028]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
addss xmm0, dword [ebp - 0x1820]
mov eax, dword [ecx]
addss xmm0, dword [0x100bf6ac]
mov eax, dword [eax + 0x30]
movss dword [ebp - 0x1820], xmm0
movss dword [ebp - 0x1808], xmm0
call eax
movss xmm1, dword [ebp - 0x1820]
lea eax, [ebp - 0x1808]
comiss xmm1, dword [0x100b4fa4]
lea ecx, [ebp - 0x181c]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
cmovae ecx, eax
movss dword [ebp - 0x180c], xmm0
comiss xmm0, xmm1
lea eax, [ebp - 0x180c]
mov dword [ebp - 0x181c], 0
cmovae eax, ecx
mov ecx, dword [0x100bf2a8]
movss xmm1, dword [eax]
mov eax, dword [0x100ff1b4]
add eax, 0xffffffcc
xor eax, 0x90fb2e48
cmp dword [eax + ecx], 0
jne 0x1002c7d2
mov eax, dword [0x100ff1dc]
add eax, 0xffffffc2
xor eax, 0x90fb2e52
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fefdc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002c7dc
mov eax, dword [0x100fefdc]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
mov edx, dword [ebp - 0x1824]
subss xmm0, dword [eax + 0x14]
subss xmm1, xmm0
movss xmm0, dword [0x100b5288]
comiss xmm0, xmm1
ja 0x1002cbc8
mov eax, dword [edx + 0x18]
add eax, dword [edx + 0x14]
cmp edi, eax
je 0x1002cbc8
test esi, esi
je 0x1002c818
mov ecx, dword [esi]
jmp 0x1002c81a
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 ecx, dword [0x100fef80]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1002cb30
cmp dword [0x100bf2a8], 0
je 0x1002cb30
mov eax, dword [ebp - 0x1828]
xorps xmm4, xmm4
cmp byte [eax + 0x3c0], 0
je 0x1002cb33
mov ecx, dword [eax + 0xc]
cmp ecx, 0x11
jg 0x1002cb33
cmp byte [eax + 0x10], 0
jne 0x1002cb33
comiss xmm4, dword [eax + 4]
jb 0x1002cb33
cmp ecx, 0xfffffffe
jl 0x1002cb33
mov ecx, dword [0x100fef80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1002c9e3
cmp dword [0x100bf2a8], 0
je 0x1002c9e3
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x181c], ecx
mov ecx, eax
call dword [ebp - 0x181c]
mov ecx, dword [ebp - 0x1808]
fstp dword [ebp - 0x1820]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x181c], eax
call dword [ebp - 0x181c]
mov ecx, dword [0x100ff028]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
addss xmm0, dword [ebp - 0x1820]
mov eax, dword [ecx]
addss xmm0, dword [0x100bf6ac]
mov eax, dword [eax + 0x30]
movss dword [ebp - 0x1820], xmm0
movss dword [ebp - 0x1808], xmm0
call eax
movss xmm1, dword [ebp - 0x1820]
lea eax, [ebp - 0x1808]
xorps xmm4, xmm4
lea ecx, [ebp - 0x181c]
comiss xmm1, xmm4
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
cmovae ecx, eax
movss dword [ebp - 0x180c], xmm0
comiss xmm0, xmm1
lea eax, [ebp - 0x180c]
mov dword [ebp - 0x181c], 0
cmovae eax, ecx
mov ecx, dword [0x100bf2a8]
movss xmm1, dword [eax]
mov eax, dword [0x100ff1b4]
add eax, 0xffffffcc
xor eax, 0x90fb2e48
cmp dword [eax + ecx], 0
jne 0x1002c9bd
mov eax, dword [0x100ff1dc]
add eax, 0xffffffc2
xor eax, 0x90fb2e52
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fefdc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002c9c7
mov eax, dword [0x100fefdc]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x14]
subss xmm1, xmm0
comiss xmm1, dword [0x100b5024]
ja 0x1002cb33
mov ecx, dword [0x100fef80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1002cb30
cmp dword [0x100bf2a8], 0
je 0x1002cb30
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x181c], ecx
mov ecx, eax
call dword [ebp - 0x181c]
mov ecx, dword [ebp - 0x1808]
fstp dword [ebp - 0x1820]
push 1
mov eax, dword [ecx]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x181c], eax
call dword [ebp - 0x181c]
mov ecx, dword [0x100ff028]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
addss xmm0, dword [ebp - 0x1820]
mov eax, dword [ecx]
addss xmm0, dword [0x100bf6ac]
mov eax, dword [eax + 0x30]
movss dword [ebp - 0x1820], xmm0
movss dword [ebp - 0x1808], xmm0
call eax
movss xmm1, dword [ebp - 0x1820]
lea eax, [ebp - 0x1808]
xorps xmm4, xmm4
lea ecx, [ebp - 0x181c]
comiss xmm1, xmm4
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
cmovae ecx, eax
movss dword [ebp - 0x180c], xmm0
comiss xmm0, xmm1
lea eax, [ebp - 0x180c]
mov dword [ebp - 0x181c], 0
cmovae eax, ecx
mov ecx, dword [0x100bf2a8]
movss xmm1, dword [eax]
mov eax, dword [0x100ff1b4]
add eax, 0xffffffcc
xor eax, 0x90fb2e48
cmp dword [eax + ecx], 0
jne 0x1002cb04
mov eax, dword [0x100ff1dc]
add eax, 0xffffffc2
xor eax, 0x90fb2e52
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fefdc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002cb0e
mov eax, dword [0x100fefdc]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x14]
subss xmm1, xmm0
movss xmm0, dword [0x100b5288]
comiss xmm0, xmm1
jbe 0x1002cbc2
jmp 0x1002cb33
xorps xmm4, xmm4
test esi, esi
je 0x1002cb3b
mov ecx, dword [esi]
jmp 0x1002cb3d
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]
cmp byte [eax + 0x10], 0
jne 0x1002cbc2
test esi, esi
je 0x1002cb63
mov ecx, dword [esi]
jmp 0x1002cb65
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 dword [ebp - 0x180c], eax
test esi, esi
je 0x1002cb8b
mov eax, dword [esi]
jmp 0x1002cb8d
xor eax, eax
mov ecx, dword [ebp - 0x182c]
mov edx, ecx
mov dword [ebp - 0x1828], eax
and ecx, 1
mov eax, dword [eax + 8]
dec eax
shr edx, 1
and edx, eax
cmp dword [ebp - 0x180c], 0
mov eax, dword [ebp - 0x1828]
mov eax, dword [eax + 4]
mov eax, dword [eax + edx*4]
mov ecx, dword [eax + ecx*8]
je 0x1002cbc2
test ecx, ecx
jne 0x1002cbd5
mov edx, dword [ebp - 0x1824]
mov ecx, dword [ebp - 0x182c]
inc ecx
inc edi
jmp 0x1002c4b6
mov eax, dword [ecx + 0x28]
movq xmm0, qword [ecx + 0x20]
mov esi, dword [ebp - 0x180c]
movss xmm6, dword [ecx + 0x14]
movss xmm5, dword [ecx + 0x438]
mov dword [ebp - 0x1834], eax
mov eax, dword [0x100fefdc]
movq qword [ebp - 0x183c], xmm0
movaps xmm0, xmm6
subss xmm0, dword [esi + 0x14]
movss xmm3, dword [0x100b50a4]
movss xmm2, dword [eax + 0x10]
movaps xmm1, xmm2
subss xmm1, xmm5
divss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm4, xmm0
ja 0x1002cc34
comiss xmm0, xmm3
jbe 0x1002cc3f
movss dword [ecx + 0x438], xmm2
movaps xmm5, xmm2
subss xmm6, dword [esi + 0x14]
subss xmm2, xmm5
mov dword [ebp - 0x1820], 0x3f800000
movaps xmm0, xmm3
mov dword [ebp - 0x181c], 0
lea eax, [ebp - 0x1808]
lea ecx, [ebp - 0x181c]
push 0x1800
divss xmm2, xmm6
push dword [esi + 0x3c4]
subss xmm0, xmm2
movss xmm2, dword [ebp - 0x183c]
comiss xmm0, xmm4
movss dword [ebp - 0x1808], xmm0
cmovae ecx, eax
lea eax, [ebp - 0x1820]
comiss xmm3, xmm0
movq xmm0, qword [esi + 0x20]
movq qword [ebp - 0x1818], xmm0
movss xmm0, dword [ebp - 0x1818]
cmovae eax, ecx
movss xmm1, dword [eax]
mov eax, dword [esi + 0x28]
subss xmm3, xmm1
mulss xmm0, xmm1
mov dword [ebp - 0x1810], eax
lea eax, [ebp - 0x1804]
push eax
mulss xmm2, xmm3
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1814]
mulss xmm0, xmm1
movss dword [ebp - 0x181c], xmm2
movss xmm2, dword [ebp - 0x1838]
mulss xmm2, xmm3
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1810]
mulss xmm0, xmm1
movss dword [ebp - 0x1808], xmm2
movss xmm2, dword [ebp - 0x1834]
mulss xmm2, xmm3
addss xmm2, xmm0
movss dword [ebp - 0x1820], xmm2
call sub.VCRUNTIME140.dll_memcpy
movss xmm3, dword [ebp - 0x181c]
add esp, 0xc
movss xmm4, dword [ebp - 0x1808]
xor ecx, ecx
movss xmm5, dword [ebp - 0x1820]
nop dword [eax + eax]
mov eax, dword [esi + 0x3c4]
movss xmm2, dword [eax + ecx + 0xc]
movss xmm1, dword [eax + ecx + 0x1c]
movss xmm0, dword [eax + ecx + 0x2c]
subss xmm2, dword [esi + 0x20]
subss xmm1, dword [esi + 0x24]
subss xmm0, dword [esi + 0x28]
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 0x1002cd50
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.100a3dbc
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100a3dbc
mov esp, ebp
pop ebp
ret 8