Function at 0x140038260
Capabilities:
Get disk information
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
lea rbp, [rsp - 0x220]
sub rsp, 0x320
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rbp + 0x210], rax
movzx esi, cl
xor r13d, r13d
lea rdx, [rbp - 0x10]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
test eax, eax
je 0x1400387ac
xor dil, dil
test sil, sil
jne 0x1400382f7
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [r13 + 3]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str._NTFS_Scanner__Running_checks_for_important_file_modifications..._n
call fcn.140032890
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [r13 + 7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str.Scanning_macro_traces_may_be_useless_in_1.9_servers._Do_you_want_to_scan_macro_traces___y_n_:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000b980
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140038880
movzx eax, byte [rsp + 0x40]
sub al, 0x59
test al, 0xdf
sete r12b
lea rbx, [rbp - 0x10]
cmp byte [rbp - 0x10], dil
je 0x140038534
nop word [rax + rax]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r13b
jne 0x140038347
cmp rax, 3
jne 0x1400383be
cmp byte [rbx + 1], 0x3a
jne 0x1400383be
cmp byte [rbx + 2], 0x5c
jne 0x1400383be
mov dword [rsp + 0x38], 0x104
lea rax, [rbp + 0x100]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r13
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
je 0x1400383be
lea rdx, str.NTFS
lea rcx, [rbp + 0x100]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
jne 0x1400383bb
movzx edx, r12b
movzx ecx, byte [rbx]
call fcn.140037d20
jmp 0x1400383be
mov dil, 1
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r13b
jne 0x1400383c5
inc rbx
add rbx, rax
cmp byte [rbx], r13b
jne 0x140038340
nop dword [rax]
test dil, dil
je 0x140038534
call qword [sym.imp.KERNEL32.dll_GetTickCount64]
mov rbx, rax
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_GetLocalTime]
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
imul rax, rbx, 0x2710
mov rcx, qword [rsp + 0x50]
sub rcx, rax
mov qword [rsp + 0x48], rcx
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea r8, [0x14005a4d0]
lea rdx, [0x14005a538]
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x1400386a7
lea r8, [0x14005a4d0]
lea rdx, [0x14005a590]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x1400386a7
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
lea r8, [rsp + 0x58]
lea rdx, [rsp + 0x48]
mov rcx, qword [rsp + 0x70]
call fcn.140037820
lea r8, ds:[rsp + 0x68]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call fcn.140037820
mov byte [rsp + 0x20], sil
mov esi, dword [rsp + 0x68]
mov r9d, esi
mov r8, qword [rsp + 0x50]
mov edi, dword [rsp + 0x58]
mov edx, edi
mov rcx, qword [rsp + 0x48]
call fcn.140037a60
test edi, edi
jle 0x1400384e6
mov rbx, qword [rsp + 0x48]
nop
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rbx, ds:[rbx + 8]
sub rdi, 1
jne 0x1400384d0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test esi, esi
jle 0x140038513
mov rbx, qword [rsp + 0x50]
mov rdi, rsi
nop dword [rax]
mov rcx, qword [rbx]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
lea rbx, [rbx + 8]
sub rdi, 1
jne 0x140038500
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov edx, 7
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [rbp - 0x38]
call fcn.1400376e0
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x38]
call fcn.14002fc20
nop
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
mov r9, qword [rbp - 0x58]
add r9, rdx
lea rax, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rax, qword [rbp - 0x68]
cmp rax, r9
je 0x1400385a5
nop
cmp byte [rax], 0x5c
jne 0x140038598
mov byte [rax], 0x2f
inc rax
cmp rax, r9
jne 0x140038590
lea rdx, str.File_modifications_were_exported_to:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000b980
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
mov rcx, rax
call fcn.1400323e0
lea rdx, [0x1400107c0]
mov rcx, rax
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]
lea rcx, str.Order_the_folder_by__Date_modified__and_open_the_most_recent__.txt__files_to_check_all_important_modifications._n
call fcn.140032890
lea rcx, str.You_should_ban_the_user_if_you_find_a_modification_made_just_before_the_Screenshare._n
call fcn.140032890
nop
test r12b, r12b
je 0x140038611
lea rcx, str.In_the_case_of_the_logitech.txt_file__only_ban_if_this_modification_is_exactly_settings.db._n
call fcn.140032890
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
mov r8d, 0x15
lea rdx, str.new_renamed_files.txt
lea rcx, [rsp + 0x78]
call fcn.140006ca0
nop
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
call fcn.140049210
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400387ee
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x1400386b8
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword ds:[rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400386b3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400386b3
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov ecx, 1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
nop
call fcn.1400499d0
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r13
mov qword [rbp - 0x70], r13
mov r8d, 0x15
lea rdx, str.old_renamed_files.txt
lea rcx, [rsp + 0x78]
call fcn.140006ca0
nop
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
call fcn.140049210
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400387d8
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x140038753
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003874d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003874d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400499d0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x140038792
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003878d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003878d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400499d0
movdqa xmm0, xmmword [0x14005d4a0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
lea rcx, [rbp - 0x38]
call fcn.140005e20
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400499b0
lea r11, [rsp + 0x320]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r13
pop r12
pop rbp
ret
shr rdx, 0x20
lea r8, [rsp + 0x78]
lea rcx, [0x140057cc0]
call fcn.14000a560
nop
shr rdx, 0x20
lea r8, [rsp + 0x78]
lea rcx, [0x140057cc0]
call fcn.14000a560
int3
movzx ecx, dl
jmp 0x140038260