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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10122890
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x1016d120]
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 0x1002bc83
mov esi, dword [eax]
xor ecx, ecx
mov edx, 0x811c9dc5
test ebx, ebx
je 0x1002bca1
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1002bc90
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 0x1002bcd8
mov eax, ecx
jmp 0x1002bcdd
mov eax, dword [esi + edx]
mov eax, dword [eax]
cmp edi, eax
je 0x1002be40
mov eax, dword [ebp - 0x14]
lea ecx, [edi + 8]
mov edx, eax
cmp dword [eax + 0x14], 0x10
jb 0x1002bcf5
mov edx, dword [eax]
cmp dword [ecx + 0x14], 0x10
mov esi, dword [ecx + 0x10]
jb 0x1002bd00
mov ecx, dword [ecx]
cmp esi, dword [eax + 0x10]
jne 0x1002bd60
sub esi, 4
jb 0x1002bd21
nop word [eax + eax]
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x1002bd26
add ecx, 4
add edx, 4
sub esi, 4
jae 0x1002bd10
cmp esi, 0xfffffffc
je 0x1002bd5a
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x1002bd53
cmp esi, 0xfffffffd
je 0x1002bd5a
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x1002bd53
cmp esi, 0xfffffffe
je 0x1002bd5a
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x1002bd53
cmp esi, 0xffffffff
je 0x1002bd5a
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x1002bd5a
sbb eax, eax
or eax, 1
jmp 0x1002bd5c
xor eax, eax
test eax, eax
je 0x1002bd70
mov edi, dword [edi]
mov ecx, dword [ebp - 0x20]
mov edx, dword [ebp - 0x24]
mov esi, dword [ebp - 0x28]
jmp 0x1002bcd0
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 0x1002bd8e
mov eax, edx
jmp 0x1002bda2
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 0x1002be35
cmp dword [edi + 0x1c], 0x10
lea edx, [edi + 8]
mov eax, dword [edx + 0x10]
jb 0x1002bdb8
mov edx, dword [edx]
cmp dword [ecx + 0x14], 0x10
mov ebx, ecx
jb 0x1002bdc2
mov ebx, dword [ecx]
cmp dword [ecx + 0x10], eax
jne 0x1002be35
mov eax, dword [ecx + 0x10]
sub eax, 4
mov dword [ebp - 0x14], eax
jb 0x1002bde9
mov eax, dword [ebx]
cmp eax, dword [edx]
jne 0x1002bdee
mov eax, dword [ebp - 0x14]
add ebx, 4
add edx, 4
sub eax, 4
mov dword [ebp - 0x14], eax
jae 0x1002bdd2
cmp eax, 0xfffffffc
je 0x1002be25
mov al, byte [ebx]
cmp al, byte [edx]
jne 0x1002be1e
cmp dword [ebp - 0x14], 0xfffffffd
je 0x1002be25
mov al, byte [ebx + 1]
cmp al, byte [edx + 1]
jne 0x1002be1e
cmp dword [ebp - 0x14], 0xfffffffe
je 0x1002be25
mov al, byte [ebx + 2]
cmp al, byte [edx + 2]
jne 0x1002be1e
cmp dword [ebp - 0x14], 0xffffffff
je 0x1002be25
mov al, byte [ebx + 3]
cmp al, byte [edx + 3]
je 0x1002be25
sbb eax, eax
or eax, 1
jmp 0x1002be27
xor eax, eax
test eax, eax
jne 0x1002be35
mov edi, dword [edi]
mov edx, dword [ebp - 0x1c]
jmp 0x1002bd83
mov esi, dword [ebp - 0x2c]
cmp dword [ebp - 0x34], edi
jne 0x1002be44
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 0x1002be5a
nop
mov eax, dword [eax]
inc ebx
cmp eax, edi
jne 0x1002be50
mov dword [ebp - 0x14], ebx
mov eax, dword [ebp - 0x20]
cmp esi, dword [eax]
jne 0x1002bea0
cmp edi, eax
jne 0x1002bea0
mov esi, dword [ebp - 0x18]
mov dword [ebp - 4], 0
lea ecx, [esi + 4]
call fcn.1002baa0
push 8
mov ecx, esi
call fcn.1001cae0
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.1003161c
mov esp, ebp
pop ebp
ret 4
cmp esi, edi
je 0x1002be80
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 0x1002bec5
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 0x1002befc
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 0x1002bee0
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 0x1002bf33
cmp dword [edx], eax
jne 0x1002bf2b
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 0x1002bf3c
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
jmp 0x1002bf3c
cmp dword [edx], eax
jne 0x1002bf3c
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.1002b9a0
cmp esi, edi
jne 0x1002bea4
mov eax, dword [ebp - 0x14]
jmp 0x1002be82