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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x183c
call fcn.100a5050
mov eax, dword [0x100c0040]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [0x100fff8c]
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 0x1002cbc7
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x1002cbc7
mov eax, dword [0x101001b4]
add eax, 0xffffffcc
xor eax, 0x53935b15
cmp dword [eax + esi], 0
jne 0x1002cbc7
mov eax, dword [0x10100124]
cmp byte [eax + esi], 0
jne 0x1002cbc7
mov edx, dword [0x1010018c]
mov eax, dword [0x100c02a8]
add edx, 0xffffffd6
xor edx, 0x53935b0b
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1002c1e8
mov ecx, dword [0x1010005c]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1002cbc7
imul eax, edi, 0xac0
lea eax, [eax + 0x100d1934]
mov dword [ebp - 0x1824], eax
test eax, eax
je 0x1002cbc7
mov eax, dword [eax + 0x18]
test eax, eax
je 0x1002cbc7
cmp eax, 2
jb 0x1002cbc7
cmp eax, 3
jb 0x1002cbc7
mov ecx, dword [0x100fff88]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1002cbc7
mov eax, dword [0x100fff84]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1828], eax
test eax, eax
je 0x1002c29c
nop dword [eax]
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + edi], 0
jne 0x1002c260
xor edx, edx
test ecx, ecx
je 0x1002c28f
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002c270
cmp esi, 0x8c8dc452
je 0x1002c2d2
mov eax, dword [ebp - 0x1828]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1828], eax
test eax, eax
jne 0x1002c250
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 0x1002cbc7
test esi, esi
je 0x1002c2da
mov eax, dword [esi]
jmp 0x1002c2dc
mov ecx, dword [ebp - 0x1828]
jmp 0x1002c29e
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 [0x100fff88]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1002c9b8
cmp dword [0x100c02a8], 0
je 0x1002c9b8
mov eax, dword [ebp - 0x1828]
cmp byte [eax + 0x3c0], 0
je 0x1002c9b8
mov ecx, dword [eax + 0xc]
cmp ecx, 0x11
jg 0x1002c9b8
cmp byte [eax + 0x10], 0
jne 0x1002c9b8
xorps xmm4, xmm4
comiss xmm4, dword [eax + 4]
jb 0x1002c9b8
cmp ecx, 0xfffffffe
jl 0x1002c9b8
mov ecx, dword [0x100fff88]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1820], eax
test eax, eax
je 0x1002c4b0
cmp dword [0x100c02a8], 0
je 0x1002c4b0
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 [0x1010002c]
fstp dword [ebp - 0x1820]
movss xmm0, dword [ebp - 0x1820]
addss xmm0, dword [ebp - 0x180c]
mov eax, dword [ecx]
addss xmm0, dword [0x100c06ac]
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 [0x100b5f3c]
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 [0x100c02a8]
movss xmm1, dword [eax]
mov eax, dword [0x101001b4]
add eax, 0xffffffcc
xor eax, 0x53935b15
cmp dword [eax + ecx], 0
jne 0x1002c48a
mov eax, dword [0x101001dc]
add eax, 0xffffffc2
xor eax, 0x53935b1f
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fffe4]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002c494
mov eax, dword [0x100fffe4]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x14]
subss xmm1, xmm0
comiss xmm1, dword [0x100b5fbc]
ja 0x1002c9b8
mov ecx, dword [0x100fff88]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1002c9b8
cmp dword [0x100c02a8], 0
je 0x1002c9b8
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 [0x1010002c]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
addss xmm0, dword [ebp - 0x1820]
mov eax, dword [ecx]
addss xmm0, dword [0x100c06ac]
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 [0x100b5f3c]
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 [0x100c02a8]
movss xmm1, dword [eax]
mov eax, dword [0x101001b4]
add eax, 0xffffffcc
xor eax, 0x53935b15
cmp dword [eax + ecx], 0
jne 0x1002c5d2
mov eax, dword [0x101001dc]
add eax, 0xffffffc2
xor eax, 0x53935b1f
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fffe4]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002c5dc
mov eax, dword [0x100fffe4]
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 [0x100b6228]
comiss xmm0, xmm1
ja 0x1002c9be
mov eax, dword [edx + 0x18]
add eax, dword [edx + 0x14]
cmp edi, eax
je 0x1002c9be
test esi, esi
je 0x1002c618
mov ecx, dword [esi]
jmp 0x1002c61a
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 [0x100fff88]
mov dword [ebp - 0x1828], eax
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1002c926
cmp dword [0x100c02a8], 0
je 0x1002c926
mov eax, dword [ebp - 0x1828]
xorps xmm4, xmm4
cmp byte [eax + 0x3c0], 0
je 0x1002c929
mov ecx, dword [eax + 0xc]
cmp ecx, 0x11
jg 0x1002c929
cmp byte [eax + 0x10], 0
jne 0x1002c929
comiss xmm4, dword [eax + 4]
jb 0x1002c929
cmp ecx, 0xfffffffe
jl 0x1002c929
mov ecx, dword [0x100fff88]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov ecx, eax
mov dword [ebp - 0x181c], ecx
test ecx, ecx
je 0x1002c7d9
cmp dword [0x100c02a8], 0
je 0x1002c7d9
mov eax, dword [ecx]
push 0
mov eax, dword [eax + 0x24]
call eax
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]
movss xmm0, dword [ebp - 0x1808]
mov ecx, dword [0x1010002c]
fstp dword [ebp - 0x181c]
addss xmm0, dword [ebp - 0x181c]
mov eax, dword [ecx]
addss xmm0, dword [0x100c06ac]
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 [0x100c02a8]
movss xmm1, dword [eax]
mov eax, dword [0x101001b4]
add eax, 0xffffffcc
xor eax, 0x53935b15
cmp dword [eax + ecx], 0
jne 0x1002c7b3
mov eax, dword [0x101001dc]
add eax, 0xffffffc2
xor eax, 0x53935b1f
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fffe4]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002c7bd
mov eax, dword [0x100fffe4]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x14]
subss xmm1, xmm0
comiss xmm1, dword [0x100b5fbc]
ja 0x1002c929
mov ecx, dword [0x100fff88]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1002c926
cmp dword [0x100c02a8], 0
je 0x1002c926
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 [0x1010002c]
fstp dword [ebp - 0x181c]
movss xmm0, dword [ebp - 0x181c]
addss xmm0, dword [ebp - 0x1820]
mov eax, dword [ecx]
addss xmm0, dword [0x100c06ac]
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 [0x100c02a8]
movss xmm1, dword [eax]
mov eax, dword [0x101001b4]
add eax, 0xffffffcc
xor eax, 0x53935b15
cmp dword [eax + ecx], 0
jne 0x1002c8fa
mov eax, dword [0x101001dc]
add eax, 0xffffffc2
xor eax, 0x53935b1f
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fffe4]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002c904
mov eax, dword [0x100fffe4]
movss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x1828]
subss xmm0, dword [eax + 0x14]
subss xmm1, xmm0
movss xmm0, dword [0x100b6228]
comiss xmm0, xmm1
jbe 0x1002c9b8
jmp 0x1002c929
xorps xmm4, xmm4
test esi, esi
je 0x1002c931
mov ecx, dword [esi]
jmp 0x1002c933
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 + 0x10], 0
jne 0x1002c9b8
test esi, esi
je 0x1002c959
mov ecx, dword [esi]
jmp 0x1002c95b
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 - 0x180c], eax
test esi, esi
je 0x1002c981
mov eax, dword [esi]
jmp 0x1002c983
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 - 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 0x1002c9b8
test ecx, ecx
jne 0x1002c9cb
mov edx, dword [ebp - 0x1824]
mov ecx, dword [ebp - 0x182c]
inc ecx
inc edi
jmp 0x1002c2b6
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 [0x100fffe4]
movq qword [ebp - 0x183c], xmm0
movaps xmm0, xmm6
subss xmm0, dword [esi + 0x14]
movss xmm3, dword [0x100b603c]
movss xmm2, dword [eax + 0x10]
movaps xmm1, xmm2
subss xmm1, xmm5
divss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm4, xmm0
ja 0x1002ca2a
comiss xmm0, xmm3
jbe 0x1002ca35
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
cmovae eax, ecx
movss xmm1, dword [eax]
mov eax, dword [esi + 0x28]
subss xmm3, xmm1
movaps xmm0, xmm1
mov dword [ebp - 0x1810], eax
mulss xmm0, dword [ebp - 0x1818]
lea eax, [ebp - 0x1804]
push eax
mulss xmm2, xmm3
addss xmm2, xmm0
movaps xmm0, xmm1
mulss xmm0, dword [ebp - 0x1814]
mulss xmm1, dword [ebp - 0x1810]
movss dword [ebp - 0x181c], xmm2
movss xmm2, dword [ebp - 0x1838]
mulss xmm2, xmm3
addss xmm2, xmm0
movss xmm0, dword [ebp - 0x1834]
mulss xmm0, xmm3
addss xmm0, xmm1
movss dword [ebp - 0x1808], xmm2
movss dword [ebp - 0x1820], xmm0
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 0x1002cb40
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.100a3df6
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100a3df6
mov esp, ebp
pop ebp
ret 8