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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x1c
mov dword [esp + 4], ecx
mov esi, dword [esp + 0x30]
cmp esi, dword [esp + 0x34]
je 0x10015ce3
mov ebp, dword [esi + 0x18]
cmp dword [esi + 0x1c], 7
jbe 0x10015cea
mov eax, dword [esi + 8]
jmp 0x10015ced
mov eax, esi
jmp 0x10015f67
lea eax, [esi + 8]
mov ecx, dword [esp + 4]
mov ecx, dword [ecx + 0xc]
mov dword [esp], ecx
add ebp, ebp
je 0x10015d11
lea edx, [ebp - 1]
mov ecx, ebp
and ecx, 2
cmp edx, 3
jae 0x10015d18
mov edx, 0x811c9dc5
xor ebx, ebx
jmp 0x10015d6a
mov edx, 0x811c9dc5
jmp 0x10015d93
and ebp, 0xfffffffc
mov edx, 0x811c9dc5
xor ebx, ebx
nop word cs:[eax + eax]
nop dword [eax]
movzx edi, byte [eax + ebx]
xor edi, edx
imul edx, edi, 0x1000193
movzx edi, byte [eax + ebx + 1]
xor edi, edx
imul edx, edi, 0x1000193
movzx edi, byte [eax + ebx + 2]
xor edi, edx
imul edx, edi, 0x1000193
movzx edi, byte [eax + ebx + 3]
xor edi, edx
imul edx, edi, 0x1000193
add ebx, 4
cmp ebp, ebx
jne 0x10015d30
test ecx, ecx
je 0x10015d93
add eax, ebx
xor edi, edi
nop word cs:[eax + eax]
nop dword [eax]
movzx ebx, byte [eax + edi]
xor ebx, edx
imul edx, ebx, 0x1000193
add edi, 1
cmp ecx, edi
jne 0x10015d80
mov eax, dword [esp + 4]
mov ecx, dword [eax + 4]
mov dword [esp + 0xc], ecx
mov ecx, dword [esi + 4]
mov dword [esp + 0x10], ecx
and edx, dword [eax + 0x18]
lea ecx, [edx + edx]
lea eax, [edx + edx]
add eax, 1
mov dword [esp + 0x18], eax
mov eax, dword [esp]
mov edx, dword [eax + edx*8]
mov dword [esp + 0x14], edx
cmp edx, esi
setne bl
mov dword [esp + 8], ecx
mov edi, dword [eax + ecx*4 + 4]
nop dword [eax]
mov ebp, esi
mov esi, dword [esi]
lea ecx, [ebp + 8]
call fcn.100145d0
push 0x50
push ebp
call fcn.10020d78
add esp, 8
mov eax, dword [esp + 4]
add dword [eax + 8], 0xffffffff
cmp ebp, edi
je 0x10015e0d
mov eax, dword [esp + 0x34]
cmp esi, eax
setne cl
or cl, bl
je 0x10015f4c
cmp esi, eax
jne 0x10015dd0
jmp 0x10015f5e
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
cmp eax, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
jne 0x10015e2f
mov ecx, dword [esp]
mov edx, dword [esp + 0xc]
mov edi, dword [esp + 8]
mov dword [ecx + edi*4], edx
mov ecx, edx
mov edx, dword [esp]
mov edi, dword [esp + 0x18]
mov dword [edx + edi*4], ecx
cmp esi, eax
je 0x10015f5e
cmp dword [esi + 0x1c], 7
jbe 0x10015e4c
mov eax, dword [esi + 8]
jmp 0x10015e4f
lea eax, [esi + 8]
mov ecx, dword [esi + 0x18]
add ecx, ecx
je 0x10015e6c
lea edx, [ecx - 1]
mov ebp, ecx
and ebp, 2
cmp edx, 3
jae 0x10015e73
mov edx, 0x811c9dc5
xor ebx, ebx
jmp 0x10015eba
mov edx, 0x811c9dc5
jmp 0x10015ee3
and ecx, 0xfffffffc
mov edx, 0x811c9dc5
xor ebx, ebx
nop dword [eax]
movzx edi, byte [eax + ebx]
xor edi, edx
imul edx, edi, 0x1000193
movzx edi, byte [eax + ebx + 1]
xor edi, edx
imul edx, edi, 0x1000193
movzx edi, byte [eax + ebx + 2]
xor edi, edx
imul edx, edi, 0x1000193
movzx edi, byte [eax + ebx + 3]
xor edi, edx
imul edx, edi, 0x1000193
add ebx, 4
cmp ecx, ebx
jne 0x10015e80
test ebp, ebp
je 0x10015ee3
add eax, ebx
xor ecx, ecx
nop word cs:[eax + eax]
nop dword [eax]
movzx edi, byte [eax + ecx]
xor edi, edx
imul edx, edi, 0x1000193
add ecx, 1
cmp ebp, ecx
jne 0x10015ed0
mov eax, dword [esp + 4]
and edx, dword [eax + 0x18]
lea edi, [edx + edx]
lea eax, [edx + edx]
add eax, 1
mov dword [esp + 8], eax
mov eax, dword [esp]
mov ebx, dword [eax + edi*4 + 4]
nop
mov ebp, esi
mov esi, dword [esi]
lea ecx, [ebp + 8]
call fcn.100145d0
push 0x50
push ebp
call fcn.10020d78
add esp, 8
mov eax, dword [esp + 4]
add dword [eax + 8], 0xffffffff
cmp ebp, ebx
je 0x10015f2d
mov eax, dword [esp + 0x34]
cmp esi, eax
jne 0x10015f00
jmp 0x10015f58
mov eax, dword [esp]
mov ecx, dword [esp + 0xc]
mov dword [eax + edi*4], ecx
mov edx, dword [esp + 8]
mov dword [eax + edx*4], ecx
mov eax, dword [esp + 0x34]
cmp esi, eax
jne 0x10015e41
jmp 0x10015f5e
mov ecx, dword [esp]
mov edx, dword [esp + 8]
mov dword [ecx + edx*4], eax
jmp 0x10015f5e
mov ecx, dword [esp]
mov dword [ecx + edi*4], eax
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
mov dword [eax + 4], ecx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8