Function at 0x41c82a
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 [0x50e7dc]
xor eax, ebp
mov dword [ebp + 0x54], eax
push 0x3c
mov eax, 0x4bf7f5
call fcn.0049f542
mov eax, dword [ebp + 0x60]
mov dword [ebp - 0x10], eax
mov dword [ebp], ecx
xor ecx, ecx
mov dword [ebp - 4], ecx
mov dword [ebp + 0x18], ecx
mov dword [ebp + 0x10], ecx
mov dword [ebp + 0x14], ecx
lea esi, [eax + 1]
mov dl, byte [eax]
inc eax
cmp dl, cl
jne 0x41c862
sub eax, esi
mov dword [ebp + 8], ecx
push 0x4e4c3c
lea ecx, [ebp - 0x48]
mov dword [ebp + 4], eax
call fcn.00404bd0
push 0x4e4c34
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.00404bd0
lea eax, [ebp - 0x48]
push eax
lea ebx, [ebp - 0x2c]
lea eax, [ebp + 0x64]
mov byte [ebp - 4], 2
call fcn.004024a2
pop ecx
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.004058b3
push ebx
push 1
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], bl
call fcn.004058b3
push 0x4e4c48
lea ecx, [ebp - 0x2c]
call fcn.00404bd0
push 0x4e4c40
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00404bd0
lea eax, [ebp - 0x2c]
push eax
lea ebx, [ebp - 0x48]
lea eax, [ebp + 0x64]
mov byte [ebp - 4], 4
call fcn.004024a2
pop ecx
xor ebx, ebx
push ebx
push 1
lea ecx, [ebp - 0x48]
call fcn.004058b3
push ebx
push 1
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call fcn.004058b3
push 0x4e4c54
lea ecx, [ebp - 0x2c]
call fcn.00404bd0
push 0x4e4c4c
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 5
call fcn.00404bd0
lea eax, [ebp - 0x2c]
push eax
lea ebx, [ebp - 0x48]
lea eax, [ebp + 0x64]
mov byte [ebp - 4], 6
call fcn.004024a2
pop ecx
xor ebx, ebx
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x48]
call fcn.004058b3
push ebx
push edi
lea ecx, [ebp - 0x2c]
call fcn.004058b3
push ebx
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x34], 0xf
call fcn.00405a99
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp + 0x64]
mov byte [ebp - 4], 7
call fcn.0047741d
pop ecx
test al, al
jne 0x41c9b3
push 3
pop esi
push ebx
push edi
lea ecx, [ebp + 0x1c]
call fcn.00404ec6
push ebx
push edi
lea ecx, [ebp + 0x64]
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
lea eax, [ebp + 0x1c]
push eax
lea ecx, [ebp + 0x38]
call fcn.0041cc39
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 + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
cmp eax, edi
jne 0x41ca79
lea eax, [ebp + 0x14]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp + 0xc], eax
call esi
cmp dword [ebp + 0xc], ebx
je 0x41ca79
push edi
push dword [ebp + 4]
push dword [ebp - 0x10]
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov dword [ebp + 0xc], eax
call esi
cmp dword [ebp + 0xc], ebx
je 0x41ca79
lea eax, [ebp + 0x10]
push eax
push 4
push dword [ebp + 0x14]
push 0x6801
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
mov dword [ebp + 0xc], eax
call esi
cmp dword [ebp + 0xc], ebx
je 0x41ca79
cmp dword [ebp + 0x50], 0x10
mov eax, dword [ebp + 0x3c]
jae 0x41ca4e
lea eax, [ebp + 0x3c]
lea ecx, [ebp + 8]
push ecx
push eax
push 0x40
push edi
push ebx
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDecrypt]
mov eax, dword [ebp + 8]
cmp eax, edi
jb 0x41ca77
lea edi, [eax - 1]
lea eax, [ebp + 0x38]
call fcn.0041ce0e
xor edi, edi
mov byte [eax], bl
inc edi
call esi
cmp dword [ebp + 0x14], ebx
je 0x41ca8a
push dword [ebp + 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp + 0x14], ebx
cmp dword [ebp + 0x10], ebx
je 0x41ca9b
push dword [ebp + 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov dword [ebp + 0x10], ebx
cmp dword [ebp + 0x18], ebx
je 0x41caaa
push ebx
push dword [ebp + 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push dword [ebp]
lea ecx, [ebp + 0x38]
mov dword [ebp + 0x18], ebx
call fcn.00477512
pop ecx
push ebx
lea ecx, [ebp + 0x38]
push edi
test al, al
je 0x41cace
call fcn.00404ec6
xor esi, esi
jmp 0x41c97e
call fcn.00404ec6
mov esi, edi
jmp 0x41c97e