Function at 0x101bec50
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x102e91c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
push 0
push 0
mov dword [ebp - 0x10], eax
lea eax, [ebp - 8]
push str.SHA256
push eax
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
jns 0x101becfb
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x101becf1
mov esi, dword [0x102eec44]
test esi, esi
je 0x101bece4
push str.Failed_in__acquire_handle_in_getSignatureOfData
push str.getSignatureOfData
push 0x1025b044
push str.Type2Validator
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101cff65
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x102eec48]
test eax, eax
je 0x101beeb5
push str.Failed_in__acquire_handle_in_getSignatureOfData
jmp 0x101bee96
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 8]
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
push 0
test eax, eax
jns 0x101bed86
push dword [ebp - 8]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x101bed7c
mov esi, dword [0x102eec44]
test esi, esi
je 0x101bed6f
push str.Failed_in_creating_hash_in_getSignatureOfData
push str.getSignatureOfData
push 0x1025b044
push str.Type2Validator
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101cff65
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x102eec48]
test eax, eax
je 0x101beeb5
push str.Failed_in_creating_hash_in_getSignatureOfData
jmp 0x101bee96
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0xc]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
push 0
test eax, eax
jns 0x101bee12
push dword [ebp - 8]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
push dword [ebp - 0xc]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x101bee08
mov esi, dword [0x102eec44]
test esi, esi
je 0x101bedfb
push str.Failed_in_creating_hash_data_in_getSignatureOfData
push str.getSignatureOfData
push 0x1025b044
push str.Type2Validator
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101cff65
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x102eec48]
test eax, eax
je 0x101beeb5
push str.Failed_in_creating_hash_data_in_getSignatureOfData
jmp 0x101bee96
push dword [ebx]
push edi
push dword [ebp - 0xc]
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
test eax, eax
jns 0x101beeca
push 0
push dword [ebp - 8]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
push dword [ebp - 0xc]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov eax, dword [esi + 0x38]
test eax, eax
jne 0x101bee91
mov esi, dword [0x102eec44]
test esi, esi
je 0x101bee88
push str.Failed_in_retrieving_hash_value_in_getSignatureOfData
push str.getSignatureOfData
push 0x1025b044
push str.Type2Validator
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1024852c]
call esi
add esp, 0x18
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101cff65
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [0x102eec48]
test eax, eax
je 0x101beeb5
push str.Failed_in_retrieving_hash_value_in_getSignatureOfData
mov esi, dword [eax]
push str.Type2Validator
push str.getSignatureOfData
push 0x32
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x1024852c]
call esi
add esp, 0x14
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.101cff65
mov esp, ebp
pop ebp
ret 0x10
mov eax, dword [ebp - 8]
test eax, eax
je 0x101beeda
push 0
push eax
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x101beee8
push eax
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov ecx, dword [ebp - 4]
mov al, 1
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101cff65
mov esp, ebp
pop ebp
ret 0x10