Function at 0x1400174dc
Capabilities:
Decode data using base64 via winapi

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov r15, rcx
mov r14, rdx
mov rcx, qword [rcx + 8]
lea rdx, [rax - 0x50]
xor edi, edi
mov qword [rax - 0x58], rcx
mov qword [rax - 0x50], rdi
call qword [sym.imp.ntdll.dll_RtlEnumerateGenericTableWithoutSplayingAvl]
nop dword [rax + rax]
test rax, rax
mov qword [rsp + 0x50], rax
mov rbp, rax
setne byte [rsp + 0x58]
test rax, rax
je 0x1400178b6
lea r12d, [rdi + 0x18]
mov ecx, r12d
lea rdx, [0x140037388]
call fcn.140033b94
mov rbx, qword [r14]
mov rsi, rax
cmp rbx, rax
je 0x14001757f
test rbx, rbx
je 0x140017579
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140017560
call fcn.140033d70
mov rcx, qword [rbx + 0x10]
test rcx, rcx
je 0x14001756e
call fcn.140033d70
mov rdx, r12
mov rcx, rbx
call fcn.140033d70
mov qword [r14], rsi
mov rbx, rsi
test rbx, rbx
jne 0x140017590
lea r8, str._keyInfo___NULL
jmp 0x1400177cd
xor eax, eax
mov qword [rsp + 0xb8], rdi
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov r13, qword [rbp]
lea r12d, [rax + 0x2d]
mov r8b, byte [r15 + 0x10]
test r13, r13
je 0x140017600
mov al, r8b
neg al
mov rax, r13
sbb rcx, rcx
and rcx, 0xffffffffffffffec
add rcx, r12
mov rdx, rcx
cmp word [rax], di
je 0x1400175d9
add rax, 2
sub rcx, 1
jne 0x1400175ca
mov rax, rcx
mov esi, 0x80070057
neg rax
sbb ebx, ebx
sub rdx, rcx
not ebx
and ebx, esi
neg rcx
sbb rax, rax
and rax, rdx
mov qword [rsp + 0xb8], rax
jmp 0x140017607
mov esi, 0x80070057
mov ebx, esi
test ebx, ebx
jns 0x140017617
lea r8, str._StringCchLengthW_keyIdStr__keyList__GetKeyIdCharacterLength____1__base64KeyIdLength__
jmp 0x1400177d2
neg r8b
lea rdx, [0x140037388]
sbb rcx, rcx
and rcx, 0xfffffffffffffff0
add rcx, 0x20
call fcn.140033d7c
mov rdx, rax
mov rax, qword [r14]
mov qword [rax + 0x10], rdx
mov rdx, qword [r14]
cmp qword [rdx + 0x10], rdi
jne 0x140017650
lea r8, str._keyInfo__keyId___NULL
jmp 0x1400177cd
mov al, byte [r15 + 0x10]
mov ebx, 0xfffffff0
neg al
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], rdi
mov r8d, 1
sbb ecx, ecx
and ecx, ebx
add ecx, 0x20
mov dword [rdx + 4], ecx
mov al, byte [r15 + 0x10]
mov r9, qword [r14]
neg al
mov edx, dword [rsp + 0xb8]
lea rax, [rsp + 0xa0]
sbb ecx, ecx
mov qword [rsp + 0x20], rax
and ecx, ebx
add ecx, 0x20
mov dword [rsp + 0xa0], ecx
mov rcx, r13
mov r9, qword [r9 + 0x10]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
nop dword [rax + rax]
test eax, eax
jne 0x140017720
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
mov edx, 0x800700ea
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
cmp ebx, edx
jne 0x1400176fb
mov al, byte [r15 + 0x10]
lea r8, str.The_encryption_key_ID_is_longer_than_the_required_length__1_u_._n
neg al
sbb r9d, r9d
xor ecx, ecx
and r9d, 0xfffffff0
add r9d, 0x20
call fcn.140001670
jmp 0x140017716
mov r9, r13
lea r8, str.Failed_to_decode_the_base64_encoded_encryption_key_ID_string___1__to_32_byte_binary_data._n
mov edx, ebx
xor ecx, ecx
call fcn.140001670
test ebx, ebx
jns 0x1400178d9
mov edx, 0x4b3
jmp 0x140017878
mov al, byte [r15 + 0x10]
mov r13d, 0x20
mov r8d, dword [rsp + 0xa0]
neg al
sbb r9d, r9d
and r9d, ebx
add r9d, r13d
cmp r8d, r9d
je 0x14001775a
lea rdx, str.The_encryption_key_ID_has_wrong_length__1_u_._The_required_length_is__2_u_._n
xor ecx, ecx
call fcn.14000169c
mov edx, 0x4b9
jmp 0x1400178c0
mov rbp, qword [rbp + 8]
mov r15, rdi
test rbp, rbp
je 0x140017795
mov rcx, r12
mov rax, rbp
cmp word [rax], di
je 0x14001777b
add rax, 2
sub rcx, 1
jne 0x14001776c
mov rax, rcx
neg rax
sbb ebx, ebx
sub r12, rcx
not ebx
and ebx, esi
neg rcx
sbb r15, r15
and r15, r12
jmp 0x140017797
mov ebx, esi
test ebx, ebx
jns 0x1400177a4
lea r8, str._StringCchLengthW_keyStr__KeySectionHandler::EncryptionKeyCharacterLength__1__base64KeyLength__
jmp 0x1400177d2
lea rdx, [0x140037388]
mov rcx, r13
call fcn.140033d7c
mov rcx, rax
mov rax, qword [r14]
mov qword [rax + 8], rcx
mov rax, qword [r14]
cmp qword [rax + 8], rdi
jne 0x1400177e3
lea r8, str._keyInfo__key___NULL
mov ebx, 0x8007000e
xor r9d, r9d
mov edx, ebx
mov cl, 1
call fcn.14000153c
jmp 0x1400178d9
mov dword [rax], r13d
mov r8d, 1
mov r9, qword [r14]
lea rax, [rsp + 0xb0]
mov dword [rsp + 0xb0], r13d
mov edx, r15d
mov qword [rsp + 0x30], rdi
mov rcx, rbp
mov qword [rsp + 0x28], rdi
mov r9, qword [r9 + 8]
mov qword [rsp + 0x20], rax
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryW]
nop dword [rax + rax]
test eax, eax
jne 0x140017891
call qword [sym.imp.KERNEL32.dll_GetLastError]
nop dword [rax + rax]
movzx ebx, ax
mov edx, 0x800700ea
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
xor ecx, ecx
cmp ebx, edx
jne 0x14001785e
mov r9d, r13d
lea r8, str.The_encryption_key_is_longer_than_the_required_length__1_u_._n
call fcn.140001670
jmp 0x140017873
mov r9, rbp
lea r8, str.Failed_to_decode_the_base64_encoded_encryption_key_string___1__to_32_byte_binary_data._n
mov edx, ebx
call fcn.140001670
test ebx, ebx
jns 0x1400178d9
mov edx, 0x4d9
mov rcx, qword [rsp + 0x98]
lea r8, str.onecoreprintscan_appxpackaging_toolsmakeappx_srcpackagebuilder.cpp
mov r9d, ebx
call fcn.140002204
jmp 0x1400178d9
mov r8d, dword [rsp + 0xb0]
cmp r8d, r13d
je 0x1400178db
mov r9d, r13d
lea rdx, str.The_encryption_key_has_wrong_length__1_u_._The_required_length_is__2_u_._n
xor ecx, ecx
call fcn.14000169c
mov edx, 0x4df
jmp 0x1400178c0
mov esi, 0x80070057
mov edx, 0x4e6
mov rcx, qword [rsp + 0x98]
lea r8, str.onecoreprintscan_appxpackaging_toolsmakeappx_srcpackagebuilder.cpp
mov r9d, esi
call fcn.140002204
mov ebx, esi
mov edi, ebx
mov rbx, qword [rsp + 0xa8]
mov eax, edi
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret