Function at 0x4b78a0
Capabilities:
Encrypt data using rc4 via winapi
Encrypt or decrypt via wincrypt
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0xffffffffffffffff
push 0x5891e0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5cca0c]
xor eax, esp
mov dword [esp + 0x84], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5cca0c]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov ebx, dword [esp + 0xac]
mov edi, dword [esp + 0xb4]
xor ebp, ebp
cmp dword [esp + 0xb0], ebp
mov esi, ecx
jle 0x4b7b2b
call fcn.004b72c0
test eax, eax
je 0x4b7b2b
lea eax, [esi + 4]
push eax
mov dword [esp + 0x24], ebp
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp edi, ebp
je 0x4b7a1b
mov ecx, dword [esi]
lea eax, [esp + 0x18]
push eax
push ebp
push ebp
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4b7963
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], str.CryptCreateHash_error
call fcn.0055258b
push 0x5b87a8
lea eax, [esp + 0x2c]
push eax
call fcn.005523f9
mov ecx, dword [esp + 0xb8]
mov edx, dword [esp + 0x18]
push ebp
push ecx
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4b79a1
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], str.CryptHashData_error
call fcn.0055258b
push 0x5b87a8
lea ecx, [esp + 0x2c]
push ecx
call fcn.005523f9
mov eax, dword [esp + 0x18]
mov ecx, dword [esi]
lea edx, [esp + 0x20]
push edx
push ebp
push eax
push 0x6801
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x4b79e3
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], str.CryptDeriveKey_error
call fcn.0055258b
push 0x5b87a8
lea eax, [esp + 0x2c]
push eax
call fcn.005523f9
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x4b7a17
lea edx, [esp + 0x14]
push edx
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], str.CryptDestroyHash_error
call fcn.0055258b
push 0x5b87a8
lea eax, [esp + 0x2c]
push eax
call fcn.005523f9
mov dword [esp + 0x18], ebp
xor edi, edi
lea ecx, [ecx]
mov eax, dword [esp + 0xb0]
sub eax, edi
cmp eax, 0x3e8
jbe 0x4b7a42
add edi, 0x3e8
mov dword [esp + 0x1c], 0x3e8
xor esi, esi
jmp 0x4b7a4d
mov dword [esp + 0x1c], eax
add edi, eax
mov esi, 1
mov edx, dword [esp + 0x20]
lea ecx, [esp + 0x1c]
push ecx
push ebx
push ebp
push esi
push ebp
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x4b7a73
cmp esi, ebp
jne 0x4b7b20
add ebx, dword [esp + 0x1c]
jmp 0x4b7a20
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
xor eax, eax
push str.Error_Code:
lea ecx, [esp + 0x44]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0x94], eax
mov dword [esp + 0x98], eax
call fcn.0040dcb0
mov edi, eax
push 0xa
lea eax, [esp + 0x7c]
push eax
push esi
mov dword [esp + 0xb0], ebp
call fcn.0057d789
push eax
lea ecx, [esp + 0x6c]
push edi
push ecx
call fcn.0040cf70
add esp, 0x18
cmp dword [eax + 0x18], 0x10
mov byte [esp + 0xa4], 1
jb 0x4b7afc
mov edx, dword [eax + 4]
mov dword [esp + 0x24], edx
jmp 0x4b7b03
add eax, 4
mov dword [esp + 0x24], eax
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x38]
call fcn.0055258b
push 0x5b87a8
lea ecx, [esp + 0x38]
push ecx
call fcn.005523f9
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.00552d63
add esp, 0x94
ret 0x10