Function at 0x481dc0
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
mov ebp, esp
push 0xffffffffffffffff
push 0x4de7a5
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x30], edi
mov ebx, ecx
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x40], 0
mov dword [ebp - 4], 0
xor esi, esi
nop dword [eax]
lea eax, [esi + 0x4ed608]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040d580
inc esi
cmp esi, 0x1c
jb 0x481e10
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov byte [ebp - 4], 1
xor esi, esi
mov ecx, dword [ebx]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x481e8a
nop dword [eax]
test esi, esi
js 0x4821ca
cmp esi, eax
jg 0x4821ca
mov ax, word [ecx + esi*2]
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
push eax
call fcn.0040d580
lea eax, [ebp - 0xf]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040d580
mov ecx, dword [ebx]
inc esi
mov eax, dword [ecx - 0xc]
cmp esi, eax
jl 0x481e50
call fcn.004046f0
mov ebx, eax
test ebx, ebx
je 0x4821c0
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
push str.AdvancedUpdater
call fcn.00403700
test al, al
jne 0x481ed4
push 0xf
push str.AdvancedUpdater
lea ecx, [ebp - 0x18]
call fcn.00403890
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x18]
test eax, eax
je 0x48212a
cmp eax, 0xc800
jg 0x48212a
push 0
push 1
push 0
push esi
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x481f27
push 8
push 1
push eax
push esi
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x481f27
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x48212f
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x481f62
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x48212f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x48212f
mov eax, dword [ebp - 0x44]
test eax, eax
jle 0x4821d4
push 0
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x481faf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x481f96
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x48212f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x48212f
lea eax, [ebp - 0x20]
push eax
push 0
push dword [ebp - 0x14]
push 0x6801
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_CryptDeriveKey]
test eax, eax
jne 0x481ff9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x481fe0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x48212f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x48212f
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x482007
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0xc800
call fcn.004a2097
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 4
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x38]
lea edx, [ebp - 0x2c]
cmp ecx, 0xc800
mov dword [ebp - 0x28], 0xc800
mov dword [ebp - 0x2c], ecx
cmovle eax, edx
test ecx, ecx
jle 0x4821d4
push dword [eax]
push dword [ebp - 0x3c]
push ebx
call fcn.004a3750
mov eax, dword [ebp - 0x38]
add esp, 0xc
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push 0xc800
push eax
push ebx
push 0
push 1
push 0
push dword [ebp - 0x20]
call dword [sym.imp.ADVAPI32.dll_CryptEncrypt]
test eax, eax
jne 0x4820b3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x482088
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x482098
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov byte [ebp - 4], 3
push dword [ebp - 0x24]
call fcn.004a2092
add esp, 4
mov dword [ebp - 0x24], 0
jmp 0x48212f
mov eax, dword [edi]
test eax, eax
je 0x4820c8
push eax
call fcn.004abb61
add esp, 4
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
xor edi, edi
cmp dword [ebp - 0x1c], edi
jbe 0x4820f4
mov esi, dword [ebp - 0x30]
lea eax, [edi + ebx]
mov ecx, esi
push eax
call fcn.0040d580
inc edi
cmp edi, dword [ebp - 0x1c]
jb 0x4820e0
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x482102
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x482112
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov byte [ebp - 4], 3
push ebx
call fcn.004a2092
add esp, 4
mov dword [ebp - 0x24], 0
xor ebx, ebx
jmp 0x48212f
mov ebx, 0xd
mov byte [ebp - 4], 1
lea ecx, [esi - 0x10]
or eax, 0xffffffff
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x482157
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x482172
push eax
call fcn.004abb61
add esp, 4
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x48]
test eax, eax
je 0x48219e
push eax
call fcn.004abb61
add esp, 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov eax, ebx
mov dword [ebp - 0x40], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.00402720
push 0x80070057
call fcn.00402720
push 0x8000000b
call fcn.00402720
int3