Function at 0x10164f80
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
push 0xffffffffffffffff
push 0x101bdd0d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x30
push esi
push edi
mov eax, dword [0x10210050]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x20], esi
mov edi, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
cmp ecx, edi
je 0x10165142
mov edx, dword [esi + 4]
lea eax, [esi + 4]
mov dword [ebp - 0x30], edx
mov edx, dword [esi + 0xc]
mov esi, ecx
mov dword [ebp - 0x40], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x2c], edx
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 4], 0
mov edx, 0x811c9dc5
mov eax, dword [ecx + 4]
mov dword [ebp - 0x28], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
xor ecx, ecx
test eax, eax
je 0x1016502e
mov esi, dword [ebp - 0x1c]
mov edi, eax
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10165017
mov esi, dword [ebp - 0x24]
mov edi, dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
and eax, edx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], eax
nop word [eax + eax]
cmp esi, eax
mov eax, esi
mov esi, dword [esi]
push 0x18
push eax
sete byte [ebp - 0x11]
mov dword [ebp - 0x38], esi
call fcn.10170096
mov ecx, dword [ebp - 0x20]
add esp, 8
dec dword [ecx + 8]
cmp byte [ebp - 0x11], 0
jne 0x1016508f
mov eax, dword [ebp - 0x24]
cmp esi, edi
jne 0x10165050
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebx + 8]
jne 0x10165133
mov eax, dword [ebp - 0x1c]
jmp 0x10165131
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebx + 8]
mov eax, dword [ebp - 0x1c]
jne 0x101650a1
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
jmp 0x101650a4
mov ecx, dword [ebp - 0x28]
mov dword [eax + 4], ecx
cmp esi, edi
je 0x10165133
nop
xor eax, eax
mov edx, 0x811c9dc5
cmp dword [esi + 0xc], eax
jbe 0x101650d5
mov edi, dword [esi + 8]
nop
movzx ecx, byte [edi + eax]
inc eax
xor ecx, edx
imul edx, ecx, 0x1000193
cmp eax, dword [esi + 0xc]
jb 0x101650c0
mov edi, dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
mov eax, dword [eax + 0x18]
and eax, edx
lea eax, [ecx + eax*8]
mov dword [ebp - 0x18], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x28], eax
nop dword [eax]
cmp esi, eax
mov eax, esi
mov esi, dword [esi]
push 0x18
push eax
sete byte [ebp - 0x11]
mov dword [ebp - 0x38], esi
call fcn.10170096
mov eax, dword [ebp - 0x20]
add esp, 8
dec dword [eax + 8]
cmp byte [ebp - 0x11], 0
jne 0x1016511d
cmp esi, edi
je 0x1016512e
mov eax, dword [ebp - 0x28]
jmp 0x101650f0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x30]
mov dword [eax], ecx
mov dword [eax + 4], ecx
cmp esi, edi
jne 0x101650b0
jmp 0x10165133
mov eax, dword [ebp - 0x18]
mov dword [eax], esi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x34]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8