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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x1013fa75
push eax
mov dword fs:[0], esp
sub esp, 0x2c
cmp dword [ecx + 8], 3
push ebx
push esi
push edi
jne 0x1007e7d4
call fcn.10063ca0
push 0x16
mov esi, eax
mov dword [ebp - 0x34], 0
push 0x10198288
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.100485f0
mov dword [ebp - 4], 0
call fcn.1007a8b0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x20], 0x10
lea edi, [ebp - 0x34]
mov esi, dword [ebp - 0x34]
mov edx, 0x811c9dc5
mov ebx, dword [ebp - 0x24]
cmovae edi, esi
xor ecx, ecx
test ebx, ebx
je 0x1007e738
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1007e727
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.10064540
mov edi, dword [eax + 4]
test edi, edi
je 0x1007e77d
cmp edi, dword [ebx + 4]
je 0x1007e77d
mov edi, dword [edi + 0x20]
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x1007e787
mov eax, dword [ebp + 0x14]
push 0
push 0
push eax
mov eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call edi
mov edi, eax
jmp 0x1007e78c
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0xc0000138
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x1007e7bf
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1007e7b5
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1007e8c9
push ecx
push esi
call fcn.1013b151
add esp, 8
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x14
call fcn.10063ca0
push 0x10
mov esi, eax
mov dword [ebp - 0x34], 0
push 0x101982a0
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
call fcn.100485f0
mov dword [ebp - 4], 1
call fcn.1007a8b0
lea eax, [esi + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [ebp - 0x20], 0x10
lea edi, [ebp - 0x34]
mov esi, dword [ebp - 0x34]
mov edx, 0x811c9dc5
mov ebx, dword [ebp - 0x24]
cmovae edi, esi
xor ecx, ecx
test ebx, ebx
je 0x1007e844
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x1007e833
mov ebx, dword [ebp - 0x14]
lea eax, [ebp - 0x34]
push edx
push eax
lea eax, [ebp - 0x1c]
mov ecx, ebx
push eax
call fcn.10064540
mov edi, dword [eax + 4]
test edi, edi
je 0x1007e889
cmp edi, dword [ebx + 4]
je 0x1007e889
mov edi, dword [edi + 0x20]
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x1007e893
mov eax, dword [ebp + 0x14]
push 0
push 0
push eax
mov eax, dword [ebp + 0xc]
push eax
push dword [ebp + 8]
call edi
mov edi, eax
jmp 0x1007e898
lea eax, [ebx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov edi, 0xc0000138
mov eax, dword [ebp - 0x20]
cmp eax, 0x10
jb 0x1007e7bf
lea ecx, [eax + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1007e7b5
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1007e7b5
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3