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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a99f5
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100df00c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
lea eax, [ecx + 4]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 4], 0
push 0x28
mov dword [ebp - 0x18], 0
call fcn.100a6433
add esp, 4
mov dword [ebp - 0x18], eax
lea ebx, [eax + 8]
push esi
push edi
mov ecx, ebx
call fcn.10022170
mov dword [ebp - 4], 1
mov edx, ebx
cmp dword [ebx + 0x14], 0x10
mov edi, dword [ebx + 0x10]
jb 0x100212e8
mov edx, dword [ebx]
xor ecx, ecx
mov esi, 0x811c9dc5
test edi, edi
je 0x10021304
movzx eax, byte [ecx + edx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edi
jb 0x100212f3
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push esi
push ebx
push eax
call fcn.10021d90
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x100213b2
mov edi, dword [ebp - 0x20]
mov esi, dword [ebp - 0x18]
mov dword [edi], eax
mov byte [edi + 4], 0
test esi, esi
je 0x10021396
mov ecx, dword [ebx + 0x1c]
test ecx, ecx
je 0x1002134b
mov eax, dword [ebx + 0x18]
cmp eax, 0xfffffffe
je 0x1002134b
push eax
push 0xfff0b9d8
push ecx
call fcn.10081910
add esp, 0xc
mov ecx, dword [ebx + 0x14]
cmp ecx, 0x10
jb 0x1002137a
mov eax, dword [ebx]
inc ecx
cmp ecx, 0x1000
jb 0x10021370
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100213ac
mov eax, edx
push ecx
push eax
call fcn.100a6782
add esp, 8
push 0x28
push esi
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0xf
mov byte [ebx], 0
call fcn.100a6782
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx + 8]
cmp eax, 0x6666666
jne 0x100213ca
push str.unordered_map_set_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
mov edi, dword [ecx + 0x1c]
inc eax
movss xmm3, dword [ecx]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
movd xmm1, edi
addsd xmm0, qword [eax*8 + 0x100d3cd0]
cvtdq2pd xmm1, xmm1
mov eax, edi
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x100d3cd0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x1002145b
divss xmm0, xmm3
call fcn.1001f0c0
call fcn.100a7040
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
cmp edi, ecx
jae 0x1002143d
cmp edi, 0x200
jae 0x1002143b
shl edi, 3
cmp edi, ecx
jae 0x1002143d
mov edi, ecx
mov ecx, dword [ebp - 0x14]
push edi
call fcn.100219d0
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push esi
push ebx
push eax
call fcn.10021d90
mov ecx, dword [ebp - 0x14]
mov edi, dword [eax]
jmp 0x1002145e
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x18]
mov ebx, dword [edi + 4]
inc dword [ecx + 8]
mov dword [eax], edi
mov dword [eax + 4], ebx
mov dword [ebx], eax
mov dword [edi + 4], eax
mov edx, dword [ecx + 0xc]
mov ecx, dword [ecx + 0x18]
mov eax, dword [ebp - 0x1c]
and ecx, esi
mov esi, dword [edx + ecx*8]
cmp esi, dword [eax]
mov eax, dword [ebp - 0x18]
jne 0x1002148b
mov dword [edx + ecx*8], eax
jmp 0x1002149a
cmp esi, edi
jne 0x10021494
mov dword [edx + ecx*8], eax
jmp 0x1002149e
cmp dword [edx + ecx*8 + 4], ebx
jne 0x1002149e
mov dword [edx + ecx*8 + 4], eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, ecx
mov byte [ecx + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc