Function at 0x538450
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
push dword [ebp + 8]
call fcn.00537ab8
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], esp
push 8
push 0
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x5384d0
add eax, 8
push eax
lea eax, [ebp - 4]
push eax
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
nop
nop
cmp dword [ebp - 0x2c], esp
je 0x5384fb
push 0x19
push 0x4396e2f
push 6
call fcn.005769b1
add esp, 0xc
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x53850b
push ebx
call fcn.005769c9
add esp, 4
mov dword [ebp - 0x18], 0
push 0
push dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
push 0
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0x20], 0
push 0
lea eax, [ebp - 0x20]
push eax
mov dword [ebp - 0x24], 0
push 0
push dword [ebp - 0x24]
mov eax, str.HashDigestLength
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00537ab8
mov dword [ebp - 0x2c], eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x538561
push ebx
call fcn.005769c9
add esp, 4
mov dword [ebp - 0x30], esp
push 0
lea eax, [ebp - 0xc]
push eax
push 4
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x538580
add eax, 8
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptGetProperty]
nop
nop
cmp dword [ebp - 0x30], esp
je 0x5385aa
push 0x5f
push 0x4396e2f
push 6
call fcn.005769b1
add esp, 0xc
mov ebx, dword [ebp - 0x2c]
test ebx, ebx
je 0x5385ba
push ebx
call fcn.005769c9
add esp, 4
push VariantClear
push 0
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
jne 0x5385cf
mov eax, 0x834e87
push eax
push 1
mov ebx, 0x194
call fcn.00578ea0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push 0x20
push dword [ebp - 0x18]
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x5385fc
add eax, 8
push eax
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x538634
push 0xe2
push 0x4396e2f
push 6
call fcn.005769b1
add esp, 0xc
cmp dword [ebp - 0x10], 0
jne 0x538688
mov dword [ebp - 0x18], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x53866f
push 0x138
push 0x4396e2f
push 6
call fcn.005769b1
add esp, 0xc
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00538800
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x5387e6
push 0x80000301
push 0
push dword [ebp - 8]
push 1
mov ebx, 0x1bc
call fcn.00578e70
add esp, 0x10
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x5386bb
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov dword [ebp - 0x14], eax
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x5386d4
mov eax, 0x834e87
push eax
push 1
mov ebx, 0x194
call fcn.00578ea0
add esp, 0x10
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], esp
push 0
push dword [ebp - 0x18]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x538701
add eax, 8
push eax
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptHashData]
nop
nop
cmp dword [ebp - 0x1c], esp
je 0x53872b
push 0x1ec
push 0x4396e2f
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0
push dword [ebp - 8]
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x538740
add eax, 8
push eax
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x53876a
push 0x210
push 0x4396e2f
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x18], esp
push dword [ebp - 0x10]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x538796
push 0x241
push 0x4396e2f
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x18], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
nop
nop
cmp dword [ebp - 0x18], esp
je 0x5387c7
push 0x25b
push 0x4396e2f
push 6
call fcn.005769b1
add esp, 0xc
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x5387e1
push eax
mov eax, dword [eax + 4]
add eax, 8
push eax
call fcn.005769bd
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
jmp 0x5387e6
push eax
mov ebx, dword [ebp - 0x14]
test ebx, ebx
je 0x5387f7
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0xc