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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
mov eax, 0x1fffffff
sub esp, 0x28
bsr ecx, eax
push esi
mov esi, 1
mov eax, esi
shl eax, cl
mov ecx, dword [ebx + 8]
push edi
cmp ecx, eax
jbe 0x1007c34e
push str.invalid_hash_bucket_count
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
lea eax, [ecx - 1]
or eax, 1
bsr ecx, eax
mov eax, dword [0x100b84f4]
push eax
mov dword [ebp - 0x10], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x100b84fc
lea eax, [esi + esi]
push eax
call fcn.100424c0
mov edi, dword [0x100b84f4]
lea eax, [esi - 1]
mov ecx, dword [ebp - 0x10]
mov dword [0x100b8508], eax
mov dword [0x100b850c], esi
mov edi, dword [edi]
mov eax, edi
mov dword [ebp - 0x18], edi
cmp edi, ecx
je 0x1007c516
nop dword [eax]
mov esi, dword [edi + 0x18]
lea edx, [edi + 8]
mov eax, dword [eax]
mov dword [ebp - 0xc], esi
mov esi, dword [edx + 0x14]
mov dword [ebp - 4], eax
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], esi
cmp esi, 0xf
jbe 0x1007c3c1
mov edx, dword [edx]
mov dword [ebp - 0x1c], edx
xor esi, esi
mov edx, 0x811c9dc5
cmp dword [ebp - 0xc], esi
jbe 0x1007c401
mov eax, dword [ebp - 0x1c]
mov ecx, edx
mov edi, dword [ebp - 0xc]
movzx edx, byte [eax + esi]
inc esi
xor edx, ecx
imul ecx, edx, 0x1000193
cmp esi, edi
jb 0x1007c3d5
mov edi, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0x10]
mov edx, dword [edi + 0x18]
mov dword [ebp - 0xc], edx
mov edx, dword [edi + 0x1c]
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
and edx, dword [0x100b8508]
mov dword [ebp - 8], edx
mov esi, dword [ebp - 8]
mov edx, dword [0x100b84fc]
lea edx, [edx + esi*8]
mov esi, dword [edx]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], esi
cmp esi, ecx
jne 0x1007c42c
mov dword [edx], edi
mov dword [edx + 4], edi
jmp 0x1007c509
mov esi, dword [edx + 4]
cmp dword [esi + 0x1c], 0xf
lea edx, [esi + 8]
mov eax, dword [edx + 0x10]
mov dword [ebp - 8], eax
jbe 0x1007c440
mov edx, dword [edx]
cmp dword [ebp - 0x14], 0xf
lea ecx, [edi + 8]
jbe 0x1007c44c
mov ecx, dword [edi + 8]
push dword [ebp - 8]
push edx
mov edx, dword [ebp - 0xc]
call fcn.10049bb0
add esp, 8
test al, al
je 0x1007c491
mov ecx, dword [esi]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
cmp ecx, edi
je 0x1007c489
mov esi, dword [edi + 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x1c]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 4], edi
jmp 0x1007c506
mov ecx, esi
mov dword [ebp - 8], ecx
cmp dword [ebp - 0x1c], esi
je 0x1007c4e0
nop dword [eax + eax]
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0xf
lea eax, [esi + 8]
mov edx, dword [eax + 0x10]
mov dword [ebp - 8], esi
jbe 0x1007c4b4
mov eax, dword [eax]
cmp dword [ebp - 0x14], 0xf
lea ecx, [edi + 8]
mov dword [ebp - 0x24], ecx
jbe 0x1007c4c4
mov ecx, dword [ecx]
jmp 0x1007c4c7
mov ecx, dword [ebp - 0x24]
push edx
mov edx, dword [ebp - 0xc]
push eax
call fcn.10049bb0
add esp, 8
test al, al
jne 0x1007c521
cmp dword [ebp - 0x1c], esi
jne 0x1007c4a0
mov ecx, dword [ebp - 8]
mov esi, dword [edi + 4]
mov eax, dword [ebp - 4]
mov dword [esi], eax
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov edi, dword [ebp - 8]
mov dword [edi + 4], edx
mov edi, dword [ebp - 0x18]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
mov ecx, dword [ebp - 0x20]
mov dword [ecx], edi
mov ecx, dword [ebp - 0x10]
mov edi, eax
mov dword [ebp - 0x18], edi
cmp eax, ecx
jne 0x1007c3a0
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4
mov ecx, dword [esi]
mov esi, dword [edi + 4]
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], ecx
mov dword [esi], eax
mov edx, dword [eax + 4]
mov eax, dword [ebp - 0x24]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], edi
mov dword [eax + 4], edx
mov eax, dword [ebp - 4]
mov dword [eax + 4], esi
mov dword [edi + 4], ecx
jmp 0x1007c506