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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x465f68
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ebx
sub esp, 0x1b0
push esi
push edi
mov edi, ecx
mov dword [ebp - 0x28], edi
cmp dword [edi + 0x20], 0
je 0x419fd6
xor eax, eax
jmp 0x41a238
mov eax, dword [edi]
lea ecx, [ebp - 0x24]
xor edx, edx
mov eax, dword [eax + 8]
mov al, byte [eax + 0xd]
test al, al
sete dl
call fcn.00401840
push 0x100
lea eax, [ebp - 0x1c0]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00445960
add esp, 0xc
xorps xmm0, xmm0
movups xmmword [ebp - 0x68], xmm0
movq qword [ebp - 0x58], xmm0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push dword [ebx + 8]
lea eax, [ebp - 0x1c0]
push str.BaseNamedObjects_MMapEvent_0x_x_0x_x
push 0x80
push eax
call fcn.00418430
add esp, 0x14
mov dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push 0
push eax
push 1
push str.S:_ML__NW___LW_D:_A__GA___S_1_15_2_1__A__GA___WD_
call dword [sym.imp.ADVAPI32.dll_ConvertStringSecurityDescriptorToSecurityDescriptorW]
mov edx, dword [ebp - 0x1c]
mov eax, dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x34], edx
lea ecx, [ebp - 0x1c0]
mov byte [ebp - 4], 1
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x41a071
sub ecx, esi
mov dword [ebp - 0x68], 0x18
sar ecx, 1
push 1
push 2
push 0x494684
lea eax, [ecx + ecx]
mov dword [ebp - 0x58], edx
mov ecx, dword [edi + 4]
mov word [ebp - 0x30], ax
mov eax, 0x100
mov word [ebp - 0x2e], ax
lea eax, [ebp - 0x1c0]
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0xc0]
push eax
call fcn.00403190
mov byte [ebp - 4], 2
mov esi, dword [ebp - 0xc0]
test esi, esi
js 0x41a206
call fcn.0040d0d0
mov ecx, dword [0x494698]
xorps xmm0, xmm0
movups xmmword [ebp - 0x50], xmm0
mov esi, eax
mov al, byte [0x49469c]
movq xmm0, qword [0x494690]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x40], 0xd
mov dword [ebp - 0x3c], 0xf
movq qword [ebp - 0x50], xmm0
mov dword [ebp - 0x48], ecx
mov byte [ebp - 0x44], al
mov byte [ebp - 0x43], 0
mov byte [ebp - 4], 4
call fcn.004230a0
add esi, 0x20
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, 0x811c9dc5
xor ecx, ecx
nop
movzx eax, byte [ebp + ecx - 0x50]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, 0xd
jb 0x41a130
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x50]
push edx
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.0040d930
mov eax, dword [eax + 4]
test eax, eax
je 0x41a18b
mov ecx, dword [ebp - 0x20]
cmp eax, dword [ecx + 4]
je 0x41a18b
mov esi, dword [eax + 0x20]
lea eax, [ecx + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x41a192
push 0
push 0
lea eax, [ebp - 0x68]
push eax
push 0x1f0003
lea eax, [edi + 0x20]
push eax
call esi
mov esi, eax
jmp 0x41a197
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, 0xc0000138
mov byte [ebp - 4], 2
test esi, esi
js 0x41a206
mov eax, dword [edi]
mov edi, dword [edi + 0x20]
mov dword [ebp - 0x14], 0
mov esi, dword [eax]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 2
push 0
push 0
lea ecx, [ebp - 0x14]
push ecx
push esi
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
test eax, eax
jne 0x41a1db
mov eax, dword fs:[0x18]
mov edi, dword [ebp - 0x34]
mov esi, dword [eax + 0xbf4]
jmp 0x41a209
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x14]
push eax
push 4
push 0x18
lea ecx, [edi + 0x3c]
call fcn.00418320
mov esi, eax
test esi, esi
js 0x41a206
lea eax, [ebp - 0x14]
push eax
push 4
lea ecx, [edi + 0x44]
push 0x18
call fcn.00418320
mov esi, eax
mov edi, dword [ebp - 0x18]
cmp byte [ebp - 0x78], 0
je 0x41a21a
lea ecx, [ebp - 0xb8]
call fcn.00403050
mov byte [ebp - 4], 8
test edi, edi
je 0x41a229
push edi
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x41a236
mov eax, dword [ecx]
push 1
call dword [eax]
mov eax, esi
mov ecx, dword [ebp - 0xc]
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 4