Function at 0x4810d0
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 0x4dd405
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push esi
push edi
mov eax, dword [0x514080]
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 + 0x4ec5f8]
push eax
lea ecx, [ebp - 0x48]
call fcn.0040d360
inc esi
cmp esi, 0x1c
jb 0x481120
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 0x48119a
nop dword [eax]
test esi, esi
js 0x4814da
cmp esi, eax
jg 0x4814da
mov ax, word [ecx + esi*2]
lea ecx, [ebp - 0x3c]
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
push eax
call fcn.0040d360
lea eax, [ebp - 0xf]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0040d360
mov ecx, dword [ebx]
inc esi
mov eax, dword [ecx - 0xc]
cmp esi, eax
jl 0x481160
call fcn.00404710
mov ebx, eax
test ebx, ebx
je 0x4814d0
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x4e1514]
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.00403720
test al, al
jne 0x4811e4
push 0xf
push str.AdvancedUpdater
lea ecx, [ebp - 0x18]
call fcn.004038b0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x38]
mov esi, dword [ebp - 0x18]
test eax, eax
je 0x48143a
cmp eax, 0xc800
jg 0x48143a
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 0x481237
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 0x481237
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x48143f
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 0x481272
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x48143f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x48143f
mov eax, dword [ebp - 0x44]
test eax, eax
jle 0x4814e4
push 0
push eax
push dword [ebp - 0x48]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4812bf
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4812a6
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x48143f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x48143f
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 0x481309
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x4812f0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x48143f
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x48143f
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x481317
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0xc800
call fcn.004a0fd7
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 0x4814e4
push dword [eax]
push dword [ebp - 0x3c]
push ebx
call fcn.004a2690
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 0x4813c3
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x481398
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4813a8
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov byte [ebp - 4], 3
push dword [ebp - 0x24]
call fcn.004a0fd2
add esp, 4
mov dword [ebp - 0x24], 0
jmp 0x48143f
mov eax, dword [edi]
test eax, eax
je 0x4813d8
push eax
call fcn.004aaaa1
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 0x481404
mov esi, dword [ebp - 0x30]
lea eax, [edi + ebx]
mov ecx, esi
push eax
call fcn.0040d360
inc edi
cmp edi, dword [ebp - 0x1c]
jb 0x4813f0
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x481412
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x481422
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov byte [ebp - 4], 3
push ebx
call fcn.004a0fd2
add esp, 4
mov dword [ebp - 0x24], 0
xor ebx, ebx
jmp 0x48143f
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 0x481467
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e1514]
mov ecx, edi
call esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x481482
push eax
call fcn.004aaaa1
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 0x4814ae
push eax
call fcn.004aaaa1
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.00402740
push 0x80070057
call fcn.00402740
push 0x8000000b
call fcn.00402740
int3