Function at 0x458060
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 0x556c70
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x298
mov eax, dword [0x5ec3c8]
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 0x45813a
mov ecx, 4
mov dword [ebp - 0x160], ecx
lea edx, [ecx - 2]
cmp esi, 3
jle 0x4580e3
cmp word [esi + edi - 3], 0x2d2d
jne 0x4580e3
cmp byte [esi + edi - 1], 0x3e
jne 0x4580e3
mov ecx, 6
mov edx, 3
mov dword [ebp - 0x160], ecx
sub esi, edx
sub esi, ecx
sub esi, 0x80
js 0x45813a
push 0
push 0
mov dword [eax], esi
lea eax, [ebp - 0x150]
push 0x5cc38c
push eax
call dword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x45813a
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 0x45815a
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.0050a47b
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 0x458188
push dword [ebp - 0x150]
call dword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
push dword [ebp - 0x14c]
call dword [sym.imp.bcrypt.dll_BCryptDestroyHash]
jmp 0x45813a
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 0x45816e
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 0x45816e
movups xmm0, xmmword [0x5cc420]
push 0x48
lea eax, [ebp - 0x80]
mov dword [ebp - 0x80], 0x31534345
movups xmmword [ebp - 0x78], xmm0
push eax
movups xmm0, xmmword [0x5cc430]
lea eax, [ebp - 0x158]
mov dword [ebp - 0x7c], 0x20
push eax
movups xmmword [ebp - 0x68], xmm0
push str.ECCPUBLICBLOB
movups xmm0, xmmword [0x5cc440]
push 0
push dword [ebp - 0x154]
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [0x5cc450]
movups xmmword [ebp - 0x48], xmm0
call dword [sym.imp.bcrypt.dll_BCryptImportKeyPair]
test eax, eax
jns 0x45824a
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 0x458134
push 0x81
lea eax, [ebp - 0x148]
push 0
push eax
call fcn.0050cdd0
add esi, edi
add esp, 0xc
add esi, dword [ebp - 0x160]
je 0x458279
mov ecx, 0x20
lea edi, [ebp - 0x148]
rep movsd dword es:[edi], dword [esi]
jmp 0x458289
call fcn.005254b7
mov dword [eax], 0x16
call fcn.00522dca
push 0x40
lea eax, [ebp - 0xc0]
push 0
push eax
call fcn.0050cdd0
add esp, 0xc
lea eax, [ebp - 0xc0]
lea ecx, [ebp - 0x148]
push eax
call fcn.00457e40
add esp, 4
test al, al
jne 0x458331
call fcn.0044f060
push 1
lea ecx, [ebp - 0x208]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x164]
mov dword [ebp - 0x164], str.SignatureUtils.cpp
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x160], 0xca
call fcn.0041a580
mov edx, str.Unable_to_convert_hex_string_into_binary
lea ecx, [ebp - 0x208]
call fcn.0041a5e0
lea ecx, [ebp - 0x1b0]
call fcn.0044dd10
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.004f317c
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 0x4583d2
call fcn.0044f060
push 1
lea ecx, [ebp - 0x2a8]
push ecx
mov ecx, eax
call fcn.0044f5c0
lea edx, [ebp - 0x164]
mov dword [ebp - 0x164], str.SignatureUtils.cpp
lea ecx, [ebp - 0x2a8]
mov dword [ebp - 0x160], 0xd2
call fcn.0041a580
mov edx, str.File_Signature_Verification_failed
lea ecx, [ebp - 0x2a8]
call fcn.0041a5e0
lea ecx, [ebp - 0x250]
call fcn.0044dd10
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.004f317c
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 0x45813c