Function at 0x1400d4a70
Capabilities:
Check if file exists
Get common file path
Get file attributes
Set file attributes

Disassembly:
jmp 0x1400f8cf0
push rbp
push rdi
sub rsp, 0xa48
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x1c6
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1402de140]
xor rax, rbp
mov qword [rbp + 0xa08], rax
lea rcx, [0x1402fb102]
call fcn.1400d67a8
nop
mov r8d, 0x104
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
nop
lea rdx, [rbp + 0x10]
lea rcx, [rbp + 0x138]
call fcn.1400d37ab
nop
mov r8, 0xffffffffffffffff
lea rdx, [0x14028dc00]
lea rcx, [rbp + 0x138]
call fcn.1400d5231
mov r9, rax
xor r8d, r8d
lea rdx, [rbp + 0x178]
lea rcx, [rbp + 0x138]
call fcn.1400d3c6f
nop
lea rdx, [rbp + 0x1c0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetTempPathA]
test eax, eax
jne 0x1400f8dde
lea rdx, str.Failed_to_get_the_temporary_directory_path._n
lea rcx, [0x1402e0d30]
call fcn.1400d198d
nop
mov dword [rbp + 0x854], 1
lea rcx, [rbp + 0x178]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x138]
call fcn.1400d2054
mov eax, dword [rbp + 0x854]
jmp 0x1400f9295
mov edx, 0xa
lea rcx, [rbp + 0x878]
call fcn.1400d498f
mov qword [rbp + 0x9e8], rax
mov rax, qword [rbp + 0x9e8]
mov qword [rbp + 0x9f0], rax
lea r8, [0x14028dc40]
mov rdx, qword [rbp + 0x9f0]
lea rcx, [rbp + 0x2e8]
call fcn.1400d5fec
nop
lea rcx, [rbp + 0x878]
call fcn.1400d2054
nop
lea rdx, [rbp + 0x1c0]
lea rcx, [rbp + 0x8b8]
call fcn.1400d37ab
mov qword [rbp + 0x9e8], rax
mov rax, qword [rbp + 0x9e8]
mov qword [rbp + 0x9f0], rax
lea r8, [rbp + 0x2e8]
mov rdx, qword [rbp + 0x9f0]
lea rcx, [rbp + 0x328]
call fcn.1400d2e78
nop
lea rcx, [rbp + 0x8b8]
call fcn.1400d2054
nop
lea rdx, str._ECHO_OFF_n::_Use_the_directory_passed_from_the_EXE_nset_exeDir_1_necho_Running_from_directory:___exeDir___n::_Enable_ANSI_color_support_and_delayed_expansion_for_variable_manipulation_nsetlocal_EnableDelayedExpansion_n:menu_n_cls_nColor_07_nmode_95__36_nTITLE_Auto_Program_Basic_2024.9.5__x64____MAWTO_necho:_necho:_necho:_necho:______AutoProgramBasic__64_bit__necho:_________________________________________________________________________________________necho:_necho:_necho:_________Software_List:_necho:_necho:______________1__FastStone_Capture_10.7____________13_________Line_PC_9.2.0.3431_necho:______________2__FastStone_Image_Viewer_7.8________14________PotPlayer_1.7.22316_necho:______________3__Format_Factory_4.10.5_5.17.0______15__PartitionAssistant_10.4.2_necho:______________4__IObit_Uninstaller_13.6.0.5________16__Driver_Booster_11.6.0.128_necho:______________5__Wise_Care_365_6.7.5.650___________17_____UniConverter_15.7.0.41_necho:______________6__PDFelement_11.0.6.3108____________18_________Spotify_1.2.44.405_necho:______________7__IDM_v6.42.20______________________19____________Notepad_8.6.9_necho:______________8__WinRAR_v7.01______________________20_______TeamViewer_15.40.8.0_necho:______________9__Google_Chrome_130.0.6679.0________21_______________WinSCP_6.3.4_necho:______________10__HWiNFO_8.10______________________22_______Photoshop_CS6_13.1.2_necho:______________11__Everything_1.4.1.1026____________23___________WPS_Office_v12.2_necho:______________12__Nero_Burning_ROM_Express_2021____24__Office_2013_2024__online__necho:__________________________________________________________________________________necho:_necho:__________________________________a__Install_All__Except_24__necho:__________________________________x__Exit_necho:_necho:_________________________________________________________________________________________necho:_necho:_______________e_92mEnter_your_choices_in_the_list_with_the_keyboard__1_2_3..._:_e_0m_necho:_necho:_n::_Define_the_original_text_with_numbered_items_nset_line0______Confirmation_Page_nset_line1_________________________________________________________________________________________nset_line2_________Software_List:_nset_line3______________1__FastStone_Capture_10.7____________13_________Line_PC_9.2.0.3431_nset_line4______________2__FastStone_Image_Viewer_7.8________14________PotPlayer_1.7.22316_nset_line5______________3__Format_Factory_4.10.5_5.17.0______15__PartitionAssistant_10.4.2_nset_line6______________4__IObit_Uninstaller_13.6.0.5________16__Driver_Booster_11.6.0.128_nset_line7______________5__Wise_Care_365_6.7.5.650___________17_____UniConverter_15.7.0.41_nset_line8______________6__PDFelement_11.0.6.3108____________18_________Spotify_1.2.44.405_nset_line9______________7__IDM_v6.42.20______________________19____________Notepad_8.6.9_nset_line10______________8__WinRAR_v7.01______________________20_______TeamViewer_15.40.8.0_nset_line11______________9__Google_Chrome_130.0.6679.0________21_______________WinSCP_6.3.4_nset_line12______________10__HWiNFO_8.10______________________22_______Photoshop_CS6_13.1.2_nset_line13______________11__Everything_1.4.1.1026____________23___________WPS_Office_v12.2_nset_line14______________12__Nero_Burning_ROM_Express_2021____24__Office_2013_2024__online__nset_line15__________________________________________________________________________________n::_Ask_the_user_to_input_choices_nset__p_choices_Enter_your_choices:___nif___choices___x__goto_:exit_nif___choices___a__set_choices1_2_3_4_5_6_7_8_9_10_11_12_13_14_15_16_17_18_19_20_21_22_23_ncall_:show_selected_menu__choices__npause_n:show_selected_menu_n::_Loop_through_each_entered_number_and_replace_it_with_x_in_each_line_nfor___n_in___choices___do___n____set_line3_line3:___n_e_92m___e_0m__n____set_line4_line4:___n_e_92m___e_0m__n____set_line5_line5:___n_e_92m___e_0m__n____set_line6_line6:___n_e_92m___e_0m__n____set_line7_line7:___n_e_92m___e_0m__n____set_line8_line8:___n_e_92m___e_0m__n____set_line9
lea rcx, [rbp + 0x368]
call fcn.1400d37ab
nop
mov edx, 0x108
lea rcx, [rbp + 0x3b0]
call fcn.1400d32b5
mov dword [rsp + 0x20], 1
mov r9d, 0x40
mov r8d, 2
lea rdx, [rbp + 0x328]
lea rcx, [rbp + 0x3b0]
call fcn.1400d696f
nop
lea rcx, [rbp + 0x3b0]
call fcn.1400d4bb0
movzx eax, al
test eax, eax
je 0x1400f8eff
lea rdx, [rbp + 0x368]
lea rcx, [rbp + 0x3b0]
call fcn.1400d5d53
nop
lea rcx, [rbp + 0x3b0]
call fcn.1400d3cd8
nop
jmp 0x1400f8f75
lea rdx, str.Failed_to_create_the_batch_file._n
lea rcx, [0x1402e0d30]
call fcn.1400d198d
nop
mov dword [rbp + 0x8f4], 1
lea rcx, [rbp + 0x3b0]
call fcn.1400d2595
nop
lea rcx, [rbp + 0x368]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x328]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x2e8]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x178]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x138]
call fcn.1400d2054
mov eax, dword [rbp + 0x8f4]
jmp 0x1400f9295
lea rcx, [rbp + 0x328]
call fcn.1400d1811
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [rbp + 0x4d4], eax
cmp dword [rbp + 0x4d4], 0xffffffff
jne 0x1400f903e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x9e4], eax
lea rdx, str.Failed_to_get_the_file_attributes:
lea rcx, [0x1402e0d30]
call fcn.1400d198d
mov ecx, dword [rbp + 0x9e4]
mov edx, ecx
mov rcx, rax
call fcn.1400d3017
lea rdx, [0x1400d136b]
mov rcx, rax
call fcn.1400d3c92
nop
mov dword [rbp + 0x914], 1
lea rcx, [rbp + 0x3b0]
call fcn.1400d2595
nop
lea rcx, [rbp + 0x368]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x328]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x2e8]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x178]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x138]
call fcn.1400d2054
mov eax, dword [rbp + 0x914]
jmp 0x1400f9295
mov eax, dword [rbp + 0x4d4]
or eax, 6
mov dword [rbp + 0x4d4], eax
lea rcx, [rbp + 0x328]
call fcn.1400d1811
mov edx, dword [rbp + 0x4d4]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
jne 0x1400f90ab
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x9e4], eax
lea rdx, str.Failed_to_set_the_file_as_hidden_and_system:
lea rcx, [0x1402e0d30]
call fcn.1400d198d
mov ecx, dword [rbp + 0x9e4]
mov edx, ecx
mov rcx, rax
call fcn.1400d3017
lea rdx, [0x1400d136b]
mov rcx, rax
call fcn.1400d3c92
nop
mov edx, 0x1e
lea rcx, [rbp + 0x328]
call fcn.1400d1974
nop
lea r8, [0x140290874]
lea rdx, [rbp + 0x328]
lea rcx, [rbp + 0x938]
call fcn.1400d54c5
mov qword [rbp + 0x9e8], rax
mov rax, qword [rbp + 0x9e8]
mov qword [rbp + 0x9f0], rax
lea r8, [rbp + 0x178]
mov rdx, qword [rbp + 0x9f0]
lea rcx, [rbp + 0x978]
call fcn.1400d2e78
mov qword [rbp + 0x9f8], rax
mov rax, qword [rbp + 0x9f8]
mov qword [rbp + 0xa00], rax
lea r8, [0x140290870]
mov rdx, qword [rbp + 0xa00]
lea rcx, [rbp + 0x4f8]
call fcn.1400d5fec
nop
lea rcx, [rbp + 0x978]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x938]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x4f8]
call fcn.1400d1811
mov rcx, rax
call fcn.1400d38a0
mov dword [rbp + 0x534], eax
lea rcx, [rbp + 0x328]
call fcn.1400d1811
mov rcx, rax
call fcn.1400d6e47
nop
cmp dword [rbp + 0x534], 0
je 0x1400f922b
lea rdx, str.Command_execution_failed_with_error_code:
lea rcx, [0x1402e0d30]
call fcn.1400d198d
mov edx, dword [rbp + 0x534]
mov rcx, rax
call fcn.1400d1f19
lea rdx, [0x1400d136b]
mov rcx, rax
call fcn.1400d3c92
nop
mov eax, dword [rbp + 0x534]
mov dword [rbp + 0x9b4], eax
lea rcx, [rbp + 0x4f8]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x3b0]
call fcn.1400d2595
nop
lea rcx, [rbp + 0x368]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x328]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x2e8]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x178]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x138]
call fcn.1400d2054
mov eax, dword [rbp + 0x9b4]
jmp 0x1400f9295
mov dword [rbp + 0x9d4], 0
lea rcx, [rbp + 0x4f8]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x3b0]
call fcn.1400d2595
nop
lea rcx, [rbp + 0x368]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x328]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x2e8]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x178]
call fcn.1400d2054
nop
lea rcx, [rbp + 0x138]
call fcn.1400d2054
mov eax, dword [rbp + 0x9d4]
mov rdi, rax
lea rcx, [rbp - 0x30]
lea rdx, [0x14028b480]
call fcn.1400d586c
mov rax, rdi
mov rcx, qword [rbp + 0xa08]
xor rcx, rbp
call fcn.1400d3a21
lea rsp, [rbp + 0xa18]
pop rdi
pop rbp
ret