Function at 0x41c51d
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
sub esp, 0x54
lea ebp, [esp - 4]
mov eax, dword [0x50e7dc]
xor eax, ebp
mov dword [ebp + 0x54], eax
push 0x48
mov eax, 0x4bf86a
call fcn.0049f542
mov eax, dword [ebp + 0x7c]
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x18], eax
xor ebx, ebx
push 0xf
mov dword [ebp - 4], ebx
pop esi
push ebx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x14], ebx
mov dword [ebp + 0xc], ebx
mov dword [ebp + 0x10], ebx
mov dword [ebp + 0x34], esi
call fcn.00405a99
mov eax, dword [ebp - 0x10]
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x41c567
sub eax, edi
push ebx
lea ecx, [ebp + 0x38]
mov dword [ebp - 0x1c], eax
mov dword [ebp], ebx
mov dword [ebp - 0x14], 2
mov dword [ebp + 0x50], esi
call fcn.00405a99
lea eax, [ebp + 0x38]
push eax
lea ecx, [ebp + 0x60]
mov byte [ebp - 4], 2
call fcn.0047741d
xor edi, edi
inc edi
pop ecx
test al, al
jne 0x41c5e3
push 3
pop esi
push ebx
push edi
lea ecx, [ebp + 0x38]
call fcn.00404ec6
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.00404ec6
push ebx
push edi
lea ecx, [ebp + 0x60]
call fcn.004058b3
mov eax, esi
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.0049f533
add ebp, 0x58
leave
ret 0x20
mov esi, dword [ebp + 0x4c]
lea eax, [esi + 1]
push eax
mov dword [ebp + 4], eax
call fcn.0049e091
cmp dword [ebp + 0x50], 0x10
mov dword [ebp + 8], eax
mov eax, dword [ebp + 0x3c]
pop ecx
jae 0x41c602
lea eax, [ebp + 0x3c]
push eax
push dword [ebp + 4]
push dword [ebp + 8]
call fcn.004a24b1
add esp, 0xc
push 0xf0000000
push edi
push ebx
push ebx
lea eax, [ebp + 0x14]
push eax
mov dword [ebp], esi
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cmp eax, edi
jne 0x41c819
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 0x41c819
push edi
push dword [ebp - 0x1c]
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 0x41c7e5
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 0x41c7e5
push dword [ebp + 4]
lea eax, [ebp]
push eax
push dword [ebp + 8]
push ebx
push edi
push ebx
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
mov dword [ebp + 0x18], eax
call esi
cmp dword [ebp + 0x18], ebx
je 0x41c7e5
cmp eax, ebx
jne 0x41c7e5
push dword [ebp + 4]
lea ecx, [ebp - 0x38]
push dword [ebp + 8]
call fcn.0041cada
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 3
call fcn.00404d71
push ebx
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.00404ec6
mov esi, dword [ebp - 0x18]
push esi
lea ecx, [ebp + 0x1c]
call fcn.00477512
pop ecx
test al, al
je 0x41c7e5
push 0x4e4c34
lea ecx, [ebp - 0x38]
call fcn.00404bd0
push 0x4e4c3c
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 4
call fcn.00404bd0
lea eax, [ebp - 0x38]
push eax
lea ebx, [ebp - 0x54]
mov eax, esi
mov byte [ebp - 4], 5
call fcn.004024a2
pop ecx
push 0
push edi
mov ecx, ebx
call fcn.004058b3
push 0
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.004058b3
push 0x4e4c40
lea ecx, [ebp - 0x54]
call fcn.00404bd0
push 0x4e4c48
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 6
call fcn.00404bd0
lea eax, [ebp - 0x54]
push eax
lea ebx, [ebp - 0x38]
mov eax, esi
mov byte [ebp - 4], 7
call fcn.004024a2
pop ecx
push 0
push edi
mov ecx, ebx
call fcn.004058b3
push 0
push edi
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 2
call fcn.004058b3
push 0x4e4c4c
lea ecx, [ebp - 0x54]
call fcn.00404bd0
push 0x4e4c54
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call fcn.00404bd0
lea eax, [ebp - 0x54]
push eax
lea ebx, [ebp - 0x38]
mov eax, esi
mov byte [ebp - 4], 9
call fcn.004024a2
pop ecx
xor esi, esi
push esi
push edi
mov ecx, ebx
call fcn.004058b3
push esi
push edi
lea ecx, [ebp - 0x54]
call fcn.004058b3
mov dword [ebp - 0x14], esi
xor ebx, ebx
cmp dword [ebp + 0x10], ebx
je 0x41c7f6
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp + 0x10], ebx
cmp dword [ebp + 0xc], ebx
je 0x41c807
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp + 0xc], ebx
cmp dword [ebp + 0x14], ebx
je 0x41c816
push ebx
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [ebp + 0x14], ebx
push dword [ebp + 8]
call fcn.0049eec0
mov esi, dword [ebp - 0x14]
pop ecx
jmp 0x41c5a4