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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b5660
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x759990]
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 0x5b191e
jmp 0x5b17e0
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 0x5b182f
mov ecx, dword [ebx + 0x141c]
mov eax, dword [ebx + 0x142c]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x5b1820
add eax, 0xffffffe4
lea esi, [ebp - 0x58]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x44]
jmp 0x5b1839
mov eax, dword [ebp - 0x44]
lea esi, [ebp - 0x58]
mov dword [ebp - 0x58], 0
jmp 0x5b1839
mov dword [ebp - 0x64], 0
lea esi, [ebp - 0x64]
mov esi, dword [esi]
test esi, esi
je 0x5b1910
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.00460580
lea eax, [ebp - 0x40]
mov dword [ebp - 4], 0
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00561400
add esp, 8
cmp dword [ebp - 0x2c], 0x10
mov byte [ebp - 4], 2
jb 0x5b188e
push dword [ebp - 0x40]
call fcn.00460bc0
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 0x5b18d4
movzx ecx, byte [edx]
lea edx, [edx + 1]
imul eax, eax, 0x1000193
inc edi
xor eax, ecx
cmp edi, ebx
jb 0x5b18c1
cmp dword [ebp - 0x5c], eax
je 0x5b193c
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x5b18f1
push dword [ebp - 0x28]
call fcn.00460bc0
add esp, 4
mov esi, dword [esi + 0x1c]
test esi, esi
je 0x5b18fd
add esi, 0xffffffe4
jmp 0x5b18ff
xor esi, esi
test esi, esi
jne 0x5b1843
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 0x5b17e0
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.00622d3e
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x18]
call fcn.005b4680
mov ecx, dword [ebp - 0x44]
add ecx, dword [ebp - 0x48]
push ecx
mov ecx, eax
call fcn.005b8ed0
mov esi, dword [ebp - 0x50]
cmp esi, eax
je 0x5b1974
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.0057e760
add esp, 0x10
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 4], 0xffffffff
jb 0x5b198c
push dword [ebp - 0x28]
call fcn.00460bc0
add esp, 4
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x4c]
jmp 0x5b1913