Function at 0x1402050e0
Capabilities:
Hash data via bcrypt

Disassembly:
push rbp
push rbx
push rdi
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x1403ddfb8]
xor rax, rsp
mov qword [rbp + 0xb0], rax
movsxd rbx, edx
mov r9, r8
mov rdi, rcx
test rcx, rcx
jne 0x140205119
xor al, al
jmp 0x14020547c
mov qword [rsp + 0x1c8], rsi
mov esi, 4
lea ecx, [rsi - 2]
cmp ebx, 3
jle 0x14020515a
mov r8, qword [0x1403ddbd8]
lea rdx, [rbx + rdi]
mov rax, rbx
movzx eax, word [rdx - 3]
cmp ax, word [r8]
jne 0x14020515a
movzx eax, byte [rdx - 1]
cmp al, byte [r8 + 2]
jne 0x14020515a
mov esi, 6
mov ecx, 3
sub ebx, ecx
sub ebx, esi
sub ebx, 0x80
js 0x140205184
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
jns 0x14020518b
xor al, al
jmp 0x140205474
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 0x1402051d1
mov rcx, qword [rsp + 0x48]
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
xor al, al
jmp 0x14020546c
mov rcx, qword [rsp + 0x50]
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
call sub.bcrypt.dll_BCryptHashData
test eax, eax
js 0x14020523d
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x68]
xor eax, eax
mov byte [rsp + 0x68], r14b
xor r9d, r9d
mov qword [rsp + 0x69], rax
mov qword [rsp + 0x71], rax
mov qword [rsp + 0x79], rax
lea r8d, [rax + 0x20]
mov dword [rbp - 0x7f], eax
mov word [rbp - 0x7b], ax
mov byte [rbp - 0x79], al
call sub.bcrypt.dll_BCryptFinishHash
test eax, eax
js 0x14020523d
xor r9d, r9d
lea rdx, str.ECDSA_P256
xor r8d, r8d
lea rcx, [rsp + 0x58]
call sub.bcrypt.dll_BCryptOpenAlgorithmProvider
test eax, eax
jns 0x14020525a
mov rcx, qword [rsp + 0x48]
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov rcx, qword [rsp + 0x50]
call sub.bcrypt.dll_BCryptDestroyHash
xor al, al
jmp 0x14020546c
movaps xmm1, xmmword [0x140305a00]
lea rax, [rbp - 0x70]
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x60]
movups xmmword [rbp - 0x68], xmm1
lea r8, str.ECCPUBLICBLOB
mov dword [rsp + 0x30], r14d
movaps xmm1, xmmword [0x140305a20]
xor edx, edx
mov dword [rsp + 0x40], 0x31534345
mov dword [rsp + 0x44], 0x20
movsd xmm0, qword [rsp + 0x40]
movsd qword [rbp - 0x70], xmm0
movaps xmm0, xmmword [0x140305a10]
movups xmmword [rbp - 0x58], xmm0
mov dword [rsp + 0x28], 0x48
movaps xmm0, xmmword [0x140305a30]
movups xmmword [rbp - 0x38], xmm0
mov qword [rsp + 0x20], rax
movups xmmword [rbp - 0x48], xmm1
call sub.bcrypt.dll_BCryptImportKeyPair
xor edx, edx
test eax, eax
jns 0x1402052fc
mov rcx, qword [rsp + 0x48]
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
mov rcx, qword [rsp + 0x50]
call sub.bcrypt.dll_BCryptDestroyHash
mov rcx, qword [rsp + 0x58]
xor edx, edx
call sub.bcrypt.dll_BCryptCloseAlgorithmProvider
xor al, al
jmp 0x14020546c
mov r8d, 0x81
lea rcx, [rbp + 0x20]
call fcn.14028e7e0
lea ecx, [rbx + rsi]
add rcx, rdi
je 0x14020535a
movups xmm0, xmmword [rcx]
movups xmmword [rbp + 0x20], xmm0
movups xmm1, xmmword [rcx + 0x10]
movups xmmword [rbp + 0x30], xmm1
movups xmm0, xmmword [rcx + 0x20]
movups xmmword [rbp + 0x40], xmm0
movups xmm1, xmmword [rcx + 0x30]
movups xmmword [rbp + 0x50], xmm1
movups xmm0, xmmword [rcx + 0x40]
movups xmmword [rbp + 0x60], xmm0
movups xmm1, xmmword [rcx + 0x50]
movups xmmword [rbp + 0x70], xmm1
movups xmm0, xmmword [rcx + 0x60]
movups xmmword [rbp + 0x80], xmm0
movups xmm1, xmmword [rcx + 0x70]
movups xmmword [rbp + 0x90], xmm1
jmp 0x14020537b
xor edx, edx
lea rcx, [rbp + 0x20]
mov r8d, 0x80
call fcn.14028e7e0
call fcn.1402946c4
mov dword [rax], reloc.WS2_32.dll_shutdown
call fcn.1402904fc
xor eax, eax
lea r8, [rbp - 0x20]
mov edx, 0x80
mov qword [rbp - 0x20], rax
lea rcx, [rbp + 0x20]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov qword [rbp - 8], rax
mov qword [rbp], rax
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], rax
call fcn.1402054a0
test al, al
jne 0x1402053dd
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.SignatureCheck.cpp
mov ecx, 1
call fcn.1401fc9c0
mov rcx, qword [rsp + 0x60]
lea rax, [rbp - 0x20]
mov dword [rsp + 0x30], r14d
lea r8, [rsp + 0x68]
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 bl, bl
jne 0x14020543d
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.SignatureCheck.cpp
mov ecx, 1
call fcn.1401fc9c0
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
mov r14, qword [rsp + 0x1c0]
mov rsi, qword [rsp + 0x1c8]
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14026d870
add rsp, 0x1d0
pop rdi
pop rbx
pop rbp
ret