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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012b2a0
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x10176120]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
mov eax, dword [ebp + 8]
mov esi, eax
mov dword [ebp - 0x14], eax
cmp dword [eax + 0x14], 0x10
mov ebx, dword [eax + 0x10]
jb 0x1002bd53
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x1002bd71
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1002bd60
mov eax, dword [edi + 0x18]
and eax, edx
mov edx, dword [edi + 0xc]
mov ebx, dword [edx + eax*8]
lea ecx, [edx + eax*8]
mov dword [ebp - 0x30], ecx
mov edi, ebx
mov dword [ebp - 0x24], edx
lea esi, [eax*8 + 4]
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x28], esi
mov ecx, dword [eax + 4]
mov dword [ebp - 0x20], ecx
nop word [eax + eax]
cmp ebx, ecx
jne 0x1002bda8
mov eax, ecx
jmp 0x1002bdad
mov eax, dword [esi + edx]
mov eax, dword [eax]
cmp edi, eax
je 0x1002bf10
mov eax, dword [ebp - 0x14]
lea ecx, [edi + 8]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x1002bdc5
mov edx, dword [eax]
cmp dword [ecx + 0x14], 0x10
mov esi, dword [ecx + 0x10]
jb 0x1002bdd0
mov ecx, dword [ecx]
cmp esi, dword [eax + 0x10]
jne 0x1002be30
sub esi, 4
jb 0x1002bdf1
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1002bdf6
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1002bde0
cmp esi, 0xfffffffc
je 0x1002be2a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1002be23
cmp esi, 0xfffffffd
je 0x1002be2a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1002be23
cmp esi, 0xfffffffe
je 0x1002be2a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1002be23
cmp esi, 0xffffffff
je 0x1002be2a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1002be2a
sbb eax, eax
or eax, 1
jmp 0x1002be2c
xor eax, eax
test eax, eax
je 0x1002be40
mov edi, dword [edi]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
jmp 0x1002bda0
mov edx, dword [ebp - 0x20]
mov ecx, edi
mov esi, edi
mov dword [ebp - 0x34], ecx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], esi
mov esi, dword [ebp - 0x30]
mov dword [ebp - 0x1c], edx
cmp dword [esi], edx
jne 0x1002be5e
mov eax, edx
jmp 0x1002be72
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x24]
mov eax, dword [edx + eax]
mov edx, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [edx + 4]
mov dword [ebp - 0x1c], edx
cmp edi, eax
je 0x1002bf05
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov eax, dword [edx + 0x10]
jb 0x1002be88
mov edx, dword [edx]
cmp dword [ecx + 0x14], 0x10
mov ebx, ecx
jb 0x1002be92
mov ebx, dword [ecx]
cmp dword [ecx + 0x10], eax
jne 0x1002bf05
mov eax, dword [ecx + 0x10]
sub eax, 4
mov dword [ebp - 0x14], eax
jb 0x1002beb9
mov eax, dword [ebx]
cmp eax, dword [edx]
jne 0x1002bebe
mov eax, dword [ebp - 0x14]
add ebx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x14], eax
jae 0x1002bea2
cmp eax, 0xfffffffc
je 0x1002bef5
mov al, byte [ebx]
cmp al, byte [edx]
jne 0x1002beee
cmp dword [ebp - 0x14], 0xfffffffd
je 0x1002bef5
mov al, byte [ebx + 1]
cmp al, byte [edx + 1]
jne 0x1002beee
cmp dword [ebp - 0x14], 0xfffffffe
je 0x1002bef5
mov al, byte [ebx + 2]
cmp al, byte [edx + 2]
jne 0x1002beee
cmp dword [ebp - 0x14], 0xffffffff
je 0x1002bef5
mov al, byte [ebx + 3]
cmp al, byte [edx + 3]
je 0x1002bef5
sbb eax, eax
or eax, 1
jmp 0x1002bef7
xor eax, eax
test eax, eax
jne 0x1002bf05
mov edi, dword [edi]
mov edx, dword [ebp - 0x1c]
jmp 0x1002be53
mov esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x34], edi
jne 0x1002bf14
mov ecx, dword [ebp - 0x1c]
mov esi, ecx
mov edi, ecx
mov eax, esi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
cmp eax, edi
je 0x1002bf2a
nop
mov eax, dword [eax]
inc ebx
cmp eax, edi
jne 0x1002bf20
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x20]
cmp esi, dword [eax]
jne 0x1002bf70
cmp edi, eax
jne 0x1002bf70
mov esi, dword [ebp - 0x18]
mov dword [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.1002bb70
push 8
mov ecx, esi
call fcn.1001caf0
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10031a8d
mov esp, ebp
pop ebp
ret 4
cmp esi, edi
je 0x1002bf50
mov eax, esi
mov esi, dword [esi]
cmp dword [eax + 0x1c], 0x10
lea ecx, [eax + 8]
mov edx, dword [ecx + 0x10]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], edx
jb 0x1002bf95
mov ecx, dword [ecx]
mov dword [ebp - 0x28], ecx
xor edx, edx
mov dword [ebp - 0x1c], esi
mov ebx, 0x811c9dc5
cmp dword [ebp - 0x24], edx
jbe 0x1002bfcc
mov eax, dword [ebp - 0x28]
mov esi, dword [ebp - 0x24]
nop word [eax + eax]
movzx ecx, byte [edx + eax]
inc edx
xor ecx, ebx
imul ebx, ecx, 0x1000193
cmp edx, esi
jb 0x1002bfb0
mov eax, dword [ebp - 0x20]
mov esi, dword [ebp - 0x2c]
mov ecx, dword [eax]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x18]
and ebx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0xc]
cmp dword [ecx + ebx*8 + 4], eax
lea edx, [ecx + ebx*8]
jne 0x1002c003
cmp dword [edx], eax
jne 0x1002bffb
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 4]
mov dword [edx], ecx
mov ecx, eax
mov edx, dword [ecx + 0xc]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x20]
mov dword [edx + ebx*8 + 4], ecx
jmp 0x1002c00c
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x1002c00c
cmp dword [edx], eax
jne 0x1002c00c
mov ecx, dword [ebp - 0x1c]
mov dword [edx], ecx
mov edx, dword [eax + 4]
mov ecx, dword [eax]
push eax
mov dword [edx], ecx
mov edx, dword [eax]
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [ebp - 0x18]
add ecx, 4
dec dword [ecx + 4]
call fcn.1002ba70
cmp esi, edi
jne 0x1002bf74
mov eax, dword [ebp - 0x14]
jmp 0x1002bf52