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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x14
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, ecx
push esi
mov ecx, dword [eax + 0x14]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], ecx
push edi
mov edi, dword [eax + 0x10]
cmp ecx, 0x10
jb 0x1002a088
mov esi, dword [eax]
jmp 0x1002a08a
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x1002a0a6
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1002a095
mov ecx, dword [ebx + 0x14]
and edx, ecx
cmp dword [ebx + 0x18], edx
ja 0x1002a0b9
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add edx, eax
mov eax, dword [ebx + 8]
mov esi, dword [ebx]
shl edx, 3
mov dword [esp + 0x1c], edx
mov ecx, dword [edx + eax]
mov dword [esp + 0x18], ecx
cmp esi, ecx
je 0x1002a199
mov esi, dword [edx + eax + 4]
mov esi, dword [esi]
cmp esi, ecx
je 0x1002a199
mov esi, dword [esi + 4]
cmp dword [esi + 0x1c], 0x10
lea eax, [esi + 8]
mov ebx, dword [eax + 0x10]
mov dword [esp + 0x14], esi
jb 0x1002a0f7
mov eax, dword [eax]
cmp dword [esp + 0x10], 0x10
jb 0x1002a105
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx]
jmp 0x1002a108
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 0xc]
mov edx, ebx
cmp dword [esi + 0x10], ebx
cmovb edx, dword [esi + 0x10]
mov esi, dword [esp + 0x14]
test edx, edx
je 0x1002a176
sub edx, 4
jb 0x1002a132
mov ecx, dword [edi]
cmp ecx, dword [eax]
jne 0x1002a137
add edi, 4
add eax, 4
sub edx, 4
jae 0x1002a121
cmp edx, 0xfffffffc
je 0x1002a16b
mov cl, byte [edi]
cmp cl, byte [eax]
jne 0x1002a164
cmp edx, 0xfffffffd
je 0x1002a16b
mov cl, byte [edi + 1]
cmp cl, byte [eax + 1]
jne 0x1002a164
cmp edx, 0xfffffffe
je 0x1002a16b
mov cl, byte [edi + 2]
cmp cl, byte [eax + 2]
jne 0x1002a164
cmp edx, 0xffffffff
je 0x1002a16b
mov cl, byte [edi + 3]
cmp cl, byte [eax + 3]
je 0x1002a16b
sbb eax, eax
or eax, 1
jmp 0x1002a16d
xor eax, eax
test eax, eax
je 0x1002a176
mov ecx, dword [ebp + 0xc]
jmp 0x1002a187
mov ecx, dword [ebp + 0xc]
mov edi, dword [ecx + 0x10]
cmp edi, ebx
jb 0x1002a18b
xor eax, eax
cmp edi, ebx
setne al
test eax, eax
je 0x1002a1dd
cmp esi, dword [esp + 0x18]
jne 0x1002a0e2
mov ebx, dword [esp + 0xc]
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
cmp esi, eax
je 0x1002a1c3
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], esi
mov ecx, dword [esi + 4]
mov dword [ecx], edi
mov ecx, dword [eax + 4]
mov edx, dword [esi + 4]
mov dword [esi + 4], ecx
mov ecx, dword [edi + 4]
mov dword [eax + 4], ecx
mov dword [edi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x1c]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x1002a20d
mov dword [ecx], edi
mov eax, dword [ebx + 8]
mov dword [edx + eax + 4], edi
jmp 0x1002a22f
push ecx
lea eax, [esi + 8]
push eax
call fcn.10029540
test al, al
je 0x1002a1ef
mov esi, dword [esi]
jmp 0x1002a195
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x10]
call fcn.1002a5e0
mov eax, dword [ebp + 8]
mov dword [eax], esi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp eax, esi
jne 0x1002a215
mov dword [ecx], edi
jmp 0x1002a22f
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, edi
je 0x1002a22f
mov ecx, dword [ebx + 8]
mov eax, dword [ecx + edx + 4]
mov eax, dword [eax + 4]
mov dword [ecx + edx + 4], eax
mov ecx, ebx
call fcn.1002a630
mov eax, dword [ebp + 8]
mov dword [eax], edi
pop edi
pop esi
mov byte [eax + 4], 1
pop ebx
mov esp, ebp
pop ebp
ret 0xc