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

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1850
call fcn.100dcd40
mov eax, dword [0x10103040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1840], ecx
mov ecx, dword [0x10419fa8]
mov dword [ebp - 0x1844], eax
push esi
push edi
mov eax, dword [ecx]
push edx
mov dword [ebp - 0x1838], edx
mov eax, dword [eax + 0xc]
call eax
mov edi, eax
mov dword [ebp - 0x183c], edi
test edi, edi
je 0x10042626
mov ecx, dword [edi]
mov edx, dword [ecx + 0x260]
mov ecx, edi
call edx
test al, al
je 0x10042626
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
cmp eax, 0x40
jg 0x10042626
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x28]
call eax
test eax, eax
jle 0x10042626
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 8]
call eax
test eax, eax
je 0x10042626
mov eax, dword [0x10421e94]
add eax, 0xffffffd0
xor eax, 0x8fb53ebb
cmp byte [eax + edi], 0
jne 0x10042626
mov eax, dword [0x10421eb4]
add eax, 0xffffffc8
xor eax, 0x8fb53ec3
cmp dword [eax + edi], 0
jle 0x10042626
mov eax, dword [0x1041a1e8]
cmp byte [eax + edi], 0
jne 0x10042626
mov edx, dword [0x10421e64]
mov eax, dword [0x10324448]
add edx, 0xffffffdc
xor edx, 0x8fb53eaf
mov ecx, dword [edx + edi]
cmp ecx, dword [edx + eax]
jne 0x10041e2b
mov ecx, dword [0x1041a0a8]
mov eax, dword [ecx]
mov eax, dword [eax + 0x34]
call eax
test eax, eax
je 0x10042626
mov eax, dword [edi + 8]
lea ecx, [edi + 8]
mov eax, dword [eax + 0x24]
call eax
test al, al
jne 0x10042626
mov eax, dword [0x10421ee4]
add eax, 0xffffffbc
xor eax, 0x8fb53ecf
vxorps xmm1, xmm1, xmm1
vmovss xmm0, dword [eax + edi]
vucomiss xmm0, xmm1
lahf
test ah, 0x44
jp 0x10042626
imul eax, dword [ebp - 0x1838], 0x50d8
lea esi, [eax + 0x100fe1dc]
mov dword [ebp - 0x1830], esi
test esi, esi
je 0x10042626
mov eax, dword [esi + 0x10]
test eax, eax
je 0x10042626
cmp eax, 2
jb 0x10042626
mov edx, dword [esi + 0xc]
mov ecx, edx
mov eax, dword [esi + 8]
and edx, 1
dec eax
shr ecx, 1
and ecx, eax
mov eax, dword [esi + 4]
mov eax, dword [eax + ecx*4]
mov eax, dword [eax + edx*8]
cmp byte [eax + 0x3430], 0
jne 0x10042626
mov ecx, dword [0x10419fa4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov esi, eax
mov dword [ebp - 0x1824], esi
test esi, esi
je 0x10042626
mov ecx, dword [0x10422184]
test cl, 1
jne 0x10041f70
or ecx, 1
mov dword [0x10422184], ecx
mov eax, dword [0x10419fa0]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x182c], eax
test eax, eax
je 0x10041f52
mov edi, dword [eax + 0xc]
mov esi, 0x811c9dc5
xor ecx, ecx
nop
inc ecx
cmp byte [ecx + edi], 0
jne 0x10041f10
xor edx, edx
test ecx, ecx
je 0x10041f3f
nop dword [eax]
movsx eax, byte [edx + edi]
inc edx
xor eax, esi
imul esi, eax, 0x1000193
cmp edx, ecx
jb 0x10041f20
cmp esi, 0x8c8dc452
je 0x10041f5c
mov eax, dword [ebp - 0x182c]
mov eax, dword [eax + 4]
mov dword [ebp - 0x182c], eax
test eax, eax
jne 0x10041f04
mov esi, dword [ebp - 0x1824]
xor ecx, ecx
mov dword [0x10422188], ecx
jmp 0x10041f76
mov ecx, dword [ebp - 0x182c]
mov esi, dword [ebp - 0x1824]
mov dword [0x10422188], ecx
jmp 0x10041f76
mov ecx, dword [0x10422188]
test ecx, ecx
je 0x10041f83
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
call eax
fstp st(0)
mov eax, dword [esi]
mov ecx, esi
push 0
mov eax, dword [eax + 0x28]
call eax
mov eax, dword [esi]
fstp st(0)
push 1
mov ecx, esi
mov eax, dword [eax + 0x28]
call eax
mov ecx, dword [ebp - 0x1830]
fstp st(0)
mov edi, dword [ecx + 0xc]
mov esi, dword [ecx]
mov dword [ebp - 0x1824], edi
inc edi
mov dword [ebp - 0x1834], esi
mov eax, dword [ecx + 0xc]
add eax, dword [ecx + 0x10]
cmp edi, eax
je 0x10042626
test esi, esi
je 0x10041fcb
mov ecx, dword [esi]
jmp 0x10041fcd
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 - 0x182c], eax
test esi, esi
je 0x10041ff3
mov ecx, dword [esi]
jmp 0x10041ff5
xor ecx, ecx
mov esi, dword [ebp - 0x1824]
mov edx, esi
mov eax, dword [ecx + 8]
and esi, 1
dec eax
shr edx, 1
and edx, eax
mov eax, dword [ecx + 4]
mov ecx, dword [0x10419fa4]
mov eax, dword [eax + edx*4]
mov esi, dword [eax + esi*8]
mov eax, dword [ecx]
mov dword [ebp - 0x1838], esi
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10042337
cmp dword [0x10324448], 0
je 0x10042337
mov eax, dword [ebp - 0x182c]
cmp byte [eax + 0x42c], 0
je 0x10042337
mov ecx, dword [0x10419fa4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x1820], eax
test eax, eax
je 0x100421a9
cmp dword [0x10324448], 0
je 0x100421a9
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 - 0x1820]
fldz
faddp st(1)
push 1
mov eax, dword [ecx]
fstp dword [ebp - 0x181c]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1820], eax
call dword [ebp - 0x1820]
fadd dword [ebp - 0x181c]
mov ecx, dword [0x1041a06c]
fadd dword [0x10325ed0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
fstp dword [ebp - 0x181c]
vmovss xmm0, dword [ebp - 0x181c]
vmovss dword [ebp - 0x180c], xmm0
call eax
vmovss xmm1, dword [ebp - 0x181c]
vxorps xmm2, xmm2, xmm2
vcomiss xmm2, xmm1
fstp dword [ebp - 0x1820]
vmovss xmm0, dword [ebp - 0x1820]
lea eax, [ebp - 0x180c]
lea ecx, [ebp - 0x1820]
cmovbe ecx, eax
lea eax, [ebp - 0x1808]
vcomiss xmm1, xmm0
vmovss dword [ebp - 0x1808], xmm0
cmovbe eax, ecx
mov ecx, dword [0x10324448]
vmovss dword [ebp - 0x1820], xmm2
vmovss xmm1, dword [eax]
mov eax, dword [0x10421e94]
add eax, 0xffffffd0
xor eax, 0x8fb53ebb
cmp byte [eax + ecx], 0
jne 0x1004217d
mov eax, dword [0x10421eb4]
add eax, 0xffffffc8
xor eax, 0x8fb53ec3
cmp dword [eax + ecx], 0
jle 0x1004217d
mov eax, dword [0x10421eac]
add eax, 0xffffffca
xor eax, 0x8fb53ec1
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [eax + ecx]
mov eax, dword [0x1041a004]
vmulss xmm0, xmm0, dword [eax + 0x20]
jmp 0x10042187
mov eax, dword [0x1041a004]
vmovss xmm0, dword [eax + 0x10]
mov eax, dword [ebp - 0x182c]
vsubss xmm0, xmm0, dword [eax + 0x2c]
vsubss xmm0, xmm1, xmm0
call fcn.100305d0
vcomiss xmm0, dword [0x100f69d4]
ja 0x10042337
mov ecx, dword [0x10419fa4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
test eax, eax
je 0x10042337
cmp dword [0x10324448], 0
je 0x10042337
cmp byte [esi + 0x42c], 0
je 0x10042337
mov ecx, dword [0x10419fa4]
mov eax, dword [ecx]
mov eax, dword [eax + 0x138]
call eax
mov dword [ebp - 0x180c], eax
test eax, eax
je 0x1004232b
cmp dword [0x10324448], 0
je 0x1004232b
mov ecx, dword [eax]
push 0
mov ecx, dword [ecx + 0x24]
mov dword [ebp - 0x1808], ecx
mov ecx, eax
call dword [ebp - 0x1808]
mov ecx, dword [ebp - 0x180c]
fldz
faddp st(1)
push 1
mov eax, dword [ecx]
fstp dword [ebp - 0x1820]
mov eax, dword [eax + 0x24]
mov dword [ebp - 0x1808], eax
call dword [ebp - 0x1808]
fadd dword [ebp - 0x1820]
mov ecx, dword [0x1041a06c]
fadd dword [0x10325ed0]
mov eax, dword [ecx]
mov eax, dword [eax + 0x30]
fstp dword [ebp - 0x181c]
vmovss xmm0, dword [ebp - 0x181c]
vmovss dword [ebp - 0x180c], xmm0
call eax
vmovss xmm1, dword [ebp - 0x181c]
vxorps xmm2, xmm2, xmm2
vcomiss xmm2, xmm1
fstp dword [ebp - 0x1808]
vmovss xmm0, dword [ebp - 0x1808]
lea eax, [ebp - 0x180c]
lea ecx, [ebp - 0x1808]
cmovbe ecx, eax
lea eax, [ebp - 0x1820]
vcomiss xmm1, xmm0
vmovss dword [ebp - 0x1820], xmm0
cmovbe eax, ecx
mov ecx, dword [0x10324448]
vmovss dword [ebp - 0x1808], xmm2
vmovss xmm1, dword [eax]
mov eax, dword [0x10421e94]
add eax, 0xffffffd0
xor eax, 0x8fb53ebb
cmp byte [eax + ecx], 0
jne 0x10042309
mov eax, dword [0x10421eb4]
add eax, 0xffffffc8
xor eax, 0x8fb53ec3
cmp dword [eax + ecx], 0
jle 0x10042309
mov eax, dword [0x10421eac]
add eax, 0xffffffca
xor eax, 0x8fb53ec1
vxorps xmm0, xmm0, xmm0
vcvtsi2ss xmm0, xmm0, dword [eax + ecx]
mov eax, dword [0x1041a004]
vmulss xmm0, xmm0, dword [eax + 0x20]
jmp 0x10042313
mov eax, dword [0x1041a004]
vmovss xmm0, dword [eax + 0x10]
vsubss xmm0, xmm0, dword [esi + 0x2c]
vsubss xmm0, xmm1, xmm0
call fcn.100305d0
vcomiss xmm0, dword [0x100f69d4]
ja 0x10042337
mov ecx, dword [ebp - 0x182c]
cmp byte [ecx + 0x1c], 0
je 0x1004234f
mov esi, dword [ebp - 0x1834]
inc edi
inc dword [ebp - 0x1824]
mov ecx, dword [ebp - 0x1830]
jmp 0x10041fb5
mov eax, dword [ecx + 0x40]
vmovq xmm0, qword [ecx + 0x38]
vmovss xmm5, dword [esi + 0x3770]
vmovss xmm6, dword [esi + 0x2c]
vmovss xmm4, dword [0x100f6a5c]
mov dword [ebp - 0x1848], eax
mov eax, dword [0x1041a004]
vmovq qword [ebp - 0x1850], xmm0
vmovss xmm0, dword [ecx + 0x2c]
vsubss xmm0, xmm0, xmm6
vmovss xmm3, dword [eax + 0x10]
vsubss xmm1, xmm3, xmm5
vdivss xmm0, xmm1, xmm0
vxorps xmm2, xmm2, xmm2
vcomiss xmm2, xmm0
ja 0x100423a5
vcomiss xmm0, xmm4
jbe 0x100423b1
vmovss dword [esi + 0x3770], xmm3
vmovaps xmm5, xmm3
vmovss xmm0, dword [ecx + 0x2c]
vsubss xmm0, xmm0, xmm6
vsubss xmm1, xmm3, xmm5
vdivss xmm0, xmm1, xmm0
vcomiss xmm2, xmm0
lea eax, [ebp - 0x1808]
lea ecx, [ebp - 0x1834]
cmovbe ecx, eax
lea eax, [ebp - 0x180c]
vcomiss xmm0, xmm4
vmovss dword [ebp - 0x1808], xmm0
vmovq xmm0, qword [esi + 0x38]
cmovbe eax, ecx
mov ecx, dword [ebp - 0x183c]
vmovss dword [ebp - 0x180c], xmm4
vmovss dword [ebp - 0x1834], xmm2
vmovq qword [ebp - 0x1818], xmm0
vmovss xmm3, dword [eax]
vmulss xmm1, xmm3, dword [ebp - 0x1850]
mov eax, dword [esi + 0x40]
vsubss xmm2, xmm4, xmm3
vmulss xmm0, xmm2, dword [ebp - 0x1818]
vaddss xmm0, xmm1, xmm0
vmulss xmm1, xmm3, dword [ebp - 0x184c]
vmovss dword [ebp - 0x1830], xmm0
vmulss xmm0, xmm2, dword [ebp - 0x1814]
vaddss xmm0, xmm1, xmm0
vmulss xmm1, xmm3, dword [ebp - 0x1848]
mov dword [ebp - 0x1810], eax
mov eax, dword [ecx]
vmovss dword [ebp - 0x181c], xmm0
vmulss xmm0, xmm2, dword [ebp - 0x1810]
vaddss xmm0, xmm1, xmm0
mov eax, dword [eax + 0x28]
vmovss dword [ebp - 0x180c], xmm0
call eax
vmovss xmm0, dword [ebp - 0x1830]
vsubss xmm2, xmm0, dword [eax]
vmovss xmm0, dword [ebp - 0x181c]
vsubss xmm0, xmm0, dword [eax + 4]
vmulss xmm1, xmm0, xmm0
vmulss xmm0, xmm2, xmm2
vaddss xmm0, xmm1, xmm0
call fcn.10030610
vmovaps xmm3, xmm0
vmovss xmm0, dword [0x100f6b48]
vcomiss xmm0, xmm3
jb 0x10042508
vmovss xmm2, dword [0x100f6a5c]
vdivss xmm0, xmm3, xmm0
vxorps xmm1, xmm1, xmm1
vcomiss xmm1, xmm0
lea eax, [ebp - 0x1834]
lea ecx, [ebp - 0x183c]
cmovbe ecx, eax
lea eax, [ebp - 0x1808]
vcomiss xmm0, xmm2
vmovss dword [ebp - 0x1808], xmm2
cmovbe eax, ecx
mov ecx, dword [ebp - 0x1840]
vmovss dword [ebp - 0x183c], xmm1
vmovss dword [ebp - 0x1834], xmm0
mov eax, dword [eax]
mov dword [ecx + 0x10], eax
vmovss xmm0, dword [0x100f6b18]
vcomiss xmm0, xmm3
jae 0x10042626
push 0x1800
lea eax, [esi + 0x430]
push eax
lea eax, [ebp - 0x1804]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov dl, byte [0x102ade3c]
lea eax, [ebp - 0x17e8]
vmovss xmm6, dword [ebp - 0x1830]
vmovss xmm7, dword [ebp - 0x181c]
add esp, 0xc
mov dword [ebp - 0x1824], 0x80
lea ecx, [esi + 0x44c]
mov byte [ebp - 0x1825], dl
nop word [eax + eax]
vmovss xmm0, dword [ecx - 0x10]
vmovss xmm1, dword [esi + 0x38]
vmovss xmm3, dword [esi + 0x3c]
vmovss xmm4, dword [esi + 0x40]
vsubss xmm2, xmm0, xmm1
vmovss xmm0, dword [ecx]
vsubss xmm5, xmm0, xmm3
vmovss xmm0, dword [ecx + 0x10]
test dl, dl
mov edi, eax
vsubss xmm0, xmm0, xmm4
mov edx, eax
je 0x100425b3
vaddss xmm0, xmm0, dword [ebp - 0x180c]
vaddss xmm2, xmm6, xmm2
vaddss xmm1, xmm7, xmm5
jmp 0x100425bf
vaddss xmm2, xmm1, xmm2
vaddss xmm1, xmm3, xmm5
vaddss xmm0, xmm4, xmm0
mov esi, 0xfffffff0
add ecx, 0x30
vmovss dword [edi + esi], xmm2
vmovss dword [edx], xmm1
mov edx, eax
mov esi, 0x10
add eax, 0x30
sub dword [ebp - 0x1824], 1
vmovss dword [edx + esi], xmm0
mov esi, dword [ebp - 0x1838]
mov dl, byte [ebp - 0x1825]
jne 0x10042570
push 0x1800
lea eax, [ebp - 0x1804]
push eax
push dword [ebp - 0x1844]
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.100db879
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor al, al
pop edi
xor ecx, ebp
pop esi
call fcn.100db879
mov esp, ebp
pop ebp
ret 8