Function at 0x1400e8420
Capabilities:
Hash data via bcrypt

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xc8]
sub rsp, 0x1c8
mov rax, qword [0x14039bc30]
xor rax, rsp
mov qword [rbp + 0xb0], rax
movsxd rbx, edx
mov r9, r8
mov rdi, rcx
test rcx, rcx
je 0x1400e879b
mov esi, 4
lea ecx, [rsi - 2]
cmp ebx, 3
jle 0x1400e848b
mov r8, qword [0x14039b7c8]
movzx eax, word [rbx + rdi - 3]
cmp ax, word [r8]
jne 0x1400e848b
movzx eax, byte [rbx + rdi - 1]
cmp al, byte [r8 + 2]
jne 0x1400e848b
mov esi, 6
mov ecx, 3
sub ebx, ecx
sub ebx, esi
sub ebx, 0x80
js 0x1400e879b
mov dword [r9], ebx
lea rdx, str.SHA256
xor r9d, r9d
lea rcx, [rsp + 0x48]
xor r8d, r8d
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
test eax, eax
js 0x1400e879b
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x50]
mov qword [rsp + 0x1c0], r14
xor r9d, r9d
xor r14d, r14d
xor r8d, r8d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
call sub.bcrypt.dll_BCryptCreateHash
test eax, eax
jns 0x1400e8521
mov rcx, qword [rsp + 0x48]
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
xor al, al
mov r14, qword [rsp + 0x1c0]
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14013af80
add rsp, 0x1c8
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
call sub.bcrypt.dll_BCryptHashData
test eax, eax
js 0x1400e8577
mov rcx, qword [rsp + 0x50]
lea rdx, [rbp]
xorps xmm0, xmm0
xor r9d, r9d
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
lea r8d, [r9 + 0x20]
call sub.bcrypt.dll_BCryptFinishHash
test eax, eax
js 0x1400e8577
xor r9d, r9d
lea rdx, str.ECDSA_P256
xor r8d, r8d
lea rcx, [rsp + 0x58]
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
test eax, eax
jns 0x1400e8592
mov rcx, qword [rsp + 0x48]
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov rcx, qword [rsp + 0x50]
call sub.bcrypt.dll_BCryptDestroyHash
jmp 0x1400e84fc
movaps xmm0, xmmword [0x1402f5a60]
lea r9, [rsp + 0x60]
movaps xmm1, xmmword [0x1402f5a70]
lea r8, str.ECCPUBLICBLOB
mov rcx, qword [rsp + 0x58]
xor edx, edx
movups xmmword [rbp + 0x68], xmm0
mov dword [rsp + 0x30], r14d
movaps xmm0, xmmword [0x1402f5a80]
movups xmmword [rbp + 0x78], xmm1
mov dword [rsp + 0x40], 0x31534345
movaps xmm1, xmmword [0x1402f5a90]
mov dword [rsp + 0x44], 0x20
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x60], rax
lea rax, [rbp + 0x60]
mov dword [rsp + 0x28], 0x48
mov qword [rsp + 0x20], rax
movups xmmword [rbp + 0x88], xmm0
movups xmmword [rbp + 0x98], xmm1
call sub.bcrypt.dll_BCryptImportKeyPair
test eax, eax
jns 0x1400e8631
mov rcx, qword [rsp + 0x48]
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov rcx, qword [rsp + 0x50]
call sub.bcrypt.dll_BCryptDestroyHash
mov rcx, qword [rsp + 0x58]
xor edx, edx
jmp 0x1400e84f7
xor eax, eax
mov byte [rbp - 0x10], al
lea eax, [rbx + rsi]
add rax, rdi
je 0x1400e8680
movups xmm0, xmmword [rax]
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rsp + 0x70], xmm0
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x80], xmm1
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x70], xmm0
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp - 0x60], xmm1
movups xmm1, xmmword [rax + 0x50]
movaps xmmword [rbp - 0x50], xmm0
movups xmm0, xmmword [rax + 0x60]
movaps xmmword [rbp - 0x40], xmm1
movups xmm1, xmmword [rax + 0x70]
movaps xmmword [rbp - 0x30], xmm0
movaps xmmword [rbp - 0x20], xmm1
jmp 0x1400e86b4
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
call fcn.1401484c0
mov dword [rax], 0x16
call fcn.1401421b8
xorps xmm0, xmm0
lea r8, [rbp + 0x20]
mov edx, 0x80
lea rcx, [rsp + 0x70]
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
call fcn.1400e87b0
test al, al
jne 0x1400e8708
lea rax, str.Unable_to_convert_hex_string_into_binary
mov r9d, 0xd1
lea r8, str.XMLUpdater::v2::NSignatureCheck::ForceVerifySignature
mov qword [rsp + 0x20], rax
lea rdx, str.E:BT71e4c9fa_1978_4386_a3da_49ea31fa22b7WebAdvisor_XmlUpdater_srcXmlUpdaterSignatureCheck.cpp
mov ecx, 1
call fcn.1400da630
mov rcx, qword [rsp + 0x60]
lea rax, [rbp + 0x20]
mov dword [rsp + 0x30], r14d
lea r8, [rbp]
mov dword [rsp + 0x28], 0x40
mov r9d, 0x20
xor edx, edx
mov qword [rsp + 0x20], rax
call sub.bcrypt.dll_BCryptVerifySignature
test eax, eax
setns bl
test eax, eax
jns 0x1400e8767
lea rax, str.File_Signature_Verification_failed
mov r9d, 0xd9
lea r8, str.XMLUpdater::v2::NSignatureCheck::ForceVerifySignature
mov qword [rsp + 0x20], rax
lea rdx, str.E:BT71e4c9fa_1978_4386_a3da_49ea31fa22b7WebAdvisor_XmlUpdater_srcXmlUpdaterSignatureCheck.cpp
mov ecx, 1
call fcn.1400da630
mov rcx, qword [rsp + 0x48]
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov rcx, qword [rsp + 0x58]
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov rcx, qword [rsp + 0x50]
call sub.bcrypt.dll_BCryptDestroyHash
mov rcx, qword [rsp + 0x60]
call sub.bcrypt.dll_BCryptDestroyKey
movzx eax, bl
jmp 0x1400e84fe
xor al, al
jmp 0x1400e8506