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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x44], bl
lea edi, [ebp - 0x43]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp + 8], eax
xor eax, eax
push 4
mov byte [ebp - 0x14], bl
lea edi, [ebp - 0x13]
stosw word es:[edi], ax
pop esi
stosb byte es:[edi], al
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x10]
push eax
push str.Policy
push str.SOFTWAREMicrosoftDriver_Signing
mov edi, 0x80000002
push edi
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x18], esi
call dword [0x48ad58]
cmp eax, ebx
jne 0x428fd4
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp + 8]
mov dword [ebp - 0x24], eax
jne 0x428fc9
cmp dword [ebp + 8], ebx
jne 0x428fc0
push 0x47a62c
push str.DEVI
push 0x48aec0
call fcn.0040aa0e
add esp, 0xc
cmp dword [ebp + 0xc], ebx
je 0x429215
cmp dword [ebp - 0x10], esi
je 0x428fe0
cmp dword [ebp - 0x10], 3
je 0x428fe0
xor eax, eax
mov dword [ebp - 0x10], 3
inc eax
jmp 0x428fe3
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x10]
push eax
push str.seed
push str.SystemWPAPnP
push edi
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x18], esi
call dword [0x48ad58]
push ebx
xor esi, esi
inc esi
push esi
push ebx
push ebx
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_CryptAcquireContextW]
cmp eax, ebx
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], esi
jne 0x429051
cmp dword [ebp + 8], ebx
je 0x429041
lea ecx, [ebp - 0x34]
call fcn.00428f0d
mov eax, esi
jmp 0x429218
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
call esi
mov dword [ebp - 8], eax
jmp 0x429139
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push 0x8003
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
mov esi, dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 2
call esi
cmp dword [ebp - 4], ebx
mov dword [ebp - 8], eax
je 0x429109
mov al, byte [ebp + 8]
push ebx
mov byte [ebp - 0x13], al
push 4
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x30]
mov byte [ebp - 0x14], bl
mov byte [ebp - 0x12], bl
mov byte [ebp - 0x11], bl
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 3
call esi
cmp dword [ebp - 4], ebx
mov dword [ebp - 8], eax
je 0x429109
push ebx
push 4
lea eax, [ebp - 0x2c]
push eax
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 4
call esi
cmp dword [ebp - 4], ebx
mov dword [ebp - 8], eax
je 0x429109
push ebx
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x44]
push eax
push 2
push dword [ebp - 0x30]
mov dword [ebp - 0x18], 0x10
call dword [sym.imp.ADVAPI32.dll_CryptGetHashParam]
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], 5
call esi
cmp dword [ebp - 4], ebx
mov dword [ebp - 8], eax
jne 0x42911e
cmp dword [ebp + 8], ebx
lea ecx, [ebp - 0x34]
je 0x42913c
call fcn.00428f0d
xor eax, eax
inc eax
jmp 0x429218
push 0x10
lea eax, [ebp - 0x44]
push eax
push 3
push str.PrivateHash
push str.SoftwareMicrosoftWindowsCurrentVersionSetup
push edi
call fcn.00425503
add esp, 0x18
lea ecx, [ebp - 0x34]
call fcn.00428f0d
push dword [ebp - 0x1c]
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x20]
push str.Policy
push str.SoftwareMicrosoftDriver_Signing
push 0x80000001
call fcn.00425503
push dword [ebp - 0x1c]
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x20]
push str.Policy
push str.SoftwareMicrosoftNon_Driver_Signing
push edi
call fcn.00425503
push dword [ebp - 0x1c]
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x20]
push str.Policy
push str.SoftwareMicrosoftDriver_Signing
push edi
call fcn.00425503
add esp, 0x48
cmp dword [ebp - 4], ebx
mov edi, eax
je 0x4291a9
mov dword [ebp - 0xc], 7
call esi
mov dword [ebp - 8], eax
cmp edi, ebx
jne 0x4291e2
cmp dword [ebp - 4], ebx
je 0x4291d0
cmp dword [ebp + 8], ebx
jne 0x429215
push 0x47a4c4
push str.DEVI
push 0x48aec0
call fcn.0040aa0e
add esp, 0xc
jmp 0x429215
cmp dword [ebp + 8], ebx
jne 0x429215
push dword [ebp - 8]
push dword [ebp - 0xc]
push 0x47a4b4
jmp 0x429203
cmp dword [ebp - 4], ebx
je 0x4291f3
mov dword [ebp - 0xc], 7
call esi
mov dword [ebp - 8], eax
cmp dword [ebp + 8], ebx
jne 0x429215
push dword [ebp - 8]
push dword [ebp - 0xc]
push str.Err_
push 0x47a478
push 0x48aec0
call fcn.0040aa0e
add esp, 0x14
mov eax, dword [ebp - 0x24]
pop edi
pop esi
pop ebx
leave
ret