Function at 0x450cc0
Capabilities:
Hash data via bcrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
mov eax, dword [0x4ff684]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x134], eax
test edi, edi
je 0x450d7c
mov ebx, 4
lea ecx, [ebx - 2]
cmp esi, 3
jle 0x450d28
mov edx, dword [0x4ff4ac]
movzx eax, word [esi + edi - 3]
cmp ax, word [edx]
jne 0x450d22
movzx eax, byte [esi + edi - 1]
cmp al, byte [edx + 2]
mov eax, dword [ebp - 0x134]
jne 0x450d28
lea ebx, [ecx + 4]
lea ecx, [ebx - 3]
jmp 0x450d28
mov eax, dword [ebp - 0x134]
sub esi, ecx
sub esi, ebx
sub esi, 0x80
js 0x450d7c
push 0
push 0
mov dword [eax], esi
lea eax, [ebp - 0x138]
push str.SHA256
push eax
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
test eax, eax
js 0x450d7c
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x134]
push eax
push dword [ebp - 0x138]
call sub.bcrypt.dll_BCryptCreateHash
push 0
test eax, eax
jns 0x450d8f
push dword [ebp - 0x138]
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488f07
mov esp, ebp
pop ebp
ret
push esi
push edi
push dword [ebp - 0x134]
call sub.bcrypt.dll_BCryptHashData
push 0
test eax, eax
jns 0x450dcb
push dword [ebp - 0x138]
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
push dword [ebp - 0x134]
call sub.bcrypt.dll_BCryptDestroyHash
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00488f07
mov esp, ebp
pop ebp
ret
push 0x20
lea eax, [ebp - 0x24]
xorps xmm0, xmm0
push eax
push dword [ebp - 0x134]
movups xmmword [ebp - 0x24], xmm0
movups xmmword [ebp - 0x14], xmm0
call sub.bcrypt.dll_BCryptFinishHash
push 0
test eax, eax
js 0x450da2
push 0
push str.ECDSA_P256
lea eax, [ebp - 0x13c]
push eax
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
push 0
test eax, eax
js 0x450da2
movups xmm0, xmmword [0x4d6360]
push 0x48
lea eax, [ebp - 0x6c]
mov dword [ebp - 0x6c], 0x31534345
movups xmmword [ebp - 0x64], xmm0
push eax
movups xmm0, xmmword [0x4d6370]
lea eax, [ebp - 0x140]
mov dword [ebp - 0x68], 0x20
push eax
movups xmmword [ebp - 0x54], xmm0
push str.ECCPUBLICBLOB
movups xmm0, xmmword [0x4d6380]
push 0
push dword [ebp - 0x13c]
movups xmmword [ebp - 0x44], xmm0
movups xmm0, xmmword [0x4d6390]
movups xmmword [ebp - 0x34], xmm0
call sub.bcrypt.dll_BCryptImportKeyPair
test eax, eax
jns 0x450e88
push 0
push dword [ebp - 0x138]
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
push dword [ebp - 0x134]
call sub.bcrypt.dll_BCryptDestroyHash
push 0
push dword [ebp - 0x13c]
jmp 0x450d77
add esi, edi
mov byte [ebp - 0xb0], 0
add esi, ebx
je 0x450ea4
mov ecx, 0x20
lea edi, [ebp - 0x130]
rep movsd dword es:[edi], dword [esi]
jmp 0x450eca
push 0x80
lea eax, [ebp - 0x130]
push 0
push eax
call fcn.0048b4c0
add esp, 0xc
call fcn.0048e2de
mov dword [eax], 0x16
call fcn.0048e1a0
push 0x40
lea eax, [ebp - 0xac]
push 0
push eax
call fcn.0048b4c0
lea eax, [ebp - 0xac]
push eax
lea eax, [ebp - 0x130]
push 0x80
push eax
call fcn.00450fa0
add esp, 0x18
test al, al
jne 0x450f17
push str.Unable_to_convert_hex_string_into_binary
push 0xc8
push str.NWebAdvisor::NSignatureCheck::ForceVerifySignature
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterSignatureCheck.cpp
push 1
call fcn.00449540
add esp, 0x14
push 0
push 0x40
lea eax, [ebp - 0xac]
push eax
push 0x20
lea eax, [ebp - 0x24]
push eax
push 0
push dword [ebp - 0x140]
call sub.bcrypt.dll_BCryptVerifySignature
test eax, eax
setns bl
test eax, eax
jns 0x450f5c
push str.File_Signature_Verification_failed
push 0xd0
push str.NWebAdvisor::NSignatureCheck::ForceVerifySignature
push str.C:Jenkinsworkspacemer_WebAdvisor_XMLUpdater_master_srcXmlUpdaterSignatureCheck.cpp
push 1
call fcn.00449540
add esp, 0x14
push 0
push dword [ebp - 0x138]
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
push 0
push dword [ebp - 0x13c]
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
push dword [ebp - 0x134]
call sub.bcrypt.dll_BCryptDestroyHash
push dword [ebp - 0x140]
call sub.bcrypt.dll_BCryptDestroyKey
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00488f07
mov esp, ebp
pop ebp
ret