Function at 0x416d20
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 ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7499f0
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x8606e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x6c], eax
test edi, edi
jle 0x416eac
call fcn.00416c60
test eax, eax
je 0x416eac
push 0x8903c0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x64], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x8003
push dword [0x8903bc]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x416dd9
lea eax, [ebp - 0x78]
mov dword [ebp - 0x7c], vtable.std::exception.0
push eax
lea eax, [ebp - 0x70]
mov dword [ebp - 0x70], str.CryptCreateHash_error
xorps xmm0, xmm0
mov byte [ebp - 0x6c], 1
push eax
movq qword [ebp - 0x78], xmm0
call fcn.0062f01e
add esp, 8
lea eax, [ebp - 0x7c]
push 0x85c3e8
push eax
call fcn.00631b2b
push 0
push dword [ebp + 0x14]
push str.bNmLkJhGfD
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x416e0b
push str.CryptHashData_error
lea ecx, [ebp - 0x7c]
call fcn.00402640
push 0x85c3e8
lea eax, [ebp - 0x7c]
push eax
call fcn.00631b2b
lea eax, [ebp - 0x80]
push eax
push 0
push dword [ebp - 0x64]
push 0x6801
push dword [0x8903bc]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x416e30
push str.CryptDeriveKey_error
jmp 0x416df5
push dword [ebp - 0x64]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
test eax, eax
jne 0x416e44
push str.CryptDestroyHash_error
jmp 0x416df5
mov dword [ebp - 0x64], 0
xor esi, esi
nop dword [eax]
mov eax, edi
sub eax, esi
cmp eax, 0x3e8
jbe 0x416e6c
add esi, 0x3e8
mov dword [ebp - 0x68], 0x3e8
xor edi, edi
jmp 0x416e76
mov dword [ebp - 0x68], eax
add esi, eax
mov edi, 1
lea eax, [ebp - 0x68]
push eax
push dword [ebp - 0x6c]
push 0
push edi
push 0
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
test eax, eax
je 0x416ec9
test edi, edi
jne 0x416ea1
mov edi, dword [ebp - 0x6c]
add edi, dword [ebp - 0x68]
mov dword [ebp - 0x6c], edi
mov edi, dword [ebp + 0xc]
jmp 0x416e50
push 0x8903c0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ccd8f
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
xorps xmm0, xmm0
lea ecx, [ebp - 0x48]
push str.Error_Code:
mov edi, eax
movups xmmword [ebp - 0x30], xmm0
movups xmmword [ebp - 0x20], xmm0
call fcn.00406f90
mov esi, eax
push 0xa
lea eax, [ebp - 0x30]
mov dword [ebp - 4], 0
push eax
push edi
call fcn.0064c2db
push eax
mov edx, esi
lea ecx, [ebp - 0x60]
call fcn.00413790
add esp, 0x10
mov byte [ebp - 4], 1
cmp dword [eax + 0x14], 0x10
jb 0x416f18
mov eax, dword [eax]
mov dword [ebp - 0x88], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x90]
mov dword [ebp - 0x94], vtable.std::exception.0
push eax
lea eax, [ebp - 0x88]
movq qword [ebp - 0x90], xmm0
push eax
mov byte [ebp - 0x84], 1
call fcn.0062f01e
add esp, 8
lea eax, [ebp - 0x94]
push 0x85c3e8
jmp 0x416e05