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

Disassembly:
mov rax, rsp
push r15
sub rsp, 0x260
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14044e770]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov rdi, rcx
movdqa xmm0, xmmword [0x14034f9b0]
movdqu xmmword [rsp + 0xb0], xmm0
xor esi, esi
mov byte [rsp + 0xa0], sil
call fcn.14019aad8
mov qword [rsp + 0xc8], rsi
lea rax, [rsp + 0xc0]
mov qword [rsp + 0xd0], rax
mov qword [rsp + 0xd8], rsi
mov dword [rsp + 0xe0], esi
lea rax, [rsp + 0x120]
mov qword [rsp + 0xe8], rax
lea rax, [rsp + 0xf8]
mov qword [rsp + 0xf0], rax
mov dword [rsp + 0xf8], esi
mov byte [rsp + 0xfc], sil
mov byte [rsp + 0x138], sil
mov dword [rsp + 0x120], esi
lea rax, [0x140326bf0]
mov qword [rsp + 0x128], rax
mov qword [rsp + 0x130], rsi
mov qword [rsp + 0x140], 1
mov qword [rsp + 0x1d8], rsi
xor edx, edx
mov r8d, 0x90
lea rcx, [rsp + 0x148]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
xor eax, eax
mov qword [rsp + 0x1e0], rax
mov qword [rsp + 0x1e8], rax
mov qword [rsp + 0x1f0], rsi
lea r15, vtable.sense::CommonTelemetry::OctagonReportActivity.0
mov qword [rsp + 0xc0], r15
lea rcx, [rsp + 0xc0]
call fcn.140199e4c
nop
lea rdx, [rsp + 0xa0]
mov rcx, rdi
call fcn.14019ac9c
mov ebx, eax
mov edx, eax
lea rcx, [rsp + 0xc0]
call fcn.140181ee8
mov rcx, qword [rsp + 0x268]
lea rax, str.Failed_to_get_SGRM_Report
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, str.amcorewcd_source_behaviormonitor_srcoctagonreportaction.cpp
lea edx, [rsi + 0x53]
call fcn.140069ec4
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + 0x48]
call fcn.14019bd20
nop
mov rax, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x48]
sub rax, rbx
sar rax, 5
cmp rax, 3
je 0x14019a59d
call fcn.140298678
mov rbx, qword [rsp + 0x48]
add rbx, 0x20
mov dword [rsp + 0x40], esi
mov rcx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14019a5b2
mov rcx, qword [rbx]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 1]
mov edx, dword [rbx + 0x10]
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x14019aa50
mov edx, dword [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140073a64
nop
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 0x10
jb 0x14019a5fb
mov rbx, qword [rbx]
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x20], rcx
mov r9, qword [rsp + 0x60]
mov r8d, 1
mov edx, eax
mov rcx, rbx
call qword [sym.imp.CRYPT32.dll_CryptStringToBinaryA]
test eax, eax
je 0x14019aa92
mov ebx, dword [rsp + 0x40]
movdqa xmm0, xmmword [0x14034f9b0]
movdqu xmmword [rsp + 0x210], xmm0
mov byte [rsp + 0x200], sil
lea rcx, [rsp + 0x200]
cmp rbx, 0xf
ja 0x14019a678
mov qword [rsp + 0x210], rbx
mov r8d, ebx
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll_memmove]
mov byte [rsp + rbx + 0x200], sil
jmp 0x14019a686
mov r9, qword [rsp + 0x60]
mov rdx, rbx
call fcn.1400640b0
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14019a6ca
mov rax, qword [rsp + 0x70]
sub rax, rcx
mov rdx, rcx
cmp rax, 0x1000
jb 0x14019a6c5
test dl, 0x1f
jne 0x14019a6be
mov rcx, qword [rcx - 8]
cmp rcx, rdx
jae 0x14019a6be
sub rdx, rcx
sub rdx, 8
cmp rdx, 0x1f
jbe 0x14019a6c5
call qword [sym.imp.api_ms_win_crt_private_l1_1_0.dll__o__invalid_parameter_noinfo_noreturn]
int3
call fcn.1402aed28
lea rdx, [rsp + 0x200]
lea rcx, [rdi + 0x30]
call fcn.140083ac8
lea rcx, [rsp + 0x200]
call fcn.140052244
mov r8d, 0xfde9
lea rdx, [rdi + 0x30]
lea rcx, [rsp + 0x200]
call fcn.14008cc90
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.1401724cc
lea rbx, [rdi + 0x28]
cmp rbx, rax
je 0x14019a722
mov r8, qword [rbx]
mov rcx, qword [rax]
mov qword [rbx], rcx
mov qword [rax], r8
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14019a742
mov rax, qword [rcx]
mov edx, 1
mov rax, qword [rax + 0xc0]
call qword [str.PM_]
nop
lea rcx, [rsp + 0x200]
call fcn.14004b500
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rax, qword [rax + 0x58]
call qword [str.PM_]
cmp eax, 5
jne 0x14019a769
call fcn.140298678
movdqa xmm0, xmmword [0x14034f9a0]
movdqu xmmword [rsp + 0x90], xmm0
mov word [rsp + 0x80], si
lea rdx, str.nonce
lea rcx, [rsp + 0x200]
call fcn.14004a9e4
nop
lea r8, [rsp + 0x80]
lea rdx, [rsp + 0x200]
mov rcx, rbx
call fcn.140084de4
mov bl, al
lea rcx, [rsp + 0x200]
call fcn.14004b500
test bl, bl
jne 0x14019a86f
call fcn.14004acb4
mov rcx, qword [rax + 8]
cmp dword [rcx], 3
jbe 0x14019a816
lea rax, str.Incorrect_SGRM_Report._Nonce_value_is_missing
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x228], 0x5c
lea rax, [rsp + 0x200]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140398c66]
call fcn.140001158
call fcn.140298678
nop
lea rcx, [rsp + 0x80]
call fcn.14004b500
nop
lea rcx, [rsp + 0x48]
call fcn.1400b75e8
nop
mov qword [rsp + 0xc0], r15
lea rcx, [rsp + 0xc0]
call fcn.140181adc
lea rcx, [rsp + 0xc0]
call fcn.140180f44
nop
lea rcx, [rsp + 0xa0]
call fcn.140052244
mov eax, 0x80004005
jmp 0x14019aa26
lea rbx, [rdi + 0x70]
xor r8d, r8d
lea rdx, [rsp + 0x80]
mov rcx, rbx
call fcn.1401ea5c4
test al, al
jne 0x14019a9d4
call fcn.14004acb4
mov r10, qword [rax + 8]
cmp dword [r10], 3
jbe 0x14019a97e
lea rax, str.unexpected_nonce_is_received_on_the_SGRM_Report
mov qword [rsp + 0x220], rax
mov qword [rsp + 0x228], 0x60
cmp qword [rbx + 0x18], 8
jb 0x14019a8c6
mov rbx, qword [rbx]
lea rdx, [0x14030cae0]
mov rcx, rdx
mov rax, rsi
test rbx, rbx
je 0x14019a8e8
mov rcx, rbx
or rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], si
jne 0x14019a8df
mov qword [rsp + 0x230], rcx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x238], eax
mov dword [rsp + 0x23c], esi
lea rcx, [rsp + 0x80]
cmp qword [rsp + 0x98], 8
cmovae rcx, qword [rsp + 0x80]
mov rax, rsi
test rcx, rcx
je 0x14019a937
mov rdx, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], si
jne 0x14019a92e
mov qword [rsp + 0x240], rdx
lea eax, [rax*2 + 2]
mov dword [rsp + 0x248], eax
mov dword [rsp + 0x24c], esi
lea rax, [rsp + 0x200]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140399116]
mov rcx, r10
call fcn.140001158
call fcn.140298678
nop
lea rcx, [rsp + 0x80]
call fcn.14004b500
nop
lea rcx, [rsp + 0x48]
call fcn.1400b75e8
nop
mov qword [rsp + 0xc0], r15
lea rcx, [rsp + 0xc0]
call fcn.140181adc
lea rcx, [rsp + 0xc0]
call fcn.140180f44
nop
lea rcx, [rsp + 0xa0]
call fcn.140052244
mov eax, 0x80004005
jmp 0x14019aa26
lea rcx, [rsp + 0x80]
call fcn.14004b500
nop
lea rcx, [rsp + 0x48]
call fcn.1400b75e8
nop
mov qword [rsp + 0xc0], r15
lea rcx, [rsp + 0xc0]
call fcn.140181adc
lea rcx, [rsp + 0xc0]
call fcn.140180f44
nop
lea rcx, [rsp + 0xa0]
call fcn.140052244
nop
xor eax, eax
jmp 0x14019aa26
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.1402ae860
lea r11, [rsp + 0x260]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140045e78
mov r9d, eax
mov rcx, qword [rsp + 0x268]
lea rax, str.base64Decode_failed_to_calculate_needed_size_of_converted_message
mov qword [rsp + 0x20], rax
lea r8, str.amcorewcd_sourceincconverters.h
mov edx, 0x144
call fcn.14004a5c0
nop
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
call fcn.140045e78
mov r9d, eax
mov rcx, qword [rsp + 0x268]
lea rax, str.base64Decode_failed
mov qword [rsp + 0x20], rax
lea r8, str.amcorewcd_sourceincconverters.h
mov edx, 0x154
call fcn.14004a5c0
int3