Function at 0x1000d800
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 0x10021be0
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x1002b4b0]
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 eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x44], eax
mov ebx, ecx
mov dword [ebp - 0x38], esi
push esi
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push esi
lea ecx, [ebp - 0x38]
mov dword [ebp - 4], esi
mov edi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push ecx
call edi
test eax, eax
jne 0x1000d87c
call fcn.1000ed40
cmp eax, 0x80090016
jne 0x1000d87c
push 8
push 1
push str.Microsoft_Base_Cryptographic_Provider_v1.0
push esi
lea edx, [ebp - 0x38]
push edx
call edi
test eax, eax
jne 0x1000d87c
call fcn.1000ed40
mov dword [ebp - 0x34], esi
lea eax, [ebp - 0x34]
push eax
push esi
push esi
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
push 0x8003
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x1000d8a1
call fcn.1000ed40
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x34]
push esi
push edx
push ebx
push eax
mov dword [ebp - 0x3c], 0x20
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x1000d8c9
call fcn.1000ed40
cmp eax, esi
jl 0x1000d962
mov eax, dword [ebp - 0x34]
push esi
lea ecx, [ebp - 0x3c]
push ecx
lea edx, [ebp - 0x30]
push edx
push 2
push eax
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x1000d8eb
call fcn.1000ed40
cmp eax, esi
jl 0x1000d962
cmp dword [ebp - 0x3c], 0x10
jne 0x1000d962
mov edx, dword [0x1002c690]
mov eax, dword [edx + 0xc]
mov ecx, 0x1002c690
call eax
add eax, 0x10
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 2
xor ebx, ebx
cmp dword [ebp - 0x3c], esi
jle 0x1000d92e
movzx ecx, byte [ebp + ebx - 0x30]
push ecx
push str._02x
lea edi, [ebp - 0x40]
call fcn.1000a980
inc ebx
add esp, 8
cmp ebx, dword [ebp - 0x3c]
jl 0x1000d912
mov edi, dword [ebp - 0x40]
add edi, 0xfffffff0
mov eax, edi
call fcn.1000a300
mov ebx, dword [ebp - 0x44]
add eax, 0x10
mov dword [ebx], eax
mov byte [ebp - 4], 1
lea edx, [edi + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x1000d9b8
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
jmp 0x1000d9b8
mov edx, dword [0x1002c690]
mov eax, dword [edx + 0xc]
mov ecx, 0x1002c690
call eax
mov ebx, dword [ebp - 0x44]
add eax, 0x10
mov dword [ebx], eax
mov ecx, 0x10026205
mov byte [ebp - 4], 3
test ecx, 0xffff0000
jne 0x1000d9a9
mov edx, ecx
movzx edi, dx
push edi
call fcn.100074b0
add esp, 4
cmp eax, esi
je 0x1000d9b8
push eax
mov eax, edi
mov edi, ebx
call fcn.1000a670
jmp 0x1000d9b8
push 0x10026205
xor eax, eax
call fcn.1000a1a0
mov ebx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x34]
cmp eax, esi
je 0x1000d9c9
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x34], esi
mov eax, dword [ebp - 0x38]
cmp eax, esi
je 0x1000d9e1
push esi
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
test eax, eax
jne 0x1000d9e1
call fcn.1000ed40
mov eax, ebx
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.1000f688
mov esp, ebp
pop ebp
ret