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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
mov edx, ecx
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x14], edx
cmp eax, ebx
jne 0x1007f55f
mov eax, ebx
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [eax + 0x1c], 0xf
mov ecx, dword [edx + 4]
push edi
lea edi, [edx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [edx + 0xc]
lea edx, [eax + 8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [eax + 4]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x24], edi
mov dword [ebp - 4], ecx
jbe 0x1007f586
mov edx, dword [edx]
xor ecx, ecx
push esi
mov esi, 0x811c9dc5
test eax, eax
je 0x1007f5a8
mov ebx, eax
movzx eax, byte [edx + ecx]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x1007f594
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov eax, dword [eax + 0x18]
and eax, esi
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp - 8], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
push eax
push edi
mov dword [ebp - 0x10], ecx
mov esi, dword [eax]
call fcn.1004cb10
dec dword [edi + 4]
add esp, 8
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0xc]
je 0x1007f601
nop
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x1007f610
push esi
mov esi, dword [esi]
push edi
call fcn.1004cb10
dec dword [edi + 4]
add esp, 8
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x20], eax
jne 0x1007f5e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0x10], eax
jne 0x1007f630
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x1007f633
mov eax, dword [ebp + 8]
cmp dword [ebp - 0x10], eax
jne 0x1007f61d
mov ecx, dword [ebp - 8]
mov dword [ecx], esi
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 4]
mov dword [ecx + 4], eax
cmp esi, ebx
je 0x1007f61d
nop word [eax + eax]
cmp dword [esi + 0x1c], 0xf
lea ebx, [esi + 8]
mov eax, dword [ebx + 0x10]
mov dword [ebp - 0x20], esi
mov dword [ebp + 8], eax
jbe 0x1007f654
mov ebx, dword [ebx]
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x1007f676
mov edi, dword [ebp + 8]
movzx eax, byte [ebx + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1007f662
mov edi, dword [ebp - 0x24]
mov eax, dword [ebp - 0x14]
push esi
mov esi, dword [esi]
push edi
and edx, dword [eax + 0x18]
mov eax, dword [ebp - 0x18]
mov ebx, dword [eax + edx*8 + 4]
lea eax, [eax + edx*8]
mov dword [ebp + 8], eax
mov dword [ebp - 0x10], ebx
call fcn.1004cb10
dec dword [edi + 4]
add esp, 8
cmp dword [ebp - 0x20], ebx
je 0x1007f6bd
mov eax, dword [ebp + 0xc]
mov ebx, esi
cmp esi, eax
je 0x1007f6e6
push esi
mov esi, dword [esi]
push edi
call fcn.1004cb10
dec dword [edi + 4]
add esp, 8
cmp ebx, dword [ebp - 0x10]
jne 0x1007f6a0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov ebx, dword [ebp + 0xc]
mov dword [ecx], edx
mov dword [ecx + 4], edx
cmp esi, ebx
jne 0x1007f640
mov eax, dword [ebp - 4]
mov dword [eax], esi
mov dword [esi + 4], eax
mov eax, ebx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 8]
mov dword [ecx], esi
mov ecx, dword [ebp - 4]
mov dword [ecx], esi
mov dword [esi + 4], ecx
pop esi
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 8