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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov edi, ecx
cmp dword [ebx + 0x14], 0x10
mov eax, dword [ebx + 0x10]
mov dword [ebp - 4], eax
jb 0x1002860e
mov esi, dword [ebx]
jmp 0x10028610
mov esi, ebx
xor ecx, ecx
mov edx, 0x811c9dc5
test eax, eax
je 0x10028634
mov ebx, eax
lea ecx, [ecx]
movzx eax, byte [esi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x10028620
mov ebx, dword [ebp + 0xc]
mov ecx, dword [edi + 0x14]
mov esi, ecx
and esi, edx
cmp dword [edi + 0x18], esi
ja 0x10028649
shr ecx, 1
or eax, 0xffffffff
sub eax, ecx
add esi, eax
mov edx, dword [edi + 8]
lea eax, [esi + esi]
lea eax, [eax + 1]
mov ecx, dword [edx + esi*8]
mov esi, dword [edx + eax*4 - 4]
lea eax, [edx + eax*4]
mov dword [ebp - 0xc], esi
mov esi, dword [edi]
mov dword [ebp - 8], esi
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], esi
jne 0x10028670
mov eax, esi
jmp 0x10028674
mov eax, dword [eax]
mov eax, dword [eax]
cmp ecx, eax
je 0x100287e2
cmp dword [ebx + 0x14], 0x10
lea edx, [ecx + 8]
jb 0x10028689
mov edi, dword [ebx]
jmp 0x1002868b
mov edi, ebx
cmp dword [edx + 0x14], 0x10
mov eax, dword [edx + 0x10]
mov dword [ebp + 0xc], eax
jb 0x10028699
mov edx, dword [edx]
mov esi, dword [ebp - 4]
cmp eax, esi
cmovb esi, eax
test esi, esi
je 0x10028703
sub esi, 4
jb 0x100286c1
lea ebx, [ebx]
mov eax, dword [edx]
cmp eax, dword [edi]
jne 0x100286c6
add edx, 4
add edi, 4
sub esi, 4
jae 0x100286b0
cmp esi, 0xfffffffc
je 0x100286fa
mov al, byte [edx]
cmp al, byte [edi]
jne 0x100286f3
cmp esi, 0xfffffffd
je 0x100286fa
mov al, byte [edx + 1]
cmp al, byte [edi + 1]
jne 0x100286f3
cmp esi, 0xfffffffe
je 0x100286fa
mov al, byte [edx + 2]
cmp al, byte [edi + 2]
jne 0x100286f3
cmp esi, 0xffffffff
je 0x100286fa
mov al, byte [edx + 3]
cmp al, byte [edi + 3]
je 0x100286fa
sbb eax, eax
or eax, 1
jmp 0x100286fc
xor eax, eax
test eax, eax
jne 0x10028716
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp - 4]
cmp eax, edx
jb 0x10028716
xor eax, eax
cmp dword [ebp + 0xc], edx
setne al
test eax, eax
je 0x10028723
mov ecx, dword [ecx]
mov esi, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
jmp 0x10028667
cmp dword [ecx + 0x1c], 0x10
lea edx, [ecx + 8]
mov edi, dword [edx + 0x10]
jb 0x10028731
mov edx, dword [edx]
cmp dword [ebx + 0x14], 0x10
jb 0x10028739
mov ebx, dword [ebx]
mov eax, dword [ebp - 4]
mov esi, edi
cmp eax, edi
cmovb esi, eax
test esi, esi
je 0x100287a3
sub esi, 4
jb 0x10028761
lea esp, [esp]
mov eax, dword [ebx]
cmp eax, dword [edx]
jne 0x10028766
add ebx, 4
add edx, 4
sub esi, 4
jae 0x10028750
cmp esi, 0xfffffffc
je 0x1002879a
mov al, byte [ebx]
cmp al, byte [edx]
jne 0x10028793
cmp esi, 0xfffffffd
je 0x1002879a
mov al, byte [ebx + 1]
cmp al, byte [edx + 1]
jne 0x10028793
cmp esi, 0xfffffffe
je 0x1002879a
mov al, byte [ebx + 2]
cmp al, byte [edx + 2]
jne 0x10028793
cmp esi, 0xffffffff
je 0x1002879a
mov al, byte [ebx + 3]
cmp al, byte [edx + 3]
je 0x1002879a
sbb eax, eax
or eax, 1
jmp 0x1002879c
xor eax, eax
test eax, eax
jne 0x100287c9
mov eax, dword [ebp - 4]
cmp eax, edi
jb 0x100287c9
xor eax, eax
cmp dword [ebp - 4], edi
setne al
test eax, eax
jne 0x100287c9
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], ecx
lea ecx, [ebp + 0xc]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp - 8]
lea ecx, [ebp + 0xc]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ecx]
pop edi
pop esi
mov dword [eax], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [ebp + 8]
pop edi
mov dword [eax], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8