Function at 0x1400c86f0
Capabilities:
Hash data via bcrypt

Disassembly:
push rbp
push rbx
push rsi
push rdi
lea rbp, [rsp - 0xc8]
sub rsp, 0x1c8
mov rax, qword [0x14035dc30]
xor rax, rsp
mov qword [rbp + 0xb0], rax
movsxd rbx, edx
mov r9, r8
mov rdi, rcx
test rcx, rcx
je 0x1400c8a6b
mov esi, 4
lea ecx, [rsi - 2]
cmp ebx, 3
jle 0x1400c875b
mov r8, qword [str.01_]
movzx eax, word [rbx + rdi - 3]
cmp ax, word [r8]
jne 0x1400c875b
movzx eax, byte [rbx + rdi - 1]
cmp al, byte [r8 + 2]
jne 0x1400c875b
mov esi, 6
mov ecx, 3
sub ebx, ecx
sub ebx, esi
sub ebx, 0x80
js 0x1400c8a6b
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 0x1400c8a6b
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 0x1400c87f1
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.140269300
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 0x1400c8847
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 0x1400c8847
xor r9d, r9d
lea rdx, str.ECDSA_P256
xor r8d, r8d
lea rcx, [rsp + 0x58]
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
test eax, eax
jns 0x1400c8862
mov rcx, qword [rsp + 0x48]
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov rcx, qword [rsp + 0x50]
call sub.bcrypt.dll_BCryptDestroyHash
jmp 0x1400c87cc
movaps xmm0, xmmword [0x1402c4610]
lea r9, [rsp + 0x60]
movaps xmm1, xmmword [0x1402c4620]
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 [0x1402c4630]
movups xmmword [rbp + 0x78], xmm1
mov dword [rsp + 0x40], 0x31534345
movaps xmm1, xmmword [0x1402c4640]
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 0x1400c8901
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 0x1400c87c7
xor eax, eax
mov byte [rbp - 0x10], al
lea eax, [rbx + rsi]
add rax, rdi
je 0x1400c8950
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 0x1400c8984
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.14027932c
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.140277fd8
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.1400c8a80
test al, al
jne 0x1400c89d8
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:BT42dac55d_4355_4669_9ab8_31cc00ddc957WebAdvisor_XmlUpdater_srcXmlUpdaterSignatureCheck.cpp
mov ecx, 1
call fcn.1400bfe30
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 0x1400c8a37
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:BT42dac55d_4355_4669_9ab8_31cc00ddc957WebAdvisor_XmlUpdater_srcXmlUpdaterSignatureCheck.cpp
mov ecx, 1
call fcn.1400bfe30
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 0x1400c87ce
xor al, al
jmp 0x1400c87d6