Function at 0x4f13e0
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 0x56d0db
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf0
mov eax, dword [0x5d6024]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0xf8], edi
mov edx, dword [ebx + 8]
xor eax, eax
mov ecx, edx
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
mov word [ebp - 0x74], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f1453
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.00407c60
mov dword [ebp - 4], 0
cmp dword [ebp - 0x64], 0
jne 0x4f1480
xor esi, esi
jmp 0x4f1866
mov edi, dword [edi + 0x84]
lea ecx, [ebp - 0x2c]
push 0xd
push str.ErrorMsgTitle
mov eax, dword [edi]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [eax + 0x28]
xor eax, eax
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00407c60
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x44]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00407f30
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [ebp - 0xf8]
cmp dword [edi + 0x17c], eax
jne 0x4f150e
lea eax, [edi + 0x160]
lea ecx, [ebp - 0x44]
cmp ecx, eax
je 0x4f150e
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4f1504
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x44]
call fcn.00407c60
cmp dword [ebp - 0x34], 0
jne 0x4f15c5
mov eax, dword [edi + 0x84]
mov dword [ebp - 0xf4], eax
test eax, eax
je 0x4f15c5
mov eax, dword [eax]
lea ecx, [ebp - 0x2c]
push 0xb
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov esi, dword [eax]
xor eax, eax
push 0x588e10
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00407c60
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0xf4]
push eax
lea eax, [ebp - 0x5c]
push eax
call esi
mov esi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x44]
cmp eax, esi
je 0x4f15ad
mov ecx, eax
call fcn.00407f30
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x44], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x34], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x5c]
call fcn.00407f30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00407f30
cmp dword [edi + 0x60], 0
je 0x4f1657
mov eax, dword [edi + 0x60]
add eax, dword [edi + 0x5c]
mov ecx, dword [edi + 0x58]
mov dword [ebp - 0xfc], eax
dec ecx
dec eax
and ecx, eax
mov eax, dword [edi + 0x54]
mov ecx, dword [eax + ecx*4]
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf4], ecx
cmp dword [ecx + 0x14], 8
mov esi, dword [ecx + 0x10]
jb 0x4f1605
mov eax, dword [ecx]
mov dword [ebp - 0xf4], eax
xor ecx, ecx
mov edx, 0x811c9dc5
add esi, esi
je 0x4f162d
mov edi, dword [ebp - 0xf4]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4f1616
mov edi, dword [ebp - 0xf8]
push edx
push dword [ebp - 0xfc]
lea eax, [ebp - 0x100]
push eax
lea ecx, [edi + 0x64]
call fcn.0040ad70
mov eax, dword [eax + 4]
test eax, eax
jne 0x4f164d
mov eax, dword [edi + 0x68]
cmp eax, dword [edi + 0x68]
je 0x4f1657
mov esi, dword [eax + 0x20]
jmp 0x4f1659
xor esi, esi
sub esp, 0x18
lea eax, [ebp - 0x44]
mov ecx, esp
mov dword [ebp - 0xfc], esp
push eax
call fcn.00406c50
mov byte [ebp - 4], 6
sub esp, 0x18
lea eax, [ebp - 0x74]
mov dword [ebp - 0xf8], esp
mov ecx, esp
push eax
call fcn.00406c50
mov byte [ebp - 4], 7
push 0x13a2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf0]
call fcn.004dff30
mov byte [ebp - 4], 8
lea edx, [ebp - 0xf0]
mov ecx, dword [edi + 0x24]
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], 0
mov dword [ebp - 0xb0], 0
mov dword [ebp - 0xbc], esi
mov eax, dword [ecx]
push edx
mov eax, dword [eax + 8]
call eax
test al, al
jne 0x4f171e
cmp dword [ebp - 0xc0], 8
lea ecx, [ebp - 0xd4]
mov edx, dword [ebp - 0xb8]
cmovae ecx, dword [ebp - 0xd4]
push ecx
mov eax, esp
mov dword [eax], ecx
lea ecx, [ebp - 0xec]
cmp dword [ebp - 0xd8], 8
cmovae ecx, dword [ebp - 0xec]
push ecx
mov eax, esp
mov dword [eax], ecx
xor ecx, ecx
call fcn.00439e70
add esp, 8
mov dword [edi + 8], eax
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x84]
mov dword [ebp - 0xa4], 0x585810
mov dword [ebp - 0xa4], 0x59728c
mov dword [ebp - 0xa0], eax
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x90], 0
mov byte [ebp - 4], 9
xor eax, eax
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 7
mov word [ebp - 0x8c], ax
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5c]
push 1
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
push 0x589928
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
call fcn.00407c60
mov byte [ebp - 4], 0xc
xor eax, eax
push 8
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x18], 0
push str.ErrorDlg
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.00407c60
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x5c]
push 1
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004e2a00
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.00407f30
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x5c]
call fcn.00407f30
mov esi, dword [edi + 8]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x8c]
call fcn.00407f30
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x98]
call fcn.0041d520
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xd4]
call fcn.00407f30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xec]
call fcn.00407f30
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00407f30
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00407f30
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0052223b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8