Function at 0x448050
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 0x44a549
mov eax, dword fs:[0]
push eax
sub esp, 0x158
mov eax, dword [0x46e02c]
xor eax, ebp
mov dword [ebp - 0x18], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], edi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 0x4c], edi
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x38], ebx
cmp dword [esi], edi
jne 0x4480d7
push edi
push 1
push edi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
push esi
call edi
test eax, eax
jne 0x4480d5
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x80090016
jne 0x4480d2
push 8
push 1
push 0
push 0
push esi
call edi
test eax, eax
jne 0x4480d2
call ebx
mov dword [esi], 0
mov ebx, dword [ebp - 0x38]
xor edi, edi
mov esi, dword [esi]
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x44], edi
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
mov dword [ebp - 0x4c], 1
mov byte [ebp - 4], 2
cmp esi, edi
jne 0x44813a
push str.Cryptography_provider_context_is_NULL
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x98]
push edx
mov byte [ebp - 4], 3
call fcn.00401100
push 0x4602ec
lea eax, [ebp - 0x98]
push eax
call sub.MSVCR90.dll__CxxThrowException
lea ecx, [ebp - 0x3c]
push ecx
push edi
push edi
push 0x8003
push esi
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x448183
push str.CryptCreateHash_returned_an_error.
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 4
call fcn.00401100
push 0x4602ec
lea ecx, [ebp - 0xe8]
push ecx
call sub.MSVCR90.dll__CxxThrowException
cmp dword [ebx + 0x18], 0x10
jb 0x44818e
mov ecx, dword [ebx + 4]
jmp 0x448191
lea ecx, [ebx + 4]
mov eax, dword [ebx + 0x14]
mov edx, dword [ebp - 0x3c]
push edi
push eax
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4481d8
push str.CryptHashData_returned_an_error.
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x138]
push ecx
mov byte [ebp - 4], 5
call fcn.00401100
push 0x4602ec
lea edx, [ebp - 0x138]
push edx
call sub.MSVCR90.dll__CxxThrowException
mov edx, dword [ebp - 0x3c]
mov esi, dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
push edi
lea eax, [ebp - 0x50]
push eax
lea ecx, [ebp - 0x38]
push ecx
push 4
push edx
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x50], 4
call esi
test eax, eax
jne 0x448230
push str.CryptGetHashParam_for_hash_size_returned_an_error.
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0xc0]
push ecx
mov byte [ebp - 4], 6
call fcn.00401100
push 0x4602ec
lea edx, [ebp - 0xc0]
push edx
call sub.MSVCR90.dll__CxxThrowException
mov eax, dword [ebp - 0x38]
push eax
call fcn.00449004
mov edi, eax
add esp, 4
mov dword [ebp - 0x44], edi
test edi, edi
jne 0x448278
push str.Out_of_memory
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea ecx, [ebp - 0x70]
push ecx
lea edx, [ebp - 0x110]
push edx
mov byte [ebp - 4], 7
call fcn.00401100
push 0x4602ec
lea eax, [ebp - 0x110]
push eax
call sub.MSVCR90.dll__CxxThrowException
mov edx, dword [ebp - 0x3c]
push 0
lea ecx, [ebp - 0x38]
push ecx
push edi
push 2
push edx
call esi
test eax, eax
jne 0x4482be
push str.CryptGetHashParam_for_hash_value_returned_an_error.
lea ecx, [ebp - 0x70]
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
lea eax, [ebp - 0x70]
push eax
lea ecx, [ebp - 0x160]
push ecx
mov byte [ebp - 4], 8
call fcn.00401100
push 0x4602ec
lea edx, [ebp - 0x160]
push edx
call sub.MSVCR90.dll__CxxThrowException
xor esi, esi
cmp esi, dword [ebp - 0x38]
jae 0x4482fe
cmp esi, 0x28
jae 0x4482fe
lea eax, [ebp - 0x48]
push eax
mov al, byte [esi + edi]
lea ecx, [ebp - 0x54]
push ecx
call fcn.00422430
mov eax, dword [ebp - 0x54]
add esp, 8
cmp al, 0x30
je 0x4482ee
mov ecx, dword [ebp - 0x40]
push eax
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::push_back_char_]
mov edx, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x40]
push edx
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::push_back_char_]
inc esi
jmp 0x4482c0
mov dword [ebp - 4], 1
jmp 0x448317
test edi, edi
je 0x448324
push edi
call sub.MSVCR90.dll_void___cdecl_operator_delete_void__
add esp, 4
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x448332
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP90.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.00449014
mov esp, ebp
pop ebp
ret 4