Function at 0x481c80
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 0x4de645
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 0x481cd0
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 0x481d4a
nop dword [eax]
test esi, esi
js 0x48208a
cmp esi, eax
jg 0x48208a
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 0x481d10
call fcn.004046f0
mov ebx, eax
test ebx, ebx
je 0x482080
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 0x481d94
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 0x481fea
cmp eax, 0xc800
jg 0x481fea
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 0x481de7
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 0x481de7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x481fef
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 0x481e22
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x481fef
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x481fef
mov eax, dword [ebp - 0x44]
test eax, eax
jle 0x482094
push 0
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x481e6f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x481e56
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x481fef
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x481fef
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 0x481eb9
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x481ea0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x481fef
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x481fef
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x481ec7
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0xc800
call fcn.004a1f67
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 0x482094
push dword [eax]
push dword [ebp - 0x3c]
push ebx
call fcn.004a3620
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 0x481f73
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x481f48
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x481f58
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov byte [ebp - 4], 3
push dword [ebp - 0x24]
call fcn.004a1f62
add esp, 4
mov dword [ebp - 0x24], 0
jmp 0x481fef
mov eax, dword [edi]
test eax, eax
je 0x481f88
push eax
call fcn.004aba31
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 0x481fb4
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 0x481fa0
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x481fc2
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x481fd2
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov byte [ebp - 4], 3
push ebx
call fcn.004a1f62
add esp, 4
mov dword [ebp - 0x24], 0
xor ebx, ebx
jmp 0x481fef
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 0x482017
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 0x482032
push eax
call fcn.004aba31
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 0x48205e
push eax
call fcn.004aba31
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