Function at 0x4d53c4
Capabilities:
Create new key via cryptacquirecontext
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
sub esp, 0x54
lea ebp, [esp - 4]
mov eax, dword [0x571268]
xor eax, ebp
mov dword [ebp + 0x54], eax
push 0x3c
mov eax, 0x50ae18
call fcn.004ec6fd
mov eax, dword [ebp + 0x60]
mov dword [ebp - 0x10], eax
mov dword [ebp], ecx
xor edx, edx
mov dword [ebp - 4], edx
mov dword [ebp + 0x14], edx
mov dword [ebp + 0xc], edx
mov dword [ebp + 0x10], edx
lea ecx, [eax + 1]
mov bl, byte [eax]
inc eax
cmp bl, dl
jne 0x4d53fc
sub eax, ecx
push 0x5477c4
lea esi, [ebp - 0x48]
mov dword [ebp + 4], eax
mov dword [ebp + 8], edx
call fcn.004076aa
push 0x5477bc
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.004076aa
lea eax, [ebp + 0x64]
push eax
lea ebx, [ebp - 0x48]
mov edi, esi
mov byte [ebp - 4], 2
call fcn.0041a27e
pop ecx
xor ebx, ebx
push ebx
push 1
call fcn.0040754f
push ebx
push 1
lea esi, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.0040754f
push 0x5477d0
lea esi, [ebp - 0x2c]
call fcn.004076aa
push 0x5477c8
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.004076aa
lea eax, [ebp + 0x64]
push eax
lea ebx, [ebp - 0x2c]
mov edi, esi
mov byte [ebp - 4], 4
call fcn.0041a27e
pop ecx
xor ebx, ebx
push ebx
push 1
call fcn.0040754f
push ebx
push 1
lea esi, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.0040754f
push 0x5477dc
lea esi, [ebp - 0x2c]
call fcn.004076aa
push 0x5477d4
lea esi, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.004076aa
lea eax, [ebp + 0x64]
push eax
lea ebx, [ebp - 0x2c]
mov edi, esi
mov byte [ebp - 4], 6
call fcn.0041a27e
pop ecx
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
call fcn.0040754f
push ebx
push edi
lea esi, [ebp - 0x2c]
call fcn.0040754f
mov dword [ebp + 0x34], 0xf
push ebx
lea ecx, [ebp + 0x1c]
call fcn.004065dd
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 7
call fcn.0047c84c
pop ecx
test al, al
jne 0x4d5546
mov dword [ebp + 0x18], 3
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.004065f9
push ebx
push edi
lea esi, [ebp + 0x64]
call fcn.0040754f
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x54]
xor ecx, ebp
call fcn.004e6e1c
add ebp, 0x58
leave
ret 0x20
lea edx, [ebp + 0x1c]
lea ecx, [ebp + 0x38]
call fcn.004d566e
push 0xf0000000
push edi
mov byte [ebp - 4], 8
mov eax, dword [ebp + 0x4c]
push ebx
mov dword [ebp + 8], eax
push ebx
lea eax, [ebp + 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cmp eax, edi
jne 0x4d560b
lea eax, [ebp + 0x10]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0x18], eax
call esi
cmp dword [ebp + 0x18], ebx
je 0x4d560b
push edi
push dword [ebp + 4]
push dword [ebp - 0x10]
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov dword [ebp + 0x18], eax
call esi
cmp dword [ebp + 0x18], ebx
je 0x4d560b
lea eax, [ebp + 0xc]
push eax
push 4
push dword [ebp + 0x10]
push 0x6801
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
mov dword [ebp + 0x18], eax
call esi
cmp dword [ebp + 0x18], ebx
je 0x4d560b
cmp dword [ebp + 0x50], 0x10
mov eax, dword [ebp + 0x3c]
jae 0x4d55e0
lea eax, [ebp + 0x3c]
lea ecx, [ebp + 8]
push ecx
push eax
push 0x40
push edi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov eax, dword [ebp + 8]
cmp eax, edi
jb 0x4d5609
lea edi, [eax - 1]
lea eax, [ebp + 0x38]
call fcn.004d302a
xor edi, edi
mov byte [eax], bl
inc edi
call esi
cmp dword [ebp + 0x10], ebx
je 0x4d561c
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp + 0x10], ebx
cmp dword [ebp + 0xc], ebx
je 0x4d562d
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp + 0xc], ebx
cmp dword [ebp + 0x14], ebx
je 0x4d563c
push ebx
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp]
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x14], ebx
call fcn.0047cc7e
pop ecx
push ebx
lea ecx, [ebp + 0x38]
push edi
test al, al
je 0x4d5661
call fcn.004065f9
mov dword [ebp + 0x18], ebx
jmp 0x4d5510
call fcn.004065f9
mov dword [ebp + 0x18], edi
jmp 0x4d5510