Function at 0x543f8c
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
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
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x40], 0
cmp dword [ebp + 0x14], 0
mov eax, 0
sete al
test eax, eax
je 0x544023
mov eax, str.SHA1
jmp 0x544041
mov ebx, dword [ebp + 0x10]
mov eax, dword [ebx]
test eax, eax
je 0x544041
push eax
mov ebx, eax
call fcn.0045ad44
inc eax
push eax
call fcn.005769bd
pop ecx
pop esi
mov edi, eax
rep movsb byte es:[edi], byte [esi]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
push eax
mov ebx, dword [ebp + 0x10]
mov ebx, dword [ebx]
test ebx, ebx
je 0x54405a
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
push dword [ebp + 0xc]
call fcn.0054486c
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x54407f
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
push dword [ebp + 0x10]
call fcn.00537ab8
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x58], esp
push 0
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x5440d7
add eax, 8
push eax
lea eax, [ebp - 8]
push eax
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
nop
nop
cmp dword [ebp - 0x58], esp
je 0x544102
push 0xa0
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x544112
push ebx
call fcn.005769c9
add esp, 4
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov eax, 0x865267
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00537ab8
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x544168
push ebx
call fcn.005769c9
add esp, 4
mov dword [ebp - 0x5c], esp
push 0
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x544187
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptGetProperty]
nop
nop
cmp dword [ebp - 0x5c], esp
je 0x5441b1
push 0xe6
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x5441c1
push ebx
call fcn.005769c9
add esp, 4
mov dword [ebp - 0x44], esp
xor eax, eax
call dword [sym.imp.kernel32.dll_GetProcessHeap_1]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x5441ea
push 0x157
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esp
push dword [ebp - 0xc]
push 0
push dword [ebp - 0x48]
xor eax, eax
call dword [sym.imp.kernel32.dll_HeapAlloc_1]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x544221
push 0x157
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov eax, str.HashDigestLength
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00537ab8
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x54427a
push ebx
call fcn.005769c9
add esp, 4
mov dword [ebp - 0x5c], esp
push 0
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x544299
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptGetProperty]
nop
nop
cmp dword [ebp - 0x5c], esp
je 0x5442c3
push 0x195
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x5442d3
push ebx
call fcn.005769c9
add esp, 4
push 0x80000301
push 0
push dword [ebp - 0x18]
push 1
mov ebx, 0x1bc
call fcn.00578e70
add esp, 0x10
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x544306
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x44], esp
push 0
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x544321
add eax, 8
push eax
push dword [ebp - 0xc]
push dword [ebp - 0x14]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x544355
push 0x213
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
push VariantClear
push 0
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
jne 0x54436a
mov eax, 0x834e87
push eax
push 1
mov ebx, 0x194
call fcn.00578ea0
add esp, 0x10
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], esp
push 0
push dword [ebp - 0x44]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x544397
add eax, 8
push eax
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptHashData]
nop
nop
cmp dword [ebp - 0x48], esp
je 0x5443c1
push 0x27b
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x44], esp
push 0
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5443d6
add eax, 8
push eax
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x544400
push 0x29f
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x44], esp
xor eax, eax
call dword [sym.imp.kernel32.dll_GetProcessHeap_1]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x544429
push 0x2e2
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x4c], esp
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x48]
xor eax, eax
call dword [sym.imp.kernel32.dll_HeapFree_1]
nop
nop
cmp dword [ebp - 0x4c], esp
je 0x544460
push 0x2e2
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x44], esp
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x54448c
push 0x306
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x44], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x5444bd
push 0x320
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
push dword [ebp + 0x10]
call fcn.00537ab8
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x54450e
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x28]
push eax
call fcn.00537d10
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00544a64
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov eax, 0x865277
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00537ab8
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x544580
push ebx
call fcn.005769c9
add esp, 4
mov dword [ebp - 0x5c], esp
push 0
push 0
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x544597
add eax, 8
push eax
lea eax, [ebp - 0x34]
push eax
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
nop
nop
cmp dword [ebp - 0x5c], esp
je 0x5445c2
push 0x3f8
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x5445d2
push ebx
call fcn.005769c9
add esp, 4
mov dword [ebp - 0x44], 0
push 0
push dword [ebp - 0x44]
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
lea eax, [ebp - 0x4c]
push eax
mov dword [ebp - 0x50], 0
push 0
push dword [ebp - 0x50]
mov eax, str.CAPIPRIVATEBLOB
mov dword [ebp - 0x54], eax
lea eax, [ebp - 0x54]
push eax
call fcn.00537ab8
mov dword [ebp - 0x58], eax
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x544628
push ebx
call fcn.005769c9
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x54463b
mov eax, 0x834e87
push eax
push 1
mov ebx, 0x194
call fcn.00578ea0
add esp, 0x10
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x60], esp
push 0
push dword [ebp - 0x5c]
mov eax, dword [ebp - 4]
test eax, eax
je 0x544666
add eax, 8
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x58]
test eax, eax
je 0x544675
add eax, 8
push eax
push 0
push dword [ebp - 0x34]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptImportKeyPair]
nop
nop
cmp dword [ebp - 0x60], esp
je 0x5446a4
push 0x47f
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov ebx, dword [ebp - 0x58]
test ebx, ebx
je 0x5446b4
push ebx
call fcn.005769c9
add esp, 4
mov dword [ebp - 0x44], esp
push 2
lea eax, [ebp - 0x40]
push eax
push 0
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x5446cf
add eax, 8
push eax
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5446dd
add eax, 8
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x38]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptSignHash]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x54470a
push 0x4a3
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
push 0x80000301
push 0
push dword [ebp - 0x40]
push 1
mov ebx, 0x1bc
call fcn.00578e70
add esp, 0x10
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x54473d
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x44], esp
push 2
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x40]
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x54475a
add eax, 8
push eax
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x544768
add eax, 8
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x38]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptSignHash]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x544795
push 0x522
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x44], esp
push dword [ebp - 0x38]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptDestroyKey]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x5447c1
push 0x56b
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x44], esp
push 0
push dword [ebp - 0x34]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x5447f2
push 0x585
push 0x4396df1
push 6
call fcn.005769b1
add esp, 0xc
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x54480c
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 0x544811
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x544822
push ebx
call fcn.005769c9
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x544832
push ebx
call fcn.005769c9
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x544842
push ebx
call fcn.005769c9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x544852
push ebx
call fcn.005769c9
add esp, 4
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x544862
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x10