Function at 0x10005960
Capabilities:
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10020c2f
mov eax, dword fs:[0]
push eax
sub esp, 0xc4
mov eax, dword [0x10029080]
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
push 0xf0000000
xor ebx, ebx
push 1
push ebx
mov dword [ebp - 0x30], ebx
push ebx
lea eax, [ebp - 0x24]
mov esi, ecx
push eax
mov dword [ebp - 0x34], esi
mov edi, edx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x100059d8
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x10025269
mov ecx, esi
mov byte [esi], bl
call fcn.10001240
jmp 0x10005b8d
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x28]
push ecx
push ebx
push ebx
push 0x8003
push edx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
je 0x10005a17
cmp dword [edi + 0x14], 0x10
mov eax, dword [edi + 0x10]
jb 0x100059fc
mov edi, dword [edi]
mov ecx, dword [ebp - 0x28]
push ebx
push eax
push edi
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x10005a40
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 0x24]
push ebx
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push ebx
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
push 0x10025269
mov ecx, esi
mov byte [esi], bl
call fcn.10001240
jmp 0x10005b8d
mov eax, dword [ebp - 0x28]
push ebx
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x20]
push edx
push 2
push eax
mov dword [ebp - 0x2c], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x10005a86
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edx, dword [ebp - 0x24]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0x10025269
mov ecx, esi
call fcn.100011d0
jmp 0x10005b8d
lea eax, [ebp - 0xd0]
push eax
call fcn.100078b0
mov dword [ebp - 4], 1
xor edi, edi
cmp dword [ebp - 0x2c], ebx
jbe 0x10005b10
mov ecx, dword [ebp - 0xd0]
mov eax, dword [ecx + 4]
mov byte [ebp + eax - 0x90], 0x30
mov edx, dword [ebp - 0xd0]
lea eax, [ebp + eax - 0xd0]
mov eax, dword [edx + 4]
movzx edx, byte [ebp + edi - 0x20]
lea eax, [ebp + eax - 0xd0]
mov dword [eax + 0x20], 2
mov dword [eax + 0x24], ebx
mov eax, dword [ebp - 0xd0]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + eax - 0xbc]
lea eax, [ebp + eax - 0xd0]
and ecx, 0xfffff9ff
or ecx, 0x800
mov dword [eax + 0x14], ecx
push edx
lea eax, [ebp - 0xd0]
push eax
call fcn.10007300
inc edi
cmp edi, dword [ebp - 0x2c]
jb 0x10005aa0
mov ecx, dword [ebp - 0x28]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov edx, dword [ebp - 0x24]
push ebx
push edx
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
lea eax, [ebp - 0xd0]
call fcn.10007990
mov ecx, dword [ebp - 0xd0]
mov edx, dword [ecx + 4]
lea eax, [ebp - 0x80]
mov dword [ebp - 0x30], 1
mov dword [ebp - 0x38], eax
mov dword [ebp + edx - 0xd0], vtable.std::basic_ostringstream_char__struct_std::char_traits_char___class_std::allocator_char__.0
lea ecx, [ebp - 0xcc]
mov dword [ebp - 4], 2
call fcn.100079b0
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0xd0]
mov ecx, dword [eax + 4]
lea edx, [ebp - 0x80]
mov dword [ebp + ecx - 0xd0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push edx
mov dword [ebp - 0x80], vtable.std::ios_base.0
call fcn.1001b05a
add esp, 4
mov eax, esi
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.1000badd
mov esp, ebp
pop ebp
ret