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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5d1b88
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x6403f4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x34], esi
call fcn.0048f740
mov eax, dword [esi + 0x558]
add esi, 0x558
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x38], ebx
call dword [eax + 0xc]
test eax, eax
jle 0x4e7bb7
mov eax, dword [esi]
mov ecx, esi
push ebx
call dword [eax]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x100]
mov ecx, eax
call fcn.0048aa10
mov ebx, eax
mov dword [ebp - 0x18], 0
mov edi, ebx
mov dword [ebp - 0x14], 7
xor eax, eax
mov word [ebp - 0x28], ax
lea ecx, [edi + 2]
mov ax, word [edi]
add edi, 2
test ax, ax
jne 0x4e79c6
sub edi, ecx
sar edi, 1
cmp edi, 7
ja 0x4e7a06
lea esi, [edi + edi]
mov dword [ebp - 0x18], edi
push esi
lea eax, [ebp - 0x28]
push ebx
push eax
call fcn.00516ac0
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x28], ax
mov eax, dword [ebp - 0x14]
mov ebx, dword [ebp - 0x28]
mov edi, dword [ebp - 0x18]
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ebx
jmp 0x4e7a65
cmp edi, 0x7ffffffe
ja 0x4e7bd3
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x4e7a26
mov esi, SysReAllocString
jmp 0x4e7a31
cmp esi, 0xa
mov eax, 0xa
cmovb esi, eax
lea eax, [esi + 1]
mov dword [ebp - 0x2c], esi
push eax
lea ecx, [ebp - 0x28]
call fcn.00412090
mov dword [ebp - 0x14], esi
lea esi, [edi + edi]
push esi
push ebx
mov ebx, eax
mov dword [ebp - 0x30], eax
push ebx
mov dword [ebp - 0x18], edi
call fcn.00516540
add esp, 0xc
mov dword [ebp - 0x28], ebx
xor eax, eax
mov word [ebx + esi], ax
mov eax, dword [ebp - 0x2c]
cmp eax, 8
mov dword [ebp - 4], 0
lea esi, [ebp - 0x28]
mov edx, 0x811c9dc5
cmovae esi, ebx
lea ebx, [edi + edi]
xor ecx, ecx
test ebx, ebx
je 0x4e7a94
movzx eax, byte [ecx + esi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, ebx
jb 0x4e7a83
mov ecx, dword [ebp - 0x34]
mov eax, dword [ecx + 0xaa4]
and eax, edx
mov edx, dword [ecx + 0xa98]
mov ecx, dword [ecx + 0xa90]
mov dword [ebp - 0x40], edx
mov dword [ebp - 0x3c], ecx
mov esi, dword [edx + eax*8]
add eax, eax
lea ebx, [eax*4 + 4]
mov eax, dword [edx + eax*4]
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], eax
cmp eax, ecx
jne 0x4e7ace
mov eax, ecx
jmp 0x4e7ad3
mov eax, dword [ebx + edx]
mov eax, dword [eax]
cmp esi, eax
je 0x4e7b43
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x28]
lea ebx, [esi + 8]
cmovae eax, dword [ebp - 0x30]
cmp dword [esi + 0x1c], 8
jb 0x4e7aee
mov ebx, dword [esi + 8]
mov edx, dword [esi + 0x18]
cmp edx, edi
jne 0x4e7b36
test edx, edx
je 0x4e7b11
sub ebx, eax
nop dword [eax + eax]
mov cx, word [ebx + eax]
cmp cx, word [eax]
jne 0x4e7b33
add eax, 2
sub edx, 1
jne 0x4e7b00
mov edi, dword [ebp - 0x34]
lea eax, [esi + 8]
push eax
lea eax, [ebp - 0x28]
push eax
lea ecx, [edi + 0xa8c]
call fcn.004e6340
test al, al
je 0x4e7b45
mov esi, dword [edi + 0xa90]
jmp 0x4e7b45
mov ecx, dword [ebp - 0x3c]
mov esi, dword [esi]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x44]
mov ebx, dword [ebp - 0x48]
jmp 0x4e7ac6
mov esi, ecx
mov edi, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x38]
cmp esi, dword [edi + 0xa90]
je 0x4e7b5d
push 0
push ebx
mov ecx, edi
call fcn.004e7330
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 4], 0xffffffff
cmp eax, 8
jb 0x4e7b9a
mov edx, dword [ebp - 0x30]
lea ecx, [eax*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4e7b90
mov edx, dword [edx - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4e7bd8
push ecx
push edx
call fcn.004742b9
add esp, 8
mov eax, dword [edi + 0x558]
lea esi, [edi + 0x558]
inc ebx
mov ecx, esi
mov dword [ebp - 0x38], ebx
call dword [eax + 0xc]
cmp ebx, eax
jl 0x4e7993
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004742a8
mov esp, ebp
pop ebp
ret
call fcn.00412080
call fcn.00531b5d
int3