Function at 0x49d150
Capabilities:
Hash data via bcrypt

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5614c0
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x60b3c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov edi, ecx
mov eax, dword [ebx + 8]
test edi, edi
je 0x49d22a
mov ecx, 4
mov dword [ebp - 0x160], ecx
lea edx, [ecx - 2]
cmp esi, 3
jle 0x49d1d3
cmp word [esi + edi - 3], 0x2d2d
jne 0x49d1d3
cmp byte [esi + edi - 1], 0x3e
jne 0x49d1d3
mov ecx, 6
mov edx, 3
mov dword [ebp - 0x160], ecx
sub esi, edx
sub esi, ecx
sub esi, 0x80
js 0x49d22a
push 0
push 0
mov dword [eax], esi
lea eax, [ebp - 0x150]
push 0x5ecc6c
push eax
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x49d22a
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x14c]
push eax
push dword [ebp - 0x150]
call dword [sym.imp.bcrypt.dll_BCryptCreateHash]
push 0
test eax, eax
jns 0x49d24a
push dword [ebp - 0x150]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0050fd4b
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push esi
push edi
push dword [ebp - 0x14c]
call dword [sym.imp.bcrypt.dll_BCryptHashData]
push 0
test eax, eax
jns 0x49d278
push dword [ebp - 0x150]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
push dword [ebp - 0x14c]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
jmp 0x49d22a
push 0x20
lea eax, [ebp - 0x34]
xorps xmm0, xmm0
push eax
push dword [ebp - 0x14c]
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call dword [sym.imp.bcrypt.dll_BCryptFinishHash]
push 0
test eax, eax
js 0x49d25e
push 0
push str.ECDSA_P256
lea eax, [ebp - 0x154]
push eax
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
push 0
test eax, eax
js 0x49d25e
movups xmm0, xmmword [0x5ecd00]
push 0x48
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0x31534345
movups xmmword [ebp - 0x78], xmm0
push eax
movups xmm0, xmmword [0x5ecd10]
lea eax, [ebp - 0x158]
mov dword [ebp - 0x7c], 0x20
push eax
movups xmmword [ebp - 0x68], xmm0
push str.ECCPUBLICBLOB
movups xmm0, xmmword [0x5ecd20]
push 0
push dword [ebp - 0x154]
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [0x5ecd30]
movups xmmword [ebp - 0x48], xmm0
call dword [sym.imp.bcrypt.dll_BCryptImportKeyPair]
test eax, eax
jns 0x49d33a
push 0
push dword [ebp - 0x150]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
push dword [ebp - 0x14c]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
push 0
push dword [ebp - 0x154]
jmp 0x49d224
push 0x81
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.00512700
add esi, edi
add esp, 0xc
add esi, dword [ebp - 0x160]
je 0x49d369
mov ecx, 0x20
lea edi, [ebp - 0x148]
rep movsd dword es:[edi], dword [esi]
jmp 0x49d379
call fcn.0052a78a
mov dword [eax], 0x16
call fcn.0052864a
push 0x40
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.00512700
add esp, 0xc
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x148]
push eax
call fcn.0049cf30
add esp, 4
test al, al
jne 0x49d421
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0x208]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x164]
mov dword [ebp - 0x164], str.SignatureUtils.cpp
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x160], 0xca
call fcn.00418540
mov edx, str.Unable_to_convert_hex_string_into_binary
lea ecx, [ebp - 0x208]
call fcn.004185a0
lea ecx, [ebp - 0x1b0]
call fcn.00459e90
lea eax, [ebp - 0x1b0]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
mov dword [ebp - 4], 0xffffffff
push 0
push 0x40
lea eax, [ebp - 0xc0]
push eax
push 0x20
lea eax, [ebp - 0x34]
push eax
push 0
push dword [ebp - 0x158]
call dword [sym.imp.bcrypt.dll_BCryptVerifySignature]
test eax, eax
setns byte [ebp - 0x159]
test eax, eax
jns 0x49d4c2
call fcn.0045b3b0
push 1
lea ecx, [ebp - 0x2a8]
push ecx
mov ecx, eax
call fcn.0045b920
lea edx, [ebp - 0x164]
mov dword [ebp - 0x164], str.SignatureUtils.cpp
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x160], 0xd2
call fcn.00418540
mov edx, str.File_Signature_Verification_failed
lea ecx, [ebp - 0x2a8]
call fcn.004185a0
lea ecx, [ebp - 0x250]
call fcn.00459e90
lea eax, [ebp - 0x250]
mov dword [ebp - 4], 1
push eax
mov dword [ebp - method.std::ios_base.virtual_0], vtable.std::ios_base.0
call fcn.004f7d4c
add esp, 4
push 0
push dword [ebp - 0x150]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
push 0
push dword [ebp - 0x154]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
push dword [ebp - 0x14c]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
push dword [ebp - 0x158]
call dword [sym.imp.bcrypt.dll_BCryptDestroyKey]
mov al, byte [ebp - 0x159]
jmp 0x49d22c