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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10045018]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0xc]
push esi
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
push edi
mov edi, ecx
mov dword [ebp - 8], eax
jb 0x1000ec38
mov esi, dword [ebx]
jmp 0x1000ec3a
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x1000ec5b
mov ebx, eax
movzx eax, byte [esi + ecx]
xor edx, eax
inc ecx
imul edx, edx, 0x1000193
cmp ecx, ebx
jb 0x1000ec47
mov ebx, dword [ebp + 0xc]
mov esi, dword [edi + 0x14]
mov ecx, esi
and ecx, edx
cmp dword [edi + 0x18], ecx
ja 0x1000ec70
shr esi, 1
or eax, 0xffffffff
sub eax, esi
add ecx, eax
mov eax, dword [edi + 8]
mov edx, dword [edi]
lea esi, [eax + ecx*8]
mov dword [ebp - 0xc], esi
mov eax, dword [esi]
mov dword [ebp - 0x18], eax
mov ecx, eax
mov dword [ebp - 0x10], edx
cmp eax, edx
jne 0x1000ec8d
mov eax, edx
jmp 0x1000ec92
mov eax, dword [esi + 4]
mov eax, dword [eax]
cmp ecx, eax
je 0x1000ee0d
cmp dword [ebx + 0x14], 0x10
lea edx, [ecx + 8]
jb 0x1000eca7
mov edi, dword [ebx]
jmp 0x1000eca9
mov edi, ebx
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x14], eax
jb 0x1000ecb7
mov edx, dword [edx]
mov esi, dword [ebp - 8]
cmp eax, esi
cmovb esi, eax
test esi, esi
je 0x1000ed1b
sub esi, 4
jb 0x1000ecd9
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x1000ecde
add edx, 4
add edi, 4
sub esi, 4
jae 0x1000ecc8
cmp esi, 0xfffffffc
je 0x1000ed12
mov al, byte [edx]
cmp al, byte [edi]
jne 0x1000ed0b
cmp esi, 0xfffffffd
je 0x1000ed12
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x1000ed0b
cmp esi, 0xfffffffe
je 0x1000ed12
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x1000ed0b
cmp esi, 0xffffffff
je 0x1000ed12
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x1000ed12
sbb eax, eax
or eax, 1
jmp 0x1000ed14
xor eax, eax
test eax, eax
jne 0x1000ed2e
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
cmp eax, edx
jb 0x1000ed2e
xor eax, eax
cmp dword [ebp - 0x14], edx
setne al
test eax, eax
je 0x1000ed3e
mov ecx, dword [ecx]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x18]
mov esi, dword [ebp - 0xc]
jmp 0x1000ec85
cmp dword [ecx + 0x1c], 0x10
mov edi, dword [ecx + 0x18]
lea edx, [ecx + 8]
jb 0x1000ed4c
mov edx, dword [edx]
cmp dword [ebx + 0x14], 0x10
jb 0x1000ed54
mov ebx, dword [ebx]
mov eax, dword [ebp - 8]
cmp eax, edi
mov esi, edi
cmovb esi, eax
test esi, esi
je 0x1000edba
sub esi, 4
jb 0x1000ed78
mov eax, dword [ebx]
cmp eax, dword [edx]
jne 0x1000ed7d
add ebx, 4
add edx, 4
sub esi, 4
jae 0x1000ed67
cmp esi, 0xfffffffc
je 0x1000edb1
mov al, byte [ebx]
cmp al, byte [edx]
jne 0x1000edaa
cmp esi, 0xfffffffd
je 0x1000edb1
mov al, byte [ebx + 1]
cmp al, byte [edx + 1]
jne 0x1000edaa
cmp esi, 0xfffffffe
je 0x1000edb1
mov al, byte [ebx + 2]
cmp al, byte [edx + 2]
jne 0x1000edaa
cmp esi, 0xffffffff
je 0x1000edb1
mov al, byte [ebx + 3]
cmp al, byte [edx + 3]
je 0x1000edb1
sbb eax, eax
or eax, 1
jmp 0x1000edb3
xor eax, eax
test eax, eax
jne 0x1000edea
mov eax, dword [ebp - 8]
cmp eax, edi
jb 0x1000edea
xor eax, eax
cmp dword [ebp - 8], edi
setne al
test eax, eax
jne 0x1000edea
mov eax, dword [ebp + 8]
mov dword [ebp - 0xc], ecx
lea ecx, [ebp - 0xc]
pop edi
mov ecx, dword [ecx]
pop esi
mov dword [eax], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002d28e
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
pop edi
mov ecx, dword [ecx]
pop esi
mov dword [eax], ecx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002d28e
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
mov dword [eax], edx
pop ebx
call fcn.1002d28e
mov esp, ebp
pop ebp
ret 8