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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10036f1d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x74
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x14], esi
call fcn.10010fd0
mov ebx, dword [esi]
lea ecx, [ebp - 0x4c]
mov edi, eax
mov dword [ebp - 0x3c], 0
xor eax, eax
mov dword [ebp - 0x38], 7
push eax
push 0x1003b120
mov word [ebp - 0x4c], ax
call fcn.100078a0
mov dword [ebp - 4], 0
xor eax, eax
mov edx, dword [ebp + 0x18]
mov ecx, edx
mov word [ebp - 0x34], ax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
lea eax, [ecx + 2]
mov dword [ebp + 0x18], eax
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1000a8b4
sub ecx, dword [ebp + 0x18]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x34]
call fcn.100078a0
lea edx, [ebp - 0x34]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x64]
call fcn.10009f10
push 0xffffffffffffffff
push ebx
push 1
lea ecx, [ebp - 0x4c]
mov byte [ebp - 4], 2
push ecx
push eax
push dword [ebp + 0xc]
mov ecx, edi
call fcn.100110e0
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x1000a933
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a929
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a9c7
push edx
push ecx
call fcn.10035360
add esp, 8
xor eax, eax
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], al
mov edx, dword [ebp - 0x20]
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
cmp edx, 8
jb 0x1000a980
mov ecx, dword [ebp - 0x34]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a976
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000a9c7
push edx
push ecx
call fcn.10035360
add esp, 8
xor eax, eax
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x38]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 7
mov word [ebp - 0x34], ax
cmp edx, 8
jb 0x1000a9d7
mov ecx, dword [ebp - 0x4c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000a9cd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000a9cd
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.10035360
add esp, 8
mov ebx, dword [ebp + 0x14]
cmp ebx, 2
jne 0x1000a9ec
mov eax, dword [esi]
xor ebx, ebx
mov eax, dword [eax + 8]
cmp byte [eax + 0xd], bl
sete bl
lea eax, [esi + 0x2c]
push eax
mov dword [ebp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push dword [ebp + 0xc]
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 3
call fcn.100076d0
mov dword [ebp - 0x68], ebx
mov byte [ebp - 4], 4
lea esi, [ebp - 0x80]
mov eax, dword [ebp - 0x70]
mov edx, 0x811c9dc5
cmp dword [ebp - 0x6c], 8
cmovae esi, dword [ebp - 0x80]
xor ecx, ecx
lea edi, [eax + eax]
test edi, edi
je 0x1000aa41
nop
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, edi
jb 0x1000aa30
mov edi, dword [ebp - 0x14]
lea eax, [ebp - 0x80]
xor edx, ebx
push edx
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [edi + 0xc]
call fcn.1000dad0
cmp dword [eax + 4], 0
je 0x1000aaff
lea eax, [ebp - 0x80]
push eax
lea ecx, [edi + 0xc]
call fcn.1000cfc0
mov eax, dword [eax]
cmp byte [eax + 0x48], 0
jne 0x1000aa93
lea eax, [ebp - 0x80]
push eax
lea ecx, [edi + 0xc]
call fcn.1000cfc0
mov ecx, edi
mov eax, dword [eax]
push dword [eax + 4]
push dword [eax]
call fcn.1000c870
test al, al
je 0x1000aaff
lea ecx, [edi + 0xc]
lea eax, [ebp - 0x80]
push eax
call fcn.1000cfc0
mov esi, dword [ebp + 8]
mov ecx, dword [eax + 4]
mov dword [esi + 4], 0
mov dword [esi], 0
test ecx, ecx
je 0x1000aabd
lock inc dword [ecx + 4]
mov ecx, dword [eax + 4]
mov edx, dword [ebp - 0x6c]
mov eax, dword [eax]
mov dword [esi], eax
mov dword [esi + 4], ecx
cmp edx, 8
jb 0x1000aba9
mov ecx, dword [ebp - 0x80]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1000aaf8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1000ab99
push edx
push ecx
jmp 0x1000aba1
push ebx
push dword [ebp + 0x10]
mov ecx, edi
call fcn.1000cd90
mov eax, dword [ebp - 0x70]
lea esi, [ebp - 0x80]
cmp dword [ebp - 0x6c], 8
mov edx, 0x811c9dc5
mov edi, dword [ebp - 0x80]
cmovae esi, edi
xor ecx, ecx
lea ebx, [eax + eax]
test ebx, ebx
je 0x1000ab39
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1000ab28
mov eax, dword [ebp - 0x68]
mov esi, dword [ebp - 0x14]
xor eax, edx
push eax
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [esi + 0xc]
call fcn.1000dad0
cmp dword [eax + 4], 0
je 0x1000ab60
lea ecx, [esi + 0xc]
jmp 0x1000aa96
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x6c]
mov dword [esi], 0
mov dword [esi + 4], 0
cmp eax, 8
jb 0x1000aba9
lea ecx, [eax*2 + 2]
mov eax, edi
cmp ecx, 0x1000
jb 0x1000ab9f
mov edi, dword [edi - 4]
add ecx, 0x23
sub eax, edi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1000ab9f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edi
call fcn.10035360
add esp, 8
push dword [ebp + 0x18]
xor eax, eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 7
mov word [ebp - 0x80], ax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14