Function at 0x4c2920
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548984
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x57f0b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov dword [ebp - 0x1c], edi
push 0xf0000000
push 0x18
push 0
mov dword [ebp - 0xd8], edi
lea eax, [ebp - 0x18]
push 0
mov dword [ebp - 0xcc], 0
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
test eax, eax
jne 0x4c29a7
push 0x563af1
mov ecx, edi
call fcn.00404820
mov dword [ebp - 4], 0
mov dword [ebp - 0xcc], 1
jmp 0x4c2d21
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0
push 0
push 0x8003
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
push 0
test eax, eax
je 0x4c29e6
push dword [ebp + 8]
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4c2a11
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x563af1
mov ecx, edi
call fcn.00404820
mov dword [ebp - 4], 0
mov dword [ebp - 0xcc], 1
jmp 0x4c2d21
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
lea eax, [ebp - 0x1c]
push 0
push eax
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x2c], 0
push eax
push 4
push dword [ebp - 0x14]
mov dword [ebp - 0x1c], 4
call esi
test eax, eax
je 0x4c29db
push ecx
push dword [ebp - 0x2c]
xorps xmm0, xmm0
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x28]
movq qword [ebp - 0x28], xmm0
call fcn.004c3160
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00405d50
push 0
mov ebx, eax
lea eax, [ebp - 0x2c]
push eax
push dword [ebx]
push 2
push dword [ebp - 0x14]
call esi
test eax, eax
jne 0x4c2aa8
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x563af1
mov ecx, edi
call fcn.00404820
mov dword [ebp - 0xcc], 1
jmp 0x4c2d15
push 0x98
lea eax, [ebp - 0xc8]
push 0
push eax
call fcn.0051b820
lea eax, [ebp - 0x78]
mov dword [ebp - 0xc8], 0x5756c0
add esp, 0xc
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0x78], vtable.std::ios_base.0
mov byte [ebp - 4], 2
mov dword [ebp - 0x78], vtable.std::basic_ios_char__struct_std::char_traits_char__.0
mov byte [ebp - 4], 3
mov eax, dword [ebp - 0xc8]
push 0
mov dword [ebp - 0xcc], 2
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 8]
mov dword [ebp + ecx - 0xcc], eax
lea eax, [ebp - 0xc4]
push eax
mov eax, dword [ebp - 0xc8]
lea ecx, [ebp - 0xc8]
mov eax, dword [eax + 4]
add ecx, eax
call fcn.004bae20
mov dword [ebp - 4], 6
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
mov dword [ebp + eax - 0xc8], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov eax, dword [ebp - 0xc8]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x50]
mov dword [ebp + ecx - 0xcc], eax
lea eax, [ebp - 0xc4]
mov ecx, eax
mov dword [ebp - 0xd4], eax
call fcn.004bad90
mov byte [ebp - 4], 7
mov dword [ebp - 0xc4], vtable.std::basic_stringbuf_char__struct_std::char_traits_char___class_std::allocator_char__.0
mov dword [ebp - 0x8c], 0
mov dword [ebp - 0x88], 4
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x28]
mov esi, dword [ebx]
call fcn.004062a0
mov ebx, eax
cmp esi, dword [ebx]
je 0x4c2c13
nop
mov ecx, dword [ebp - 0xc8]
mov ecx, dword [ecx + 4]
mov byte [ebp + ecx - 0x88], 0x30
mov ecx, dword [ebp - 0xc8]
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0xb4]
mov dword [ebp + eax - 0xa8], 2
mov dword [ebp + eax - 0xa4], 0
mov eax, dword [ebp - 0xc8]
mov eax, dword [eax + 4]
add ecx, eax
mov eax, dword [ecx]
and eax, 0xfffff9ff
or eax, 0x800
mov dword [ecx], eax
lea ecx, [ebp - 0xc8]
movzx eax, byte [esi]
push eax
call fcn.004c3890
inc esi
cmp esi, dword [ebx]
jne 0x4c2bb0
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
push 0
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [ebp - 4], 0xb
push ecx
mov ecx, edi
call fcn.00408100
call fcn.00405d50
lea ecx, [ebp - 0xcd]
mov byte [ebp - 0xcd], 0
push ecx
push eax
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
call fcn.00401d10
mov ecx, dword [ebp - 0x88]
add esp, 8
mov dword [ebp - 0xcc], 0x12
test cl, 2
jne 0x4c2c9b
mov eax, dword [ebp - 0xa4]
mov edx, dword [eax]
test edx, edx
je 0x4c2c9b
mov eax, dword [ebp - 0xb4]
cmp edx, dword [ebp - 0x8c]
cmovb edx, dword [ebp - 0x8c]
mov ecx, dword [eax]
sub edx, ecx
push edx
jmp 0x4c2cc1
test cl, 4
jne 0x4c2cc9
mov eax, dword [ebp - 0xa8]
mov edx, dword [eax]
test edx, edx
je 0x4c2cc9
mov eax, dword [ebp - 0xb8]
mov ecx, dword [eax]
mov eax, dword [ebp - 0x98]
mov eax, dword [eax]
sub eax, ecx
add eax, edx
push eax
push ecx
mov ecx, edi
call fcn.00405f10
mov eax, 0x12
mov dword [ebp - 0xcc], eax
and eax, 0xffffffef
mov dword [ebp - 0xcc], eax
mov dword [ebp - 4], 0xa
or eax, 8
mov dword [ebp - 0xcc], eax
and eax, 0xfffffff7
mov dword [ebp - 0xcc], eax
mov dword [ebp - 4], 9
or eax, 1
mov dword [ebp - 0xcc], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xc8]
call fcn.004c2d40
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.00408b10
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00518690
mov esp, ebp
pop ebp
ret