Function at 0x544b44
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
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
cmp dword [ebp + 0x18], 0
mov eax, 0
sete al
test eax, eax
je 0x544bd4
mov eax, str.SHA1
jmp 0x544bf2
mov ebx, dword [ebp + 0x14]
mov eax, dword [ebx]
test eax, eax
je 0x544bf2
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 - 0x44], eax
mov eax, dword [ebp - 0x44]
push eax
mov ebx, dword [ebp + 0x14]
mov ebx, dword [ebx]
test ebx, ebx
je 0x544c0b
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov ebx, dword [ebp + 0x14]
mov dword [ebx], eax
push dword [ebp + 0x10]
call fcn.0054539c
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x544c30
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push dword [ebp + 0x14]
call fcn.00537ab8
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x54], esp
push 0
push 0
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x544c88
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 - 0x54], esp
je 0x544cb3
push 0xa0
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x544cc3
push ebx
call fcn.005769c9
add esp, 4
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov eax, 0x865267
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.00537ab8
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x544d19
push ebx
call fcn.005769c9
add esp, 4
mov dword [ebp - 0x58], esp
push 0
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x544d38
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptGetProperty]
nop
nop
cmp dword [ebp - 0x58], esp
je 0x544d62
push 0xe6
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x544d72
push ebx
call fcn.005769c9
add esp, 4
mov dword [ebp - 0x40], esp
xor eax, eax
call dword [sym.imp.kernel32.dll_GetProcessHeap_1]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x544d9b
push 0x157
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], esp
push dword [ebp - 0xc]
push 0
push dword [ebp - 0x44]
xor eax, eax
call dword [sym.imp.kernel32.dll_HeapAlloc_1]
nop
nop
cmp dword [ebp - 0x48], esp
je 0x544dd2
push 0x157
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov eax, str.HashDigestLength
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.00537ab8
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x544e2b
push ebx
call fcn.005769c9
add esp, 4
mov dword [ebp - 0x58], esp
push 0
lea eax, [ebp - 0x10]
push eax
push 4
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x544e4a
add eax, 8
push eax
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptGetProperty]
nop
nop
cmp dword [ebp - 0x58], esp
je 0x544e74
push 0x195
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x544e84
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 - 0x40], eax
mov eax, dword [ebp - 0x40]
push eax
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x544eb7
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x40], esp
push 0
push 0
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x544ed2
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 - 0x40], esp
je 0x544f06
push 0x213
push 0x4396df5
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 0x544f1b
mov eax, 0x834e87
push eax
push 1
mov ebx, 0x194
call fcn.00578ea0
add esp, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
push 0
push dword [ebp - 0x40]
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x544f48
add eax, 8
push eax
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptHashData]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x544f72
push 0x27b
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x40], esp
push 0
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x544f87
add eax, 8
push eax
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x544fb1
push 0x29f
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x40], esp
xor eax, eax
call dword [sym.imp.kernel32.dll_GetProcessHeap_1]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x544fda
push 0x2e2
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], esp
push dword [ebp - 0x14]
push 0
push dword [ebp - 0x44]
xor eax, eax
call dword [sym.imp.kernel32.dll_HeapFree_1]
nop
nop
cmp dword [ebp - 0x48], esp
je 0x545011
push 0x2e2
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x40], esp
push dword [ebp - 0x20]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x54503d
push 0x306
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x40], esp
push 0
push dword [ebp - 8]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x54506e
push 0x320
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
push dword [ebp + 0x14]
call fcn.00537ab8
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x50]
push eax
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x5450bf
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 - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov eax, 0x865277
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.00537ab8
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x545131
push ebx
call fcn.005769c9
add esp, 4
mov dword [ebp - 0x58], esp
push 0
push 0
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x545148
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 - 0x58], esp
je 0x545173
push 0x3f8
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x545183
push ebx
call fcn.005769c9
add esp, 4
mov dword [ebp - 0x40], 0
push 0
push dword [ebp - 0x40]
mov dword [ebp - 0x44], 0
push 0
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x48], 0
push 0
lea eax, [ebp - 0x48]
push eax
mov dword [ebp - 0x4c], 0
push 0
push dword [ebp - 0x4c]
mov eax, str.RSAPUBLICBLOB
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x50]
push eax
call fcn.00537ab8
mov dword [ebp - 0x54], eax
mov ebx, dword [ebp - 0x50]
test ebx, ebx
je 0x5451d9
push ebx
call fcn.005769c9
add esp, 4
push VariantClear
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x5451ec
mov eax, 0x834e87
push eax
push 1
mov ebx, 0x194
call fcn.00578ea0
add esp, 0x10
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x5c], esp
push 0
push dword [ebp - 0x58]
mov eax, dword [ebp - 4]
test eax, eax
je 0x545217
add eax, 8
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x54]
test eax, eax
je 0x545226
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 - 0x5c], esp
je 0x545255
push 0x47d
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
mov ebx, dword [ebp - 0x54]
test ebx, ebx
je 0x545265
push ebx
call fcn.005769c9
add esp, 4
push VariantClear
push 0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
jne 0x54527a
mov eax, 0x834e87
push eax
push 1
mov ebx, 0x194
call fcn.00578ea0
add esp, 0x10
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x44], esp
push 2
push dword [ebp - 0x40]
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebx]
test eax, eax
je 0x5452a7
add eax, 8
push eax
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5452b5
add eax, 8
push eax
push dword [ebp - 0x30]
push dword [ebp - 0x38]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptVerifySignature]
nop
nop
cmp dword [ebp - 0x44], esp
je 0x5452e2
push 0x4ef
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x40], esp
push dword [ebp - 0x38]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptDestroyKey]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x545311
push 0x510
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
mov dword [ebp - 0x40], esp
push 0
push dword [ebp - 0x34]
xor eax, eax
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
nop
nop
cmp dword [ebp - 0x40], esp
je 0x545342
push 0x52a
push 0x4396df5
push 6
call fcn.005769b1
add esp, 0xc
cmp dword [ebp - 0x3c], 0
mov eax, 0
sete al
jmp 0x545353
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x545364
push ebx
call fcn.005769c9
add esp, 4
mov ebx, dword [ebp - 0x1c]
test ebx, ebx
je 0x545374
push ebx
call fcn.005769c9
add esp, 4
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x545384
push ebx
call fcn.005769c9
add esp, 4
mov ebx, dword [ebp - 0x28]
test ebx, ebx
je 0x545394
push ebx
call fcn.005769c9
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 0x14