Function at 0x485ae0
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 0x514275
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push esi
push edi
mov eax, dword [0x569080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, edx
mov dword [ebp - 0x28], edi
mov ebx, ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 4], 0
xor esi, esi
nop dword [eax]
lea eax, [esi + 0x53032c]
push eax
lea ecx, [ebp - 0x40]
call fcn.0040d700
inc esi
cmp esi, 0x1c
jb 0x485b30
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov byte [ebp - 4], 1
xor esi, esi
mov ecx, dword [ebx]
mov eax, dword [ecx - 0xc]
test eax, eax
jle 0x485baa
nop dword [eax]
test esi, esi
js 0x485edd
cmp esi, eax
jg 0x485edd
mov ax, word [ecx + esi*2]
lea ecx, [ebp - 0x34]
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x10]
push eax
call fcn.0040d700
lea eax, [ebp - 0xf]
push eax
lea ecx, [ebp - 0x34]
call fcn.0040d700
mov ecx, dword [ebx]
inc esi
mov eax, dword [ecx - 0xc]
cmp esi, eax
jl 0x485b70
call fcn.004047f0
mov ebx, eax
test ebx, ebx
je 0x485ed3
mov eax, dword [ebx]
mov esi, dword [eax + 0xc]
mov ecx, esi
call dword [0x525578]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 2
mov eax, str.AdvancedUpdater
lea ecx, [ebp - 0x18]
test eax, 0xffff0000
jne 0x485bee
movzx eax, ax
push eax
call fcn.004043d0
jmp 0x485bfa
push 0xf
push str.AdvancedUpdater
call fcn.00403870
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0x30]
mov esi, dword [ebp - 0x18]
test eax, eax
je 0x485e3d
cmp eax, 0xc800
jg 0x485e3d
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 0x485c4d
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 0x485c4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x485e42
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 0x485c88
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x485e42
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x485e42
mov eax, dword [ebp - 0x3c]
test eax, eax
jle 0x485ee7
push 0
push eax
push dword [ebp - 0x40]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x485cd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x485cbc
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x485e42
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x485e42
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 0x485d1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x485d06
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x485e42
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
jmp 0x485e42
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x485d2d
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0xc800
call fcn.004d4097
mov ebx, eax
add esp, 4
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30]
test eax, eax
jle 0x485ee7
mov ecx, 0xc800
cmp eax, ecx
cmovg eax, ecx
push eax
push dword [ebp - 0x34]
push ebx
call fcn.004d5880
mov eax, dword [ebp - 0x30]
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 0x485dc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x485d9e
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x485dae
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov byte [ebp - 4], 3
push dword [ebp - 0x24]
call fcn.004d4092
add esp, 4
mov dword [ebp - 0x24], 0
jmp 0x485e42
mov eax, dword [edi]
test eax, eax
je 0x485ddb
push eax
call fcn.004ddca1
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 0x485e07
mov esi, dword [ebp - 0x28]
lea eax, [edi + ebx]
mov ecx, esi
push eax
call fcn.0040d700
inc edi
cmp edi, dword [ebp - 0x1c]
jb 0x485df3
mov esi, dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x485e15
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyKey]
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x485e25
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov byte [ebp - 4], 3
push ebx
call fcn.004d4092
add esp, 4
mov dword [ebp - 0x24], 0
xor ebx, ebx
jmp 0x485e42
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 0x485e6a
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x525578]
mov ecx, edi
call esi
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x34]
test eax, eax
je 0x485e85
push eax
call fcn.004ddca1
add esp, 4
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
test eax, eax
je 0x485eb1
push eax
call fcn.004ddca1
add esp, 4
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov eax, ebx
mov dword [ebp - 0x38], 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.004027d0
push 0x80070057
call fcn.004027d0
push 0x8000000b
call fcn.004027d0
int3