Function at 0x4f9710
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 0x57c0db
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0xf0
mov eax, dword [0x5e8024]
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 - 0x74], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 7
lea esi, [ecx + 2]
mov word [ebp - 0x74], ax
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4f9790
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x74]
call fcn.004082a0
mov dword [ebp - 4], 0
cmp dword [ebp - 0x64], 0
jne 0x4f97bd
xor esi, esi
jmp 0x4f9bc5
mov edi, dword [edi + 0x84]
lea ecx, [ebp - 0x2c]
push 0xd
push str.ErrorMsgTitle
mov eax, dword [edi]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov esi, dword [eax + 0x28]
xor eax, eax
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.004082a0
mov byte [ebp - 4], 1
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x5c]
mov ecx, edi
push eax
call esi
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00408570
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov edi, dword [ebp - 0xf8]
cmp dword [edi + 0x17c], eax
jne 0x4f9852
lea eax, [edi + 0x160]
lea ecx, [ebp - 0x5c]
cmp ecx, eax
je 0x4f9852
cmp dword [eax + 0x14], 8
mov ecx, dword [eax + 0x10]
jb 0x4f9848
mov eax, dword [eax]
push ecx
push eax
lea ecx, [ebp - 0x5c]
call fcn.004082a0
cmp dword [ebp - 0x4c], 0
jne 0x4f9910
mov eax, dword [edi + 0x84]
mov dword [ebp - 0xf4], eax
test eax, eax
je 0x4f9910
mov eax, dword [eax]
lea ecx, [ebp - 0x2c]
push 0xb
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x1c], 0
mov esi, dword [eax]
xor eax, eax
mov dword [ebp - 0x18], 0
push 0x598e64
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 7
mov word [ebp - 0x2c], ax
call fcn.004082a0
mov byte [ebp - 4], 4
lea eax, [ebp - 0x2c]
mov ecx, dword [ebp - 0xf4]
push eax
lea eax, [ebp - 0x44]
push eax
call esi
mov esi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x5c]
cmp eax, esi
je 0x4f98f8
mov ecx, eax
call fcn.00408570
movups xmm0, xmmword [esi]
xor eax, eax
movups xmmword [ebp - 0x5c], xmm0
movq xmm0, qword [esi + 0x10]
movq qword [ebp - 0x4c], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x44]
call fcn.00408570
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
call fcn.00408570
cmp dword [edi + 0x60], 0
je 0x4f99a2
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 0x4f9950
mov eax, dword [ecx]
mov dword [ebp - 0xf4], eax
xor ecx, ecx
mov edx, 0x811c9dc5
add esi, esi
je 0x4f9978
mov edi, dword [ebp - 0xf4]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x4f9961
mov edi, dword [ebp - 0xf8]
push edx
push dword [ebp - 0xfc]
lea eax, [ebp - 0x100]
push eax
lea ecx, [edi + 0x64]
call fcn.0040b800
mov eax, dword [eax + 4]
test eax, eax
jne 0x4f9998
mov eax, dword [edi + 0x68]
cmp eax, dword [edi + 0x68]
je 0x4f99a2
mov esi, dword [eax + 0x20]
jmp 0x4f99a4
xor esi, esi
sub esp, 0x18
lea eax, [ebp - 0x5c]
mov ecx, esp
mov dword [ebp - 0xfc], esp
push eax
call fcn.00407250
mov byte [ebp - 4], 6
sub esp, 0x18
lea eax, [ebp - 0x74]
mov dword [ebp - 0xf8], esp
mov ecx, esp
push eax
call fcn.00407250
mov byte [ebp - 4], 7
push 0x13a2
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xf0]
call fcn.004e7d90
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 0x4f9a69
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.0043b800
add esp, 8
mov dword [edi + 8], eax
mov ecx, dword [edi + 0x24]
mov eax, dword [edi + 0x84]
mov dword [ebp - 0xa4], 0x59583c
mov dword [ebp - 0xa4], 0x5a73c4
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 - 0x8c], 0
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 - 0x44]
push 1
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
push 0x599978
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
call fcn.004082a0
mov byte [ebp - 4], 0xc
xor eax, eax
push 8
mov dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x1c], 0
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.004082a0
mov byte [ebp - 4], 0xd
lea eax, [ebp - 0x44]
push 1
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0xa4]
call fcn.004ea9e0
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x2c]
call fcn.00408570
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x44]
call fcn.00408570
mov esi, dword [edi + 8]
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x8c]
call fcn.00408570
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x98]
call fcn.0041e190
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xd4]
call fcn.00408570
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xec]
call fcn.00408570
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.00408570
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x74]
call fcn.00408570
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.0052df57
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8