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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x24
mov eax, dword [0x10045018]
xor eax, esp
mov dword [esp + 0x20], eax
mov eax, dword [ebp + 8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [eax + 0x10]
mov dword [esp + 0xc], ecx
mov ecx, dword [eax + 0x14]
push esi
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], ecx
cmp ecx, 0x10
jb 0x1001332c
mov esi, dword [eax]
jmp 0x1001332e
mov esi, eax
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x10013351
lea esp, [esp]
movzx eax, byte [ecx + esi]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, ebx
jb 0x10013340
mov ebx, dword [esp + 0x14]
mov esi, dword [ebx + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [ebx + 0x18], ecx
ja 0x1001336a
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov edi, dword [ebx]
shl ecx, 3
mov dword [esp + 0x1c], ecx
add ecx, dword [ebx + 8]
mov eax, dword [ecx]
mov dword [esp + 0x28], eax
cmp edi, eax
je 0x1001345b
mov edi, dword [ecx + 4]
mov edi, dword [edi]
cmp edi, eax
je 0x1001345b
mov edi, dword [edi + 4]
cmp dword [edi + 0x1c], 0x10
mov edx, dword [edi + 0x18]
lea ecx, [edi + 8]
mov dword [esp + 0x24], edx
jb 0x100133a6
mov ecx, dword [ecx]
cmp dword [esp + 0x20], 0x10
mov ebx, dword [esp + 0x10]
jb 0x100133b3
mov ebx, dword [ebx]
mov eax, dword [esp + 0x10]
mov esi, edx
cmp dword [eax + 0x10], edx
cmovb esi, dword [eax + 0x10]
mov eax, dword [esp + 0x28]
test esi, esi
je 0x1001342a
sub esi, 4
jb 0x100133e1
lea ecx, [ecx]
mov edx, dword [ebx]
cmp edx, dword [ecx]
jne 0x100133e6
add ebx, 4
add ecx, 4
sub esi, 4
jae 0x100133d0
cmp esi, 0xfffffffc
je 0x1001341a
mov dl, byte [ebx]
cmp dl, byte [ecx]
jne 0x10013413
cmp esi, 0xfffffffd
je 0x1001341a
mov dl, byte [ebx + 1]
cmp dl, byte [ecx + 1]
jne 0x10013413
cmp esi, 0xfffffffe
je 0x1001341a
mov dl, byte [ebx + 2]
cmp dl, byte [ecx + 2]
jne 0x10013413
cmp esi, 0xffffffff
je 0x1001341a
mov dl, byte [ebx + 3]
cmp dl, byte [ecx + 3]
je 0x1001341a
sbb ecx, ecx
or ecx, 1
jmp 0x1001341c
xor ecx, ecx
test ecx, ecx
je 0x10013426
mov esi, dword [esp + 0x10]
jmp 0x10013441
mov edx, dword [esp + 0x24]
mov esi, dword [esp + 0x10]
mov ebx, dword [esi + 0x10]
cmp ebx, edx
jae 0x1001343a
or ecx, 0xffffffff
jmp 0x10013441
xor ecx, ecx
cmp ebx, edx
setne cl
test ecx, ecx
sete cl
test cl, cl
sete cl
test cl, cl
je 0x1001349f
cmp edi, eax
jne 0x10013391
mov ebx, dword [esp + 0x14]
mov esi, dword [ebp + 0x10]
mov eax, dword [esi]
cmp edi, eax
je 0x10013485
mov ecx, dword [esi + 4]
mov dword [ecx], eax
mov ecx, dword [eax + 4]
mov dword [ecx], edi
mov ecx, dword [edi + 4]
mov dword [ecx], esi
mov ecx, dword [eax + 4]
mov edx, dword [edi + 4]
mov dword [edi + 4], ecx
mov ecx, dword [esi + 4]
mov dword [eax + 4], ecx
mov dword [esi + 4], edx
mov ecx, dword [ebx + 8]
mov edx, dword [esp + 0x1c]
add ecx, edx
mov eax, dword [ecx]
cmp eax, dword [ebx]
jne 0x100134e0
mov dword [ecx], esi
mov eax, dword [ebx + 8]
mov dword [eax + edx + 4], esi
jmp 0x10013502
lea eax, [edi + 8]
push esi
push eax
call fcn.1000f4b0
test al, al
je 0x100134b1
mov edi, dword [edi]
jmp 0x10013457
push dword [ebp + 0x10]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x20]
push eax
call fcn.1000f0a0
mov eax, dword [esp + 0x18]
mov dword [eax], edi
mov byte [eax + 4], 0
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.1002d28e
mov esp, ebp
pop ebp
ret 0xc
cmp eax, edi
jne 0x100134e8
mov dword [ecx], esi
jmp 0x10013502
mov eax, dword [ecx + 4]
mov eax, dword [eax]
mov dword [ecx + 4], eax
cmp eax, esi
je 0x10013502
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.100136b0
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x2c]
pop edi
mov dword [eax], esi
pop esi
pop ebx
xor ecx, esp
mov byte [eax + 4], 1
call fcn.1002d28e
mov esp, ebp
pop ebp
ret 0xc