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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100bd3c2
mov eax, dword fs:[0]
push eax
sub esp, 0x1e0
mov eax, dword [0x103ad010]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x16c]
push 0xb8
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push esi
lea ecx, [ebp - 0x16c]
call fcn.10022f20
mov dword [ebp - 4], 0
cmp dword [ebp - 0x110], 0
je 0x10021835
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
push 0
mov byte [ebp - 0x24], 0
call fcn.10026370
lea edx, [ebp - 0x24]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x16c]
call fcn.10023c10
mov eax, dword [0x103c8d28]
mov esi, dword [0x103c8d24]
mov dword [ebp - 0x170], eax
cmp esi, eax
je 0x100214d9
mov edi, dword [sym.imp.VCRUNTIME140.dll___std_type_info_hash]
nop word [eax + eax]
lea eax, [ebp - 0x194]
vpxor xmm0, xmm0, xmm0
push eax
lea ecx, [ebp - 0x24]
vmovdqu xmmword [ebp - 0x194], xmm0
call fcn.10023fb0
cmp byte [ebp - 0x24], 1
jne 0x100211d9
mov ecx, dword [ebp - 0x1c]
lea eax, [ebp - 0x184]
push esi
push eax
call fcn.1002ded0
mov eax, dword [eax]
mov dword [ebp - 0x190], eax
lea edx, [ebp - 0x24]
mov dword [ebp - 0x17c], 0
movzx eax, byte [edx]
mov ecx, eax
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0x80000000
sub ecx, 1
je 0x1002125b
sub ecx, 1
je 0x1002124d
mov dword [ebp - 0x174], 0x80000000
sub eax, 1
je 0x1002125b
sub eax, 1
je 0x1002124d
mov dword [ebp - 0x174], 1
jmp 0x10021266
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x178], eax
jmp 0x10021266
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x194]
call fcn.10022e60
test al, al
jne 0x100214ca
push 0x103cf27c
call edi
add esp, 4
cmp dword [esi + 8], eax
jne 0x100212aa
push dword [esi]
lea ecx, [ebp - 0x24]
call fcn.10029560
cmp byte [eax], 4
jne 0x1002185d
mov cl, byte [eax + 8]
mov eax, dword [esi + 4]
mov byte [eax], cl
push 0x103cf1f4
call edi
add esp, 4
cmp dword [esi + 8], eax
jne 0x100212cf
push dword [esi]
lea ecx, [ebp - 0x24]
call fcn.10029560
mov ecx, eax
call fcn.100296a0
mov ecx, dword [esi + 4]
mov dword [ecx], eax
push 0x103cf1e8
call edi
add esp, 4
cmp dword [esi + 8], eax
jne 0x1002137b
push dword [esi]
lea ecx, [ebp - 0x24]
call fcn.10029560
mov dl, byte [eax]
movzx ecx, dl
add ecx, 0xfffffffc
cmp ecx, 3
ja case.default.0x100212fd
jmp dword [ecx*4 + 0x10021900]
lea ecx, [eax + 8]
xor eax, eax
cmp dl, 6
cmovne ecx, eax
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100bc7c0
vcvtsd2ss xmm0, xmm0, xmm0
jmp 0x10021374
cmp dl, 5
je 0x1002132d
cmp dl, 6
je 0x1002132d
xor dl, dl
jmp 0x1002132f
mov dl, 1
lea ecx, [eax + 8]
xor eax, eax
test dl, dl
cmove ecx, eax
mov edx, dword [ecx + 4]
mov ecx, dword [ecx]
call fcn.100bc810
vcvtsd2ss xmm0, xmm0, xmm0
jmp 0x10021374
add eax, 8
xor ecx, ecx
cmp dl, 7
cmovne eax, ecx
vmovsd xmm0, qword [eax]
vcvtpd2ps xmm0, xmm0
jmp 0x10021374
add eax, 8
xor ecx, ecx
cmp dl, 4
vxorps xmm0, xmm0, xmm0
cmovne eax, ecx
movzx eax, byte [eax]
vcvtsi2ss xmm0, xmm0, eax
mov eax, dword [esi + 4]
vmovss dword [eax], xmm0
push 0x103cf214
call edi
add esp, 4
cmp dword [esi + 8], eax
jne 0x1002139d
push dword [esi]
lea ecx, [ebp - 0x24]
call fcn.10029560
mov ecx, dword [esi + 4]
push eax
call fcn.1002df90
push 0x103cf200
call edi
add esp, 4
cmp dword [esi + 8], eax
jne 0x10021428
push dword [esi]
lea ecx, [ebp - 0x24]
call fcn.10029560
push 0
mov ecx, eax
call fcn.10024130
mov ecx, eax
call fcn.100297d0
push dword [esi]
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x14], al
call fcn.10029560
push 1
mov ecx, eax
call fcn.10024130
mov ecx, eax
call fcn.100297d0
push dword [esi]
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x13], al
call fcn.10029560
push 2
mov ecx, eax
call fcn.10024130
mov ecx, eax
call fcn.100297d0
push dword [esi]
lea ecx, [ebp - 0x24]
mov byte [ebp - 0x12], al
call fcn.10029560
push 3
mov ecx, eax
call fcn.10024130
mov ecx, eax
call fcn.100297d0
mov ecx, dword [esi + 4]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x14]
mov dword [ecx], eax
push 0x103cf2d0
call edi
add esp, 4
cmp dword [esi + 8], eax
jne 0x100214ca
push dword [esi]
lea ecx, [ebp - 0x24]
call fcn.10029560
push 0
mov ecx, eax
call fcn.10024130
mov ecx, eax
call fcn.100296a0
push dword [esi]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1ac], eax
call fcn.10029560
push 1
mov ecx, eax
call fcn.10024130
mov ecx, eax
call fcn.100296a0
push dword [esi]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1a8], eax
call fcn.10029560
push 2
mov ecx, eax
call fcn.10024130
mov ecx, eax
call fcn.100296a0
push dword [esi]
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x1a4], eax
call fcn.10029560
push 3
mov ecx, eax
call fcn.10024130
mov ecx, eax
call fcn.100296a0
mov dword [ebp - 0x1a0], eax
mov eax, dword [esi + 4]
vmovdqu xmm0, xmmword [ebp - 0x1ac]
vmovdqu xmmword [eax], xmm0
add esi, 0xc
cmp esi, dword [ebp - 0x170]
jne 0x100211a0
lea eax, [ebp - 0x194]
vpxor xmm0, xmm0, xmm0
push eax
lea ecx, [ebp - 0x24]
vmovdqu xmmword [ebp - 0x194], xmm0
call fcn.10023fb0
cmp byte [ebp - 0x24], 1
jne 0x10021577
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax]
mov edi, eax
mov dword [ebp - 0x170], eax
mov esi, dword [eax + 4]
cmp byte [esi + 0xd], 0
jne 0x10021542
cmp dword [esi + 0x24], 0x10
lea ecx, [esi + 0x10]
mov edx, dword [ecx + 0x10]
jb 0x1002151e
mov ecx, dword [ecx]
push 0xd
push str.Managed_CVars
call fcn.1001e470
add esp, 8
test eax, eax
je 0x10021538
jns 0x10021538
mov esi, dword [esi + 8]
jmp 0x1002153c
mov edi, esi
mov esi, dword [esi]
cmp byte [esi + 0xd], 0
je 0x10021510
cmp byte [edi + 0xd], 0
jne 0x1002156b
cmp dword [edi + 0x24], 0x10
lea ecx, [edi + 0x10]
mov edx, dword [ecx + 0x10]
jb 0x10021556
mov ecx, dword [ecx]
push 0xd
push str.Managed_CVars
call fcn.1001e470
add esp, 8
test eax, eax
je 0x10021571
js 0x10021571
mov edi, dword [ebp - 0x170]
mov dword [ebp - 0x190], edi
lea edx, [ebp - 0x24]
mov dword [ebp - 0x17c], 0
movzx eax, byte [edx]
mov ecx, eax
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0
mov dword [ebp - 0x180], edx
mov dword [ebp - 0x17c], 0
mov dword [ebp - 0x178], 0
mov dword [ebp - 0x174], 0x80000000
sub ecx, 1
je 0x100215f9
sub ecx, 1
je 0x100215eb
mov dword [ebp - 0x174], 0x80000000
sub eax, 1
je 0x100215f9
sub eax, 1
je 0x100215eb
mov dword [ebp - 0x174], 1
jmp 0x10021604
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
mov dword [ebp - 0x178], eax
jmp 0x10021604
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov dword [ebp - 0x17c], eax
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x194]
call fcn.10022e60
test al, al
jne 0x10021806
push str.Managed_CVars
lea ecx, [ebp - 0x24]
call fcn.10029560
push 0x48
mov esi, eax
lea eax, [ebp - 0x6c]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push ecx
push esp
mov ecx, esi
call fcn.100266e0
lea ecx, [ebp - 0x6c]
call fcn.10025990
push 0x48
lea eax, [ebp - 0xb4]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
push ecx
mov ecx, esp
mov edx, esi
mov dword [ecx], esi
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0x80000000
movzx eax, byte [edx]
sub eax, 1
je 0x1002168b
sub eax, 1
je 0x1002168b
mov dword [ecx + 0xc], 0x80000000
movzx eax, byte [edx]
sub eax, 1
je 0x100216ac
sub eax, 1
je 0x100216a1
mov dword [ecx + 0xc], 1
jmp 0x100216b4
mov eax, dword [edx + 8]
mov eax, dword [eax + 4]
mov dword [ecx + 8], eax
jmp 0x100216b4
mov eax, dword [edx + 8]
mov eax, dword [eax]
mov dword [ecx + 4], eax
lea ecx, [ebp - 0xb4]
call fcn.10025990
lea eax, [ebp - 0xb4]
mov byte [ebp - 4], 8
push eax
lea ecx, [ebp - 0x6c]
call fcn.10022e60
test al, al
jne 0x100217ea
nop word [eax + eax]
lea ecx, [ebp - 0x6c]
call fcn.10022d90
mov esi, eax
mov edi, esi
cmp dword [esi + 0x14], 0x10
jb 0x100216f4
mov edi, dword [esi]
xor ecx, ecx
mov edx, 0x811c9dc5
cmp dword [esi + 0x10], ecx
jbe 0x10021712
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, dword [esi + 0x10]
jb 0x10021700
push edx
push esi
lea eax, [ebp - 0x178]
push eax
call fcn.1002e040
lea ecx, [ebp - 0x6c]
cmp dword [eax + 4], 0
je 0x1002175f
call fcn.10022cb0
lea ecx, [ebp - 0x6c]
mov esi, eax
call fcn.10022d90
push eax
call fcn.10023bf0
push esi
mov ecx, dword [eax]
add ecx, 0x18
call fcn.1002df90
lea ecx, [ebp - 0x6c]
call fcn.10022d90
push eax
call fcn.10023bf0
mov eax, dword [eax]
mov byte [eax + 0x30], 1
jmp 0x100217a1
call fcn.10022cb0
push 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x184], esp
mov dword [ebp - 0x170], ecx
push ecx
mov ecx, eax
call fcn.1002dd10
sub esp, 0x18
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x6c]
mov esi, esp
call fcn.10022d90
push eax
mov ecx, esi
call fcn.1001bb00
mov byte [ebp - 4], 8
call fcn.100228d0
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax]
sub eax, 1
je 0x100217bc
sub eax, 1
je 0x100217b6
inc dword [ebp - 0x60]
jmp 0x100217d0
add dword [ebp - 0x64], 0x10
jmp 0x100217d0
mov eax, dword [ebp - 0x68]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], eax
call fcn.10028110
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x68], eax
inc dword [ebp - 0x5c]
lea eax, [ebp - 0xb4]
push eax
lea ecx, [ebp - 0x6c]
call fcn.10022e60
test al, al
je 0x100216e0
lea ecx, [ebp - 0xb4]
call fcn.100219d0
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 2
call fcn.100219d0
call fcn.10032840
lea ecx, [ebp - 0x15c]
call fcn.10025e40
test eax, eax
jne 0x1002182d
push eax
mov eax, dword [ebp - 0x16c]
lea ecx, [ebp - 0x16c]
push 2
add ecx, dword [eax + 4]
call dword [sym.imp.MSVCP140.dll_public:_void___thiscall_std::basic_ios_char__struct_std::char_traits_char__::setstate_int__bool_]
lea ecx, [ebp - 0x24]
call fcn.10024250
lea ecx, [ebp - 0x16c]
call fcn.10021910
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100bb27a
mov esp, ebp
pop ebp
ret 4
mov ecx, eax
call fcn.10026670
push eax
lea ecx, [ebp - 0x19c]
call fcn.100196e0
push eax
mov edx, str.type_must_be_boolean__but_is
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1b4]
call fcn.10029410
push eax
mov edx, 0x12e
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x1d0]
call fcn.1001fc70
add esp, 8
lea eax, [ebp - 0x1d0]
push 0x103aa2a4
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
mov ecx, eax
call fcn.10026670
push eax
lea ecx, [ebp - 0x19c]
call fcn.100196e0
push eax
mov edx, str.type_must_be_number__but_is
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x1cc]
call fcn.10029410
push eax
mov edx, 0x12e
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1ec]
call fcn.1001fc70
add esp, 8
lea eax, [ebp - 0x1ec]
push 0x103aa2a4
push eax
call sub.VCRUNTIME140.dll__CxxThrowException
nop
pop esi
adc eax, dword [edx]
adc byte [edi], bl
adc eax, dword [edx]
adc byte [ebx + edx], al
add dl, byte [eax]
dec ecx
adc eax, dword [edx]
adc byte [ebp - 0x75], dl
push ebp
mov ebp, esp