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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102335c0
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x102d5080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 0x1fffffff
mov esi, 1
bsr ecx, eax
mov eax, esi
shl eax, cl
mov ecx, dword [ebp + 8]
cmp ecx, eax
ja 0x101724de
lea eax, [ecx - 1]
or eax, esi
bsr ecx, eax
mov eax, dword [0x103aefdc]
push eax
mov dword [ebp - 0x14], eax
lea ecx, [ecx + 1]
shl esi, cl
mov ecx, 0x103aefe4
lea eax, [esi + esi]
push eax
call fcn.1002b250
mov ecx, dword [ebp - 0x14]
lea eax, [esi - 1]
mov dword [0x103aeff4], esi
mov esi, dword [0x103aefdc]
mov dword [0x103aeff0], eax
mov esi, dword [esi]
mov eax, esi
cmp esi, ecx
je 0x101724ab
nop dword [eax + eax]
mov edx, dword [esi + 0x18]
lea ebx, [esi + 8]
mov eax, dword [eax]
mov dword [ebp - 0x18], edx
mov edx, dword [ebx + 0x14]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], edx
cmp edx, 0xf
jbe 0x10172381
mov edx, dword [ebx]
mov dword [ebp - 0x1c], edx
xor edi, edi
mov edx, 0x811c9dc5
cmp dword [ebp - 0x18], edi
jbe 0x101723bb
mov ebx, dword [ebp - 0x18]
mov ecx, edx
mov eax, dword [ebp - 0x1c]
movzx edx, byte [edi + eax]
inc edi
xor edx, ecx
imul ecx, edx, 0x1000193
cmp edi, ebx
jb 0x10172395
mov edx, dword [esi + 0x1c]
lea ebx, [esi + 8]
mov eax, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x20], edx
mov edx, dword [ebp + 8]
and edx, dword [0x103aeff0]
mov dword [ebp + 8], edx
mov edi, dword [ebp + 8]
mov edx, dword [0x103aefe4]
lea edx, [edx + edi*8]
mov edi, dword [edx]
mov dword [ebp - 0x18], edx
mov dword [ebp + 8], edi
cmp edi, ecx
jne 0x101723e6
mov dword [edx], esi
mov dword [edx + 4], esi
jmp 0x101724a1
mov edi, dword [edx + 4]
cmp dword [edi + 0x1c], 0xf
lea eax, [edi + 8]
mov edx, dword [eax + 0x10]
jbe 0x101723f7
mov eax, dword [eax]
cmp dword [ebx + 0x14], 0xf
mov ecx, ebx
jbe 0x10172401
mov ecx, dword [ebx]
push edx
mov edx, dword [ebx + 0x10]
push eax
call fcn.10050510
add esp, 8
test al, al
je 0x1017243b
mov ebx, dword [edi]
mov eax, dword [ebp - 0x10]
cmp ebx, esi
je 0x10172433
mov edi, dword [esi + 4]
mov dword [edi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], esi
mov dword [ebx + 4], edx
mov dword [eax + 4], edi
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ecx + 4], esi
jmp 0x1017249e
mov ecx, edi
mov dword [ebp - 0x1c], ecx
cmp dword [ebp + 8], edi
je 0x1017247b
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0xf
lea eax, [edi + 8]
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x1c], edi
jbe 0x10172459
mov eax, dword [eax]
cmp dword [ebp - 0x20], 0xf
mov ecx, ebx
jbe 0x10172463
mov ecx, dword [ebx]
push edx
mov edx, dword [ebx + 0x10]
push eax
call fcn.10050510
add esp, 8
test al, al
jne 0x101724bf
mov ecx, edi
cmp dword [ebp + 8], ecx
jne 0x10172445
mov edi, dword [esi + 4]
mov eax, dword [ebp - 0x10]
mov ebx, dword [ebp - 0x1c]
mov dword [edi], eax
mov edx, dword [eax + 4]
mov dword [edx], ecx
mov ecx, dword [ecx + 4]
mov dword [ecx], esi
mov dword [ebx + 4], edx
mov dword [eax + 4], edi
mov dword [esi + 4], ecx
mov ecx, dword [ebp - 0x18]
mov dword [ecx], esi
mov ecx, dword [ebp - 0x14]
mov esi, eax
cmp eax, ecx
jne 0x10172360
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ebx, dword [edi]
mov edi, dword [esi + 4]
mov eax, dword [ebp - 0x10]
mov dword [edi], eax
mov edx, dword [eax + 4]
mov dword [edx], ebx
mov ecx, dword [ebx + 4]
mov dword [ecx], esi
mov dword [ebx + 4], edx
mov dword [eax + 4], edi
mov dword [esi + 4], ecx
jmp 0x1017249e
push str.invalid_hash_bucket_count
call fcn.101f1ef6
int3