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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x183c
call fcn.100a4bc0
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 0x1002cbe7
mov ecx, dword [esi]
mov edx, dword [ecx + 0x260]
mov ecx, esi
call edx
test al, al
je 0x1002cbe7
mov eax, dword [0x100ff1ac]
add eax, 0xffffffcc
xor eax, 0x7f685679
cmp dword [eax + esi], 0
jne 0x1002cbe7
mov eax, dword [0x100ff11c]
cmp byte [eax + esi], 0
jne 0x1002cbe7
mov edx, dword [0x100ff184]
mov eax, dword [0x100bf2a8]
add edx, 0xffffffd6
xor edx, 0x7f68566f
mov ecx, dword [edx + esi]
cmp ecx, dword [edx + eax]
jne 0x1002c1f8
mov ecx, dword [0x100ff054]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x1002cbe7
imul eax, edi, 0xac0
lea eax, [eax + 0x100d092c]
mov dword [ebp - 0x1824], eax
test eax, eax
je 0x1002cbe7
mov eax, dword [eax + 0x18]
test eax, eax
je 0x1002cbe7
cmp eax, 2
jb 0x1002cbe7
cmp eax, 3
jb 0x1002cbe7
mov ecx, dword [0x100fef80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x1002cbe7
mov eax, dword [0x100fef7c]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x1828], eax
test eax, eax
je 0x1002c2ac
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 0x1002c270
xor edx, edx
test ecx, ecx
je 0x1002c29f
nop dword [eax]
movsx eax, byte [edi + edx]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x1002c280
cmp esi, 0x8c8dc452
je 0x1002c2e2
mov eax, dword [ebp - 0x1828]
mov eax, dword [eax + 4]
mov dword [ebp - 0x1828], eax
test eax, eax
jne 0x1002c260
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 0x1002cbe7
test esi, esi
je 0x1002c2ea
mov eax, dword [esi]
jmp 0x1002c2ec
mov ecx, dword [ebp - 0x1828]
jmp 0x1002c2ae
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 0x1002c9d2
cmp dword [0x100bf2a8], 0
je 0x1002c9d2
mov eax, dword [ebp - 0x1828]
cmp byte [eax + 0x3c0], 0
je 0x1002c9d2
mov ecx, dword [eax + 0xc]
cmp ecx, 0x11
jg 0x1002c9d2
cmp byte [eax + 0x10], 0
jne 0x1002c9d2
xorps xmm4, xmm4
comiss xmm4, dword [eax + 4]
jb 0x1002c9d2
cmp ecx, 0xfffffffe
jl 0x1002c9d2
mov ecx, dword [0x100fef80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1820], eax
test eax, eax
je 0x1002c4c0
cmp dword [0x100bf2a8], 0
je 0x1002c4c0
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 [0x100ff024]
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 [0x100b4f50]
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 [0x100ff1ac]
add eax, 0xffffffcc
xor eax, 0x7f685679
cmp dword [eax + ecx], 0
jne 0x1002c49a
mov eax, dword [0x100ff1d4]
add eax, 0xffffffc2
xor eax, 0x7f685683
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fefdc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002c4a4
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 [0x100b4fd4]
ja 0x1002c9d2
mov ecx, dword [0x100fef80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1002c9d2
cmp dword [0x100bf2a8], 0
je 0x1002c9d2
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 [0x100ff024]
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 [0x100b4f50]
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 [0x100ff1ac]
add eax, 0xffffffcc
xor eax, 0x7f685679
cmp dword [eax + ecx], 0
jne 0x1002c5e2
mov eax, dword [0x100ff1d4]
add eax, 0xffffffc2
xor eax, 0x7f685683
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fefdc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002c5ec
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 [0x100b5230]
comiss xmm0, xmm1
ja 0x1002c9d8
mov eax, dword [edx + 0x18]
add eax, dword [edx + 0x14]
cmp edi, eax
je 0x1002c9d8
test esi, esi
je 0x1002c628
mov ecx, dword [esi]
jmp 0x1002c62a
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 0x1002c940
cmp dword [0x100bf2a8], 0
je 0x1002c940
mov eax, dword [ebp - 0x1828]
xorps xmm4, xmm4
cmp byte [eax + 0x3c0], 0
je 0x1002c943
mov ecx, dword [eax + 0xc]
cmp ecx, 0x11
jg 0x1002c943
cmp byte [eax + 0x10], 0
jne 0x1002c943
comiss xmm4, dword [eax + 4]
jb 0x1002c943
cmp ecx, 0xfffffffe
jl 0x1002c943
mov ecx, dword [0x100fef80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1002c7f3
cmp dword [0x100bf2a8], 0
je 0x1002c7f3
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 [0x100ff024]
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 [0x100ff1ac]
add eax, 0xffffffcc
xor eax, 0x7f685679
cmp dword [eax + ecx], 0
jne 0x1002c7cd
mov eax, dword [0x100ff1d4]
add eax, 0xffffffc2
xor eax, 0x7f685683
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fefdc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002c7d7
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 [0x100b4fd4]
ja 0x1002c943
mov ecx, dword [0x100fef80]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1808], eax
test eax, eax
je 0x1002c940
cmp dword [0x100bf2a8], 0
je 0x1002c940
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 [0x100ff024]
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 [0x100ff1ac]
add eax, 0xffffffcc
xor eax, 0x7f685679
cmp dword [eax + ecx], 0
jne 0x1002c914
mov eax, dword [0x100ff1d4]
add eax, 0xffffffc2
xor eax, 0x7f685683
movd xmm0, dword [eax + ecx]
mov eax, dword [0x100fefdc]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [eax + 0x20]
jmp 0x1002c91e
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 [0x100b5230]
comiss xmm0, xmm1
jbe 0x1002c9d2
jmp 0x1002c943
xorps xmm4, xmm4
test esi, esi
je 0x1002c94b
mov ecx, dword [esi]
jmp 0x1002c94d
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 0x1002c9d2
test esi, esi
je 0x1002c973
mov ecx, dword [esi]
jmp 0x1002c975
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 0x1002c99b
mov eax, dword [esi]
jmp 0x1002c99d
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 0x1002c9d2
test ecx, ecx
jne 0x1002c9e5
mov edx, dword [ebp - 0x1824]
mov ecx, dword [ebp - 0x182c]
inc ecx
inc edi
jmp 0x1002c2c6
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 [0x100b5054]
movss xmm2, dword [eax + 0x10]
movaps xmm1, xmm2
subss xmm1, xmm5
divss xmm1, xmm0
movaps xmm0, xmm3
subss xmm0, xmm1
comiss xmm4, xmm0
ja 0x1002ca44
comiss xmm0, xmm3
jbe 0x1002ca4f
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 0x1002cb60
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.100a37fc
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100a37fc
mov esp, ebp
pop ebp
ret 8