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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x183c
call fcn.100a40c0
mov eax, dword [0x100be040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x100fe584]
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 0x1002cdc7
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x1002cdc7
mov eax, dword [0x100fe7b4]
add eax, 0xffffffcc
xor eax, 0x9f3a959d
cmp dword [eax + esi], 0
jne 0x1002cdc7
mov eax, dword [0x100fe720]
cmp byte [eax + esi], 0
jne 0x1002cdc7
mov edx, dword [0x100fe78c]
mov eax, dword [0x100be2a8]
add edx, 0xffffffd6
xor edx, 0x9f3a9593
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1002c3d8
mov ecx, dword [0x100fe658]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1002cdc7
imul eax, edi, 0xad8
lea eax, [eax + 0x100cf914]
mov dword [ebp - 0x1824], eax
test eax, eax
je 0x1002cdc7
mov eax, dword [eax + 0x18]
test eax, eax
je 0x1002cdc7
cmp eax, 2
jb 0x1002cdc7
cmp eax, 3
jb 0x1002cdc7
mov ecx, dword [0x100fe580]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1002cdc7
mov eax, dword [0x100fe57c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1828], eax
test eax, eax
je 0x1002c48c
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 0x1002c450
xor edx, edx
test ecx, ecx
je 0x1002c47f
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002c460
cmp esi, 0x8c8dc452
je 0x1002c4c2
mov eax, dword [ebp - 0x1828]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1828], eax
test eax, eax
jne 0x1002c440
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 0x1002cdc7
test esi, esi
je 0x1002c4ca
mov eax, dword [esi]
jmp 0x1002c4cc
mov ecx, dword [ebp - 0x1828]
jmp 0x1002c48e
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 [0x100fe580]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1002cbb2
cmp dword [0x100be2a8], 0
je 0x1002cbb2
mov eax, dword [ebp - 0x1828]
cmp byte [eax + 0x3c4], 0
je 0x1002cbb2
mov ecx, dword [eax + 0xc]
cmp ecx, 0x11
jg 0x1002cbb2
cmp byte [eax + 0x10], 0
jne 0x1002cbb2
xorps xmm4, xmm4
comiss xmm4, dword [eax + 4]
jb 0x1002cbb2
cmp ecx, 0xfffffffe
jl 0x1002cbb2
mov ecx, dword [0x100fe580]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1820], eax
test eax, eax
je 0x1002c6a0
cmp dword [0x100be2a8], 0
je 0x1002c6a0
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 [0x100fe628]
fstp dword [ebp - 0x1820]
movss xmm0, dword [ebp - 0x1820]
addss xmm0, dword [ebp - 0x180c]
mov eax, dword [ecx]
addss xmm0, dword [0x100be6ac]
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 [0x100b3f7c]
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 [0x100be2a8]
movss xmm1, dword [eax]
mov eax, dword [0x100fe7b4]
add eax, 0xffffffcc
xor eax, 0x9f3a959d
cmp dword [eax + ecx], 0
jne 0x1002c67a
mov eax, dword [0x100fe7dc]
add eax, 0xffffffc2
xor eax, 0x9f3a95a7
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fe5dc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002c684
mov eax, dword [0x100fe5dc]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x18]
subss xmm1, xmm0
comiss xmm1, dword [0x100b3ffc]
ja 0x1002cbb2
mov ecx, dword [0x100fe580]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1002cbb2
cmp dword [0x100be2a8], 0
je 0x1002cbb2
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 [0x100fe628]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
addss xmm0, dword [ebp - 0x1820]
mov eax, dword [ecx]
addss xmm0, dword [0x100be6ac]
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 [0x100b3f7c]
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 [0x100be2a8]
movss xmm1, dword [eax]
mov eax, dword [0x100fe7b4]
add eax, 0xffffffcc
xor eax, 0x9f3a959d
cmp dword [eax + ecx], 0
jne 0x1002c7c2
mov eax, dword [0x100fe7dc]
add eax, 0xffffffc2
xor eax, 0x9f3a95a7
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fe5dc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002c7cc
mov eax, dword [0x100fe5dc]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
mov edx, dword [ebp - 0x1824]
subss xmm0, dword [eax + 0x18]
subss xmm1, xmm0
movss xmm0, dword [0x100b4260]
comiss xmm0, xmm1
ja 0x1002cbb8
mov eax, dword [edx + 0x18]
add eax, dword [edx + 0x14]
cmp edi, eax
je 0x1002cbb8
test esi, esi
je 0x1002c808
mov ecx, dword [esi]
jmp 0x1002c80a
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 [0x100fe580]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1002cb20
cmp dword [0x100be2a8], 0
je 0x1002cb20
mov eax, dword [ebp - 0x1828]
xorps xmm4, xmm4
cmp byte [eax + 0x3c4], 0
je 0x1002cb23
mov ecx, dword [eax + 0xc]
cmp ecx, 0x11
jg 0x1002cb23
cmp byte [eax + 0x10], 0
jne 0x1002cb23
comiss xmm4, dword [eax + 4]
jb 0x1002cb23
cmp ecx, 0xfffffffe
jl 0x1002cb23
mov ecx, dword [0x100fe580]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1002c9d3
cmp dword [0x100be2a8], 0
je 0x1002c9d3
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 [0x100fe628]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
addss xmm0, dword [ebp - 0x1820]
mov eax, dword [ecx]
addss xmm0, dword [0x100be6ac]
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 [0x100be2a8]
movss xmm1, dword [eax]
mov eax, dword [0x100fe7b4]
add eax, 0xffffffcc
xor eax, 0x9f3a959d
cmp dword [eax + ecx], 0
jne 0x1002c9ad
mov eax, dword [0x100fe7dc]
add eax, 0xffffffc2
xor eax, 0x9f3a95a7
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fe5dc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002c9b7
mov eax, dword [0x100fe5dc]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x18]
subss xmm1, xmm0
comiss xmm1, dword [0x100b3ffc]
ja 0x1002cb23
mov ecx, dword [0x100fe580]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1002cb20
cmp dword [0x100be2a8], 0
je 0x1002cb20
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 [0x100fe628]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
addss xmm0, dword [ebp - 0x1820]
mov eax, dword [ecx]
addss xmm0, dword [0x100be6ac]
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 [0x100be2a8]
movss xmm1, dword [eax]
mov eax, dword [0x100fe7b4]
add eax, 0xffffffcc
xor eax, 0x9f3a959d
cmp dword [eax + ecx], 0
jne 0x1002caf4
mov eax, dword [0x100fe7dc]
add eax, 0xffffffc2
xor eax, 0x9f3a95a7
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fe5dc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002cafe
mov eax, dword [0x100fe5dc]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x18]
subss xmm1, xmm0
movss xmm0, dword [0x100b4260]
comiss xmm0, xmm1
jbe 0x1002cbb2
jmp 0x1002cb23
xorps xmm4, xmm4
test esi, esi
je 0x1002cb2b
mov ecx, dword [esi]
jmp 0x1002cb2d
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 0x1002cbb2
test esi, esi
je 0x1002cb53
mov ecx, dword [esi]
jmp 0x1002cb55
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 0x1002cb7b
mov eax, dword [esi]
jmp 0x1002cb7d
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 0x1002cbb2
test ecx, ecx
jne 0x1002cbc5
mov edx, dword [ebp - 0x1824]
mov ecx, dword [ebp - 0x182c]
inc ecx
inc edi
jmp 0x1002c4a6
mov eax, dword [ecx + 0x2c]
movq xmm0, qword [ecx + 0x24]
mov esi, dword [ebp - 0x180c]
movss xmm6, dword [ecx + 0x18]
movss xmm5, dword [ecx + 0x440]
mov dword [ebp - 0x1834], eax
mov eax, dword [0x100fe5dc]
movq qword [ebp - 0x183c], xmm0
movaps xmm0, xmm6
subss xmm0, dword [esi + 0x18]
movss xmm3, dword [0x100b407c]
movss xmm2, dword [eax + 0x10]
movaps xmm1, xmm2
subss xmm1, xmm5
divss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm4, xmm0
ja 0x1002cc24
comiss xmm0, xmm3
jbe 0x1002cc2f
movss dword [ecx + 0x440], xmm2
movaps xmm5, xmm2
subss xmm6, dword [esi + 0x18]
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 + 0x3c8]
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 + 0x24]
movq qword [ebp - 0x1818], xmm0
movss xmm0, dword [ebp - 0x1818]
cmovae eax, ecx
movss xmm1, dword [eax]
mov eax, dword [esi + 0x2c]
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 + 0x3c8]
movss xmm2, dword [eax + ecx + 0xc]
movss xmm1, dword [eax + ecx + 0x1c]
movss xmm0, dword [eax + ecx + 0x2c]
subss xmm2, dword [esi + 0x24]
subss xmm1, dword [esi + 0x28]
subss xmm0, dword [esi + 0x2c]
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 0x1002cd40
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.100a2d0c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100a2d0c
mov esp, ebp
pop ebp
ret 8