Function at 0x14008d170
Capabilities:
Hash data via bcrypt

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x130]
sub rsp, 0x230
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rbp + 0x120], rax
movsxd rbx, edx
mov rdi, rcx
test rcx, rcx
je 0x14008d231
mov esi, 4
lea ecx, [rsi - 2]
cmp ebx, 3
jle 0x14008d1cd
cmp word [rbx + rdi - 3], 0x2d2d
jne 0x14008d1cd
cmp byte [rbx + rdi - 1], 0x3e
jne 0x14008d1cd
mov esi, 6
mov ecx, 3
sub ebx, ecx
sub ebx, esi
sub ebx, 0x80
js 0x14008d231
mov dword [r8], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SHA256
lea rcx, [rsp + 0x50]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x14008d231
xor r14d, r14d
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], r14
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
jns 0x14008d250
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
xor al, al
mov rcx, qword [rbp + 0x120]
xor rcx, rsp
call fcn.14014f8e0
add rsp, 0x230
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
jns 0x14008d282
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
jmp 0x14008d231
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
xor r9d, r9d
lea r8d, [r9 + 0x20]
lea rdx, [rsp + 0x70]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.bcrypt.dll_BCryptFinishHash]
test eax, eax
js 0x14008d268
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ECDSA_P256
lea rcx, [rsp + 0x60]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x14008d268
mov dword [rsp + 0x40], 0x31534345
mov dword [rsp + 0x44], 0x20
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0xd0], rax
movaps xmm0, xmmword [0x1401ed620]
movups xmmword [rbp + 0xd8], xmm0
movaps xmm1, xmmword [0x1401ed630]
movups xmmword [rbp + 0xe8], xmm1
movaps xmm0, xmmword [0x1401ed640]
movups xmmword [rbp + 0xf8], xmm0
movaps xmm1, xmmword [0x1401ed650]
movups xmmword [rbp + 0x108], xmm1
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 0x48
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
lea r8, str.ECCPUBLICBLOB
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.bcrypt.dll_BCryptImportKeyPair]
test eax, eax
jns 0x14008d373
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
xor edx, edx
mov rcx, qword [rsp + 0x60]
jmp 0x14008d22b
xor eax, eax
mov byte [rbp + 0x10], al
lea eax, [rbx + rsi]
add rax, rdi
je 0x14008d3c1
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x50]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax + 0x60]
movaps xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x70]
movaps xmmword [rbp], xmm1
jmp 0x14008d3f4
xorps xmm0, 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
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
call fcn.140156ec0
mov dword [rax], 0x16
call fcn.140156ae0
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
movups xmmword [rbp + 0xa0], xmm0
movups xmmword [rbp + 0xb0], xmm0
movups xmmword [rbp + 0xc0], xmm0
lea r8, [rbp + 0x90]
lea rcx, [rbp - 0x70]
call fcn.14008cf50
lea rdi, str.SignatureUtils.cpp
lea rsi, vtable.std::ios_base.0
test al, al
jne 0x14008d48f
call fcn.1400553d0
mov r8d, 1
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.140055290
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], 0xcb
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.1400244b0
lea rdx, str.Unable_to_convert_hex_string_into_binary
lea rcx, [rbp - 0x70]
call fcn.1400244e0
lea rcx, [rbp + 0x28]
call fcn.140058d50
nop
mov qword [rbp + 0x28], rsi
lea rcx, [rbp + 0x28]
call fcn.140128970
nop
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 0x40
lea rax, [rbp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
lea r8, [rsp + 0x70]
xor edx, edx
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.bcrypt.dll_BCryptVerifySignature]
test eax, eax
setns bl
test eax, eax
jns 0x14008d523
call fcn.1400553d0
mov r8d, 1
lea rdx, [rbp - 0x70]
mov rcx, rax
call fcn.140055290
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], 0xd3
lea rdx, [rsp + 0x40]
lea rcx, [rbp - 0x70]
call fcn.1400244b0
lea rdx, str.File_Signature_Verification_failed
lea rcx, [rbp - 0x70]
call fcn.1400244e0
lea rcx, [rbp + 0x28]
call fcn.140058d50
nop
mov qword [rbp + 0x28], rsi
lea rcx, [rbp + 0x28]
call fcn.140128970
nop
xor edx, edx
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.bcrypt.dll_BCryptDestroyKey]
movzx eax, bl
jmp 0x14008d233