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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x104cdec0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, ecx
mov eax, 0x1fffffff
bsr ecx, eax
push ebx
mov ebx, 1
mov dword [ebp - 0x10], edx
mov eax, ebx
shl eax, cl
mov ecx, dword [ebp + 8]
push esi
push edi
cmp ecx, eax
ja 0x100262b7
mov edi, dword [edx + 0x10]
lea eax, [ecx - 1]
or eax, ebx
mov esi, dword [edx + 4]
bsr ecx, eax
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x14], eax
mov eax, edi
sub eax, dword [edx + 0xc]
sar eax, 2
lea ecx, [ecx + 1]
mov dword [ebp - 8], esi
shl ebx, cl
mov dword [ebp - 0xc], ebx
lea ecx, [ebx + ebx]
cmp eax, ecx
jae 0x100261e1
cmp ecx, 0x3fffffff
ja 0x100262c1
lea ebx, [ecx*4]
test ebx, ebx
jne 0x100260c1
xor edi, edi
jmp 0x100260fe
cmp ebx, 0x1000
jb 0x100260f0
lea eax, [ebx + 0x23]
cmp eax, ebx
jbe 0x100262c1
push eax
call fcn.101a3a03
add esp, 4
test eax, eax
je 0x100261db
lea edi, [eax + 0x23]
and edi, 0xffffffe0
mov dword [edi - 4], eax
jmp 0x100260fb
push ebx
call fcn.101a3a03
add esp, 4
mov edi, eax
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x14]
mov eax, dword [edx + 0xc]
sub ecx, eax
sar ecx, 2
test ecx, ecx
je 0x1002613b
shl ecx, 2
cmp ecx, 0x1000
jb 0x1002612e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100261db
mov eax, edx
push ecx
push eax
call fcn.101a3a33
mov edx, dword [ebp - 0x10]
add esp, 8
lea eax, [ebx + edi]
mov dword [edx + 0xc], edi
mov dword [edx + 0x10], eax
mov dword [edx + 0x14], eax
cmp edi, eax
je 0x10026159
nop dword [eax + eax]
mov dword [edi], esi
add edi, 4
cmp edi, eax
jne 0x10026150
mov ebx, dword [ebp - 0xc]
lea eax, [ebx - 1]
mov dword [edx + 0x1c], ebx
mov dword [edx + 0x18], eax
mov esi, dword [edx + 4]
mov eax, dword [ebp - 8]
mov esi, dword [esi]
mov edi, esi
cmp esi, eax
je 0x10026288
cmp dword [esi + 0x1c], 0xf
lea ecx, [esi + 8]
mov edi, dword [edi]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xc], ecx
jbe 0x10026193
mov edx, dword [ecx]
mov dword [ebp - 0xc], edx
xor edx, edx
mov ebx, 0x811c9dc5
cmp dword [ecx + 0x10], edx
jbe 0x100261bc
mov eax, dword [ebp - 0xc]
mov edi, dword [ebp - 0x14]
movzx ecx, byte [eax + edx]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, edi
jb 0x100261a5
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
and edx, ebx
lea ecx, [ecx + edx*8]
mov dword [ebp - 0xc], ecx
cmp dword [ecx], eax
jne 0x100261f9
mov dword [ecx], esi
mov dword [ecx + 4], esi
jmp 0x1002627e
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
lea eax, [ebp - 8]
push eax
push edi
push dword [ebp - 0x14]
call fcn.10019ad0
mov edx, dword [ebp - 0x10]
add esp, 0xc
jmp 0x1002615c
mov ebx, dword [ecx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.100181c0
add esp, 8
test al, al
je 0x10026236
mov ebx, dword [ebx]
cmp ebx, esi
je 0x1002622e
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], esi
jmp 0x1002627b
mov eax, dword [ebp - 0xc]
cmp dword [eax], ebx
je 0x1002625e
nop dword [eax]
mov ebx, dword [ebx + 4]
lea eax, [ebx + 8]
push eax
lea eax, [esi + 8]
push eax
call fcn.100181c0
add esp, 8
test al, al
jne 0x1002629b
mov eax, dword [ebp - 0xc]
cmp dword [eax], ebx
jne 0x10026240
mov edx, dword [esi + 4]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
mov eax, dword [ebp - 0xc]
mov dword [eax], esi
mov eax, dword [ebp - 8]
mov esi, edi
cmp edi, eax
jne 0x10026177
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101a3d69
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esi + 4]
mov ebx, dword [ebx]
mov dword [edx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], ebx
mov eax, dword [ebx + 4]
mov dword [eax], esi
mov dword [ebx + 4], ecx
mov dword [edi + 4], edx
mov dword [esi + 4], eax
jmp 0x1002627b
push str.invalid_hash_bucket_count
call sub.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__
call fcn.100264f0
int3