Function at 0x4adb13
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 0x5985d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x50
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x40], 0x10
mov byte [ebp - 0x38], 0
xor eax, eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov word [ebp - 0x2b], ax
mov byte [ebp - 0x29], al
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x40]
shl edx, 1
mov dword [ebp - 0x44], edx
lea ecx, [ebp - 0x10]
call fcn.00540f00
mov dword [ebp - 4], 1
push 0
mov eax, dword [ebp - 0x44]
add eax, 1
push eax
lea ecx, [ebp - 0x10]
call fcn.004991d0
lea ecx, [ebp - 0x10]
call fcn.0049eca0
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x3c], 0
mov ecx, dword [str.0123456789ABCDEF]
mov dword [ebp - 0x24], ecx
mov edx, dword [0x688b50]
mov dword [ebp - 0x20], edx
mov eax, dword [0x688b54]
mov dword [ebp - 0x1c], eax
mov ecx, dword [0x688b58]
mov dword [ebp - 0x18], ecx
mov dl, byte [0x688b5c]
mov byte [ebp - 0x14], dl
push 0xf0000000
push 1
push 0
push 0
lea eax, [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x4adc20
push 0
push 1
push 0
push 0
lea ecx, [ebp - 0x54]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x4adc20
push 8
push 1
push 0
push 0
lea edx, [ebp - 0x54]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
test eax, eax
jne 0x4adc20
jmp 0x4adcc5
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0x8003
mov ecx, dword [ebp - 0x54]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x4adc40
jmp 0x4adcc5
push 0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x4adc5a
jmp 0x4adcc5
push 0
lea edx, [ebp - 0x50]
push edx
lea eax, [ebp - 0x38]
push eax
push 2
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
test eax, eax
jne 0x4adc76
jmp 0x4adcc5
mov dword [ebp - 0x3c], 0
jmp 0x4adc88
mov edx, dword [ebp - 0x3c]
add edx, 1
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp - 0x3c]
cmp eax, dword [ebp - 0x50]
jae 0x4adcc5
mov ecx, dword [ebp - 0x3c]
xor edx, edx
mov dl, byte [ebp + ecx - 0x38]
mov dword [ebp - 0x28], edx
mov eax, dword [ebp - 0x28]
sar eax, 4
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x4c]
mov al, byte [ebp + eax - 0x24]
mov byte [edx + ecx*2], al
mov ecx, dword [ebp - 0x28]
and ecx, 0xf
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x4c]
mov cl, byte [ebp + ecx - 0x24]
mov byte [eax + edx*2 + 1], cl
jmp 0x4adc7f
cmp dword [ebp - 0x48], 0
je 0x4adcd5
mov edx, dword [ebp - 0x48]
push edx
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
cmp dword [ebp - 0x54], 0
je 0x4adce7
push 0
mov eax, dword [ebp - 0x54]
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
push 0
mov ecx, dword [ebp - 0x4c]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea ecx, [ebp - 0x10]
call fcn.004991d0
lea ecx, [ebp - 0x10]
call fcn.004992b0
lea edx, [ebp - 0x10]
push edx
mov ecx, dword [ebp + 8]
call fcn.00498ea0
mov eax, dword [ebp - 0x58]
or al, 1
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004995e0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc