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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
push esi
push edi
cmp dword [ecx + 0x14], 8
mov eax, dword [ecx + 0x10]
jb 0x10012afb
mov esi, dword [ecx]
jmp 0x10012afd
mov esi, ecx
lea edi, [eax + eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test edi, edi
je 0x10012b21
nop dword [eax + eax]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x10012b10
mov edi, dword [ebp + 0xc]
mov esi, dword [ebx + 0xc]
xor edx, dword [edi + 0x18]
and edx, dword [ebx + 0x18]
mov eax, dword [esi + edx*8]
add edx, edx
mov ecx, dword [esi + edx*4]
inc edx
mov dword [ebp - 8], ecx
mov ecx, dword [ebx + 4]
mov dword [ebp - 0x10], ecx
lea edx, [esi + edx*4]
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
cmp dword [ebp - 8], ecx
jne 0x10012b51
mov edx, ecx
jmp 0x10012b55
mov edx, dword [edx]
mov edx, dword [edx]
cmp eax, edx
je 0x10012c82
cmp dword [edi + 0x14], 8
jb 0x10012b65
mov edi, dword [edi]
cmp dword [eax + 0x1c], 8
jb 0x10012b70
mov esi, dword [eax + 8]
jmp 0x10012b73
lea esi, [eax + 8]
mov edx, dword [eax + 0x18]
mov ecx, dword [ebp + 0xc]
mov eax, ecx
mov dword [ebp - 0x14], edx
cmp edx, dword [eax + 0x10]
mov ebx, dword [ecx + 0x10]
mov eax, dword [ebp - 4]
cmovb ebx, edx
mov ecx, dword [ebp - 0x10]
test ebx, ebx
jne 0x10012bb5
xor edx, edx
mov edi, dword [ebp + 0xc]
test edx, edx
jne 0x10012bae
mov edx, dword [ebp - 0x14]
mov esi, dword [edi + 0x10]
cmp edx, esi
jb 0x10012bae
ja 0x10012bae
mov edx, dword [edi + 0x18]
cmp dword [eax + 0x20], edx
je 0x10012bd6
mov eax, dword [eax]
mov edx, dword [ebp - 0xc]
jmp 0x10012b45
mov dx, word [esi]
cmp dx, word [edi]
jne 0x10012bc8
add esi, 2
add edi, 2
sub ebx, 1
jmp 0x10012b8f
movzx edx, word [esi]
cmp dx, word [edi]
sbb edx, edx
and edx, 0xfffffffe
inc edx
jmp 0x10012b93
mov edx, eax
mov dword [ebp - 0x18], edx
nop dword [eax + eax]
cmp dword [ebp - 8], ecx
jne 0x10012be9
mov esi, ecx
jmp 0x10012bf0
mov edx, dword [ebp - 0xc]
mov esi, dword [edx]
mov esi, dword [esi]
cmp eax, esi
je 0x10012c68
cmp dword [eax + 0x1c], 8
jb 0x10012bff
mov ebx, dword [eax + 8]
jmp 0x10012c02
lea ebx, [eax + 8]
cmp dword [edi + 0x14], 8
jb 0x10012c0a
mov edi, dword [edi]
mov ecx, dword [ebp + 0xc]
mov esi, dword [eax + 0x18]
mov dword [ebp - 0x14], esi
mov edx, dword [ecx + 0x10]
cmp edx, esi
mov ecx, dword [ebp - 0x10]
cmovb esi, edx
mov dword [ebp - 4], esi
test esi, esi
jne 0x10012c46
xor esi, esi
test esi, esi
jne 0x10012c68
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x14]
mov esi, dword [edi + 0x10]
cmp esi, ebx
jb 0x10012c68
ja 0x10012c68
mov edx, dword [edi + 0x18]
cmp edx, dword [eax + 0x20]
jne 0x10012c68
mov eax, dword [eax]
jmp 0x10012be0
mov si, word [edi]
cmp si, word [ebx]
jne 0x10012c5a
add edi, 2
add ebx, 2
sub dword [ebp - 4], 1
jmp 0x10012c23
movzx esi, word [edi]
cmp si, word [ebx]
sbb esi, esi
and esi, 0xfffffffe
inc esi
jmp 0x10012c27
mov edx, dword [ebp - 0x18]
cmp edx, eax
je 0x10012c82
mov ecx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [ecx + 4], eax
mov eax, ecx
mov dword [ecx], edx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword [eax], ecx
mov dword [eax + 4], ecx
mov esp, ebp
pop ebp
ret 8