Function at 0x14007aa60
Capabilities:
Hash data via bcrypt

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x100]
sub rsp, 0x200
mov rax, qword [0x140214ba0]
xor rax, rsp
mov qword [rbp + 0xf0], rax
movsxd rbx, edx
mov rdi, rcx
test rcx, rcx
je 0x14007ab18
mov esi, 4
lea ecx, [rsi - 2]
cmp word [rbx + rdi - 3], 0x2d2d
jne 0x14007aab8
cmp byte [rbx + rdi - 1], 0x3e
jne 0x14007aab8
mov esi, 6
mov ecx, 3
sub ebx, ecx
sub ebx, esi
sub ebx, 0x80
js 0x14007ab18
mov dword [r8], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SHA256
lea rcx, [rbp - 0x78]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x14007ab18
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, [rbp - 0x70]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.bcrypt.dll_BCryptCreateHash]
test eax, eax
jns 0x14007ab37
xor edx, edx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
xor al, al
mov rcx, qword [rbp + 0xf0]
xor rcx, rsp
call fcn.14014f8e0
add rsp, 0x200
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.bcrypt.dll_BCryptHashData]
test eax, eax
jns 0x14007ab66
xor edx, edx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
jmp 0x14007ab18
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
xor r9d, r9d
lea r8d, [r9 + 0x20]
lea rdx, [rbp + 0x40]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.bcrypt.dll_BCryptFinishHash]
test eax, eax
js 0x14007ab4e
xor r9d, r9d
xor r8d, r8d
lea rdx, str.ECDSA_P256
lea rcx, [rbp - 0x68]
call qword [sym.imp.bcrypt.dll_BCryptOpenAlgorithmProvider]
test eax, eax
js 0x14007ab4e
mov dword [rsp + 0x50], 0x31534345
mov dword [rsp + 0x54], 0x20
mov rax, qword [rsp + 0x50]
mov qword [rbp + 0xa0], rax
movaps xmm0, xmmword [0x1401ed620]
movups xmmword [rbp + 0xa8], xmm0
movaps xmm1, xmmword [0x1401ed630]
movups xmmword [rbp + 0xb8], xmm1
movaps xmm0, xmmword [0x1401ed640]
movups xmmword [rbp + 0xc8], xmm0
movaps xmm1, xmmword [0x1401ed650]
movups xmmword [rbp + 0xd8], xmm1
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 0x48
lea rax, [rbp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x60]
lea r8, str.ECCPUBLICBLOB
xor edx, edx
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.bcrypt.dll_BCryptImportKeyPair]
test eax, eax
jns 0x14007ac4e
xor edx, edx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
xor edx, edx
mov rcx, qword [rbp - 0x68]
jmp 0x14007ab12
xor eax, eax
mov byte [rbp + 0x30], al
lea eax, [rbx + rsi]
add rax, rdi
je 0x14007ac9c
movups xmm0, xmmword [rax]
movaps xmmword [rbp - 0x50], xmm0
movups xmm1, xmmword [rax + 0x10]
movaps xmmword [rbp - 0x40], xmm1
movups xmm0, xmmword [rax + 0x20]
movaps xmmword [rbp - 0x30], xmm0
movups xmm1, xmmword [rax + 0x30]
movaps xmmword [rbp - 0x20], xmm1
movups xmm0, xmmword [rax + 0x40]
movaps xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rax + 0x50]
movaps xmmword [rbp], xmm1
movups xmm0, xmmword [rax + 0x60]
movaps xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rax + 0x70]
movaps xmmword [rbp + 0x20], xmm1
jmp 0x14007accf
xorps xmm0, 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
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
call fcn.140156ec0
mov dword [rax], 0x16
call fcn.140156ae0
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
movups xmmword [rbp + 0x90], xmm0
lea r8, [rbp + 0x60]
lea rcx, [rbp - 0x50]
call fcn.14007a8b0
mov edi, 0xffffffff
test al, al
jne 0x14007ad93
lea rcx, [0x140226720]
call sub.KERNEL32.dll_AcquireSRWLockShared
mov rax, qword [0x140226708]
test rax, rax
je 0x14007ad1e
lock inc dword [rax + 8]
movups xmm0, xmmword [0x140226700]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x58], xmm0
lea rcx, [0x140226720]
call sub.KERNEL32.dll_ReleaseSRWLockShared
nop
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, str.Unable_to_convert_hex_string_into_binary
call qword [rax + VariantCopy]
nop
movups xmm0, xmmword [rsp + 0x40]
psrldq xmm0, 8
movq rcx, xmm0
test rcx, rcx
je 0x14007ad93
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007ad93
mov rbx, qword [rsp + 0x60]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14007ad93
mov rcx, qword [rsp + 0x60]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
mov dword [rsp + 0x30], r14d
mov dword [rsp + 0x28], 0x40
lea rax, [rbp + 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20
lea r8, [rbp + 0x40]
xor edx, edx
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.bcrypt.dll_BCryptVerifySignature]
test eax, eax
setns sil
test eax, eax
jns 0x14007aee8
lea rcx, [0x140226720]
call sub.KERNEL32.dll_AcquireSRWLockShared
mov rax, qword [0x140226708]
test rax, rax
je 0x14007ade9
lock inc dword [rax + 8]
movups xmm0, xmmword [0x140226700]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x68], xmm0
lea rcx, [0x140226720]
call sub.KERNEL32.dll_ReleaseSRWLockShared
nop
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, str.File_Signature_Verification_failed
call qword [rax + VariantCopy]
nop
movups xmm0, xmmword [rsp + 0x40]
psrldq xmm0, 8
movq rcx, xmm0
test rcx, rcx
je 0x14007ae5e
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007ae5e
mov rbx, qword [rsp + 0x70]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14007ae5e
mov rcx, qword [rsp + 0x70]
mov rax, qword [rcx]
call qword [rax + VariantCopy]
lea rcx, [0x140226720]
call sub.KERNEL32.dll_AcquireSRWLockShared
mov rax, qword [0x140226708]
test rax, rax
je 0x14007ae7a
lock inc dword [rax + 8]
movups xmm0, xmmword [0x140226700]
movups xmmword [rsp + 0x40], xmm0
movups xmmword [rsp + 0x78], xmm0
lea rcx, [0x140226720]
call sub.KERNEL32.dll_ReleaseSRWLockShared
nop
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
lea rdx, [rbp - 0x50]
call qword [rax + VariantCopy]
nop
movups xmm0, xmmword [rsp + 0x40]
psrldq xmm0, 8
movq rcx, xmm0
test rcx, rcx
je 0x14007aee8
mov eax, edi
lock xadd dword [rcx + 8], eax
cmp eax, 1
jne 0x14007aee8
mov rbx, qword [rbp - 0x80]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x14007aee8
mov rcx, qword [rbp - 0x80]
mov rdx, qword [rcx]
call qword [rdx + VariantCopy]
xor edx, edx
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
xor edx, edx
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.bcrypt.dll_BCryptCloseAlgorithmProvider]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.bcrypt.dll_BCryptDestroyHash]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.bcrypt.dll_BCryptDestroyKey]
movzx eax, sil
jmp 0x14007ab1a