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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp eax, esi
jne 0x1005e061
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [eax + 0x1c], 0xf
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x14], ecx
mov ecx, dword [eax + 4]
mov dword [ebp - 4], ecx
lea ecx, [eax + 8]
push edi
mov edi, eax
mov dword [ebp - 8], ecx
jbe 0x1005e087
mov eax, dword [ecx]
mov dword [ebp - 8], eax
mov eax, dword [ecx + 0x10]
mov edx, 0x811c9dc5
xor ecx, ecx
test eax, eax
je 0x1005e0b7
mov esi, dword [ebp - 8]
mov ebx, eax
nop word [eax + eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1005e0a0
mov ebx, dword [ebp - 0x10]
mov esi, dword [ebp + 0xc]
mov eax, dword [ebx + 0x18]
mov ecx, dword [ebp - 0x14]
and eax, edx
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], ecx
mov dword [ebp - 0x20], eax
mov eax, edi
mov dword [ebp - 0x24], edi
mov edi, dword [edi]
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax + 0x1c]
cmp ecx, 0xf
jbe 0x1005e111
mov eax, dword [eax + 8]
inc ecx
cmp ecx, 0x1000
jb 0x1005e104
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e26b
mov eax, edx
push ecx
push eax
call fcn.100635d4
mov eax, dword [ebp - 0x1c]
add esp, 8
push 0x24
push eax
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0xf
mov byte [eax + 8], 0
call fcn.100635d4
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp - 0x20]
cmp dword [ebp - 0x24], eax
je 0x1005e15d
cmp edi, esi
jne 0x1005e0d0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jne 0x1005e14a
mov ecx, dword [ebp - 8]
mov dword [ecx], edi
mov eax, dword [ebp - 4]
mov dword [eax], edi
mov dword [edi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
cmp eax, dword [ebp + 8]
jne 0x1005e16f
mov eax, dword [ebp - 0x18]
mov dword [ecx], eax
jmp 0x1005e172
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x1005e14a
nop dword [eax]
cmp dword [edi + 0x1c], 0xf
lea esi, [edi + 8]
jbe 0x1005e18c
mov esi, dword [edi + 8]
mov ebx, dword [edi + 0x18]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x1005e1b1
nop word [eax + eax]
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1005e1a0
mov ebx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
and edx, dword [ebx + 0x18]
lea eax, [eax + edx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x24], eax
mov esi, edi
mov dword [ebp - 0x20], edi
mov edi, dword [edi]
mov ecx, dword [esi + 0x1c]
cmp ecx, 0xf
jbe 0x1005e1fd
mov eax, dword [esi + 8]
inc ecx
cmp ecx, 0x1000
jb 0x1005e1f3
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1005e26b
mov eax, edx
push ecx
push eax
call fcn.100635d4
add esp, 8
push 0x24
push esi
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0xf
mov byte [esi + 8], 0
call fcn.100635d4
dec dword [ebx + 8]
add esp, 8
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x20], eax
je 0x1005e242
mov eax, dword [ebp + 0xc]
cmp edi, eax
jne 0x1005e1c6
mov ecx, dword [ebp + 8]
mov dword [ecx], edi
mov ecx, dword [ebp - 4]
mov dword [ecx], edi
mov dword [edi + 4], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov esi, dword [ebp + 0xc]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp edi, esi
jne 0x1005e180
mov eax, dword [ebp - 4]
mov dword [eax], edi
mov dword [edi + 4], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.1006dc9f
int3