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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10277813
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x103230ac]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [0x10c0dd10]
add eax, 0x72c821ae
xor eax, 0x43f50f5d
cmp byte [eax + 7], 0
je 0x1018acbd
cmp dword [eax + 0x134], 0
je 0x1018acbd
mov edx, dword [0x103a7c34]
lea ecx, [ebp - 0x24]
test edx, edx
mov dword [ebp - 0x28], 0x17
mov eax, 0x103a7c34
mov dword [ebp - 0x24], 0
setg byte [ebp - 0xd]
test edx, edx
cmovns ecx, eax
cmp edx, 0x17
lea eax, [ebp - 0x28]
cmovle eax, ecx
mov eax, dword [eax]
mov dword [0x103a7c34], eax
cmp eax, 0x17
jne 0x1018aaa3
mov ebx, 0x103a7bb4
jmp 0x1018aab7
lea ecx, [eax + eax*2]
mov eax, dword [0x103f8a98]
cmp dword [eax + ecx*8 + 0x14], 0x10
lea ebx, [eax + ecx*8]
jb 0x1018aab7
mov ebx, dword [ebx]
cmp byte [ebp - 0xd], 0
lea edi, [esi + 0x14]
je 0x1018ab04
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x1018aac5
sub esi, ecx
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x1018aad8
mov ecx, dword [edi]
mov edx, dword [edi + 0x10]
push esi
push ebx
call fcn.10050990
add esp, 8
test al, al
jne 0x1018ab58
mov eax, dword [0x10842c64]
mov ecx, ebx
call eax
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1018aaf7
sub ecx, edx
push ecx
push ebx
jmp 0x1018ab51
mov ebx, dword [esi + 0x40]
add esi, 0x2c
mov eax, esi
cmp ebx, 0x10
jb 0x1018ab13
mov eax, dword [esi]
cmp dword [edi + 0x14], 0x10
mov ecx, edi
jb 0x1018ab1d
mov ecx, dword [edi]
push dword [esi + 0x10]
mov edx, dword [edi + 0x10]
push eax
call fcn.10050990
add esp, 8
test al, al
jne 0x1018ab58
mov eax, dword [0x10842c64]
mov ecx, esi
cmp ebx, 0x10
jb 0x1018ab3e
mov ecx, dword [esi]
call eax
cmp edi, esi
je 0x1018ab58
cmp dword [esi + 0x14], 0x10
mov eax, dword [esi + 0x10]
jb 0x1018ab4f
mov esi, dword [esi]
push eax
push esi
mov ecx, edi
call fcn.100463a0
mov eax, dword [0x10c0dd10]
add eax, 0x72c821ae
xor eax, 0x43f50f5d
mov eax, dword [eax + 0x134]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x103fd980]
test al, 1
jne 0x1018acae
or eax, 1
mov dword [0x103fd980], eax
mov dword [ebp - 4], 0
mov ebx, dword [0x103bf630]
cmp ebx, dword [0x103bf634]
je 0x1018abe4
nop word [eax + eax]
mov eax, dword [ebx]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1018abd9
mov esi, dword [eax + 0xc]
mov edi, 0x811c9dc5
xor eax, eax
inc eax
cmp byte [eax + esi], 0
jne 0x1018abb3
xor edx, edx
test eax, eax
je 0x1018abd9
movsx ecx, byte [edx + esi]
inc edx
xor ecx, edi
imul edi, ecx, 0x1000193
cmp edx, eax
jb 0x1018abc0
cmp edi, 0x72e242a1
je 0x1018abf0
add ebx, 4
cmp ebx, dword [0x103bf634]
jne 0x1018aba0
xor eax, eax
mov dword [0x103fd97c], eax
jmp 0x1018acb3
mov eax, dword [ebp - 0x14]
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
cmp dword [eax + 4], ebx
jle 0x1018ac98
xor ecx, ecx
mov dword [ebp - 0x20], ecx
nop dword [eax]
mov edi, dword [eax]
add edi, ecx
mov ecx, dword [edi + 0x28]
test ecx, ecx
je 0x1018ac41
cmp dword [ecx + 4], 0
jle 0x1018ac41
push 0
mov edx, 0xbed71773
call fcn.1013c990
add esp, 4
test eax, eax
je 0x1018ac3e
mov ecx, dword [edi + 0x2c]
add ecx, eax
add ebx, ecx
mov dword [ebp - 0x18], ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [edi]
mov ebx, 0x811c9dc5
xor ecx, ecx
nop word [eax + eax]
inc ecx
cmp byte [ecx + esi], 0
jne 0x1018ac50
xor edx, edx
test ecx, ecx
je 0x1018ac7c
nop dword [eax]
movsx eax, byte [edx + esi]
inc edx
xor eax, ebx
imul ebx, eax, 0x1000193
cmp edx, ecx
jb 0x1018ac60
cmp ebx, 0xbed71773
je 0x1018aca1
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
inc edx
mov ebx, dword [ebp - 0x18]
add ecx, 0x3c
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x20], ecx
cmp edx, dword [eax + 4]
jl 0x1018ac10
mov eax, ebx
mov dword [0x103fd97c], eax
jmp 0x1018acb3
mov eax, dword [edi + 0x2c]
add eax, dword [ebp - 0x18]
mov dword [0x103fd97c], eax
jmp 0x1018acb3
mov eax, dword [0x103fd97c]
mov ecx, dword [ebp - 0x2c]
mov dword [eax + ecx], 0xff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret