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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x65a320
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x6f77c8]
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 ebx, ecx
mov dword [ebp - 0x4c], ebx
mov edx, dword [ebp + 8]
mov eax, 4
mov dword [ebp - 0x48], edx
mov ecx, dword [edx]
mov dword [ebp - 0x54], ecx
test ecx, ecx
jle 0x5a788e
jmp 0x5a7750
mov ecx, dword [edx + eax]
sub ecx, 4
mov dword [ebp - 0x50], ecx
mov ecx, dword [edx + eax + 4]
add eax, 8
cmp dword [ebx + 0x1420], 0
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x44], eax
je 0x5a779f
mov ecx, dword [ebx + 0x141c]
mov eax, dword [ebx + 0x142c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x5a7790
add eax, 0xffffffe4
lea esi, [ebp - 0x58]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x44]
jmp 0x5a77a9
mov eax, dword [ebp - 0x44]
lea esi, [ebp - 0x58]
mov dword [ebp - 0x58], 0
jmp 0x5a77a9
mov dword [ebp - 0x64], 0
lea esi, [ebp - 0x64]
mov esi, dword [esi]
test esi, esi
je 0x5a7880
push 0xffffffffffffffff
push 0
push esi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
call fcn.0045ee10
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.005576b0
add esp, 8
cmp dword [ebp - 0x2c], 0x10
mov byte [ebp - 4], 2
jb 0x5a77fe
push dword [ebp - 0x40]
call fcn.0045f3d0
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea edx, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmovae edx, dword [ebp - 0x28]
xor eax, eax
add ecx, edx
mov dword [ebp - 0x2c], 0xf
mov ebx, ecx
mov dword [ebp - 0x30], 0
sub ebx, edx
mov byte [ebp - 0x40], 0
xor edi, edi
cmp edx, ecx
cmova ebx, eax
test ebx, ebx
je 0x5a7844
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc edi
xor eax, ecx
cmp edi, ebx
jb 0x5a7831
cmp dword [ebp - 0x5c], eax
je 0x5a78ac
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x5a7861
push dword [ebp - 0x28]
call fcn.0045f3d0
add esp, 4
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x5a786d
add esi, 0xffffffe4
jmp 0x5a786f
xor esi, esi
test esi, esi
jne 0x5a77b3
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
mov esi, dword [ebp - 0x50]
add eax, esi
dec dword [ebp - 0x54]
jne 0x5a7750
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.0061693e
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x18]
call fcn.005aa5b0
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.005aecb0
mov esi, dword [ebp - 0x50]
cmp esi, eax
je 0x5a78e4
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x28]
push eax
cmovae ecx, dword [ebp - 0x28]
push esi
push ecx
push str.CEterPackManager::RetrieveHybridCryptPackKeys_tcryptokey_length_of_file__s__is_not_matched._received__d____haved__d_
call fcn.00574320
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x5a78fc
push dword [ebp - 0x28]
call fcn.0045f3d0
add esp, 4
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
jmp 0x5a7883