Function at 0x140031dc0
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 [0x140054040]
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 0x14003230c
xor dil, dil
test sil, sil
jne 0x140031e57
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.14002bed0
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.14000a6e0
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.1400323e0
movzx eax, byte [rsp + 0x40]
sub al, 0x59
test al, 0xdf
sete r12b
lea rbx, [rbp - 0x10]
cmp byte [rbp - 0x10], dil
je 0x140032094
nop word [rax + rax]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r13b
jne 0x140031ea7
cmp rax, 3
jne 0x140031f1e
cmp byte [rbx + 1], 0x3a
jne 0x140031f1e
cmp byte [rbx + 2], 0x5c
jne 0x140031f1e
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 0x140031f1e
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 0x140031f1b
movzx edx, r12b
movzx ecx, byte [rbx]
call fcn.1400318c0
jmp 0x140031f1e
mov dil, 1
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r13b
jne 0x140031f25
inc rbx
add rbx, rax
cmp byte [rbx], r13b
jne 0x140031ea0
nop dword [rax]
test dil, dil
je 0x140032094
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, [0x140047550]
lea rdx, [0x1400475b8]
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x140032207
lea r8, [0x140047550]
lea rdx, [0x140047610]
lea rcx, [rsp + 0x60]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x140032207
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.1400313c0
lea r8, ds:[rsp + 0x68]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call fcn.1400313c0
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.140031600
test edi, edi
jle 0x140032046
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 0x140032030
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test esi, esi
jle 0x140032073
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 0x140032060
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.140031280
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x38]
call fcn.140028f20
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 0x140032105
nop
cmp byte [rax], 0x5c
jne 0x1400320f8
mov byte [rax], 0x2f
inc rax
cmp rax, r9
jne 0x1400320f0
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.14000a6e0
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
mov rcx, rax
call fcn.14002b9e0
lea rdx, [0x14000e760]
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.14002bed0
lea rcx, str.You_should_ban_the_user_if_you_find_a_modification_made_just_before_the_Screenshare._n
call fcn.14002bed0
nop
test r12b, r12b
je 0x140032171
lea rcx, str.In_the_case_of_the_logitech.txt_file__only_ban_if_this_modification_is_exactly_settings.db._n
call fcn.14002bed0
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.140003500
nop
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
call fcn.14003860c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14003234e
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x140032218
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword ds:[rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140032213
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140032213
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.140038e10
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.140003500
nop
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
call fcn.14003860c
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x140032338
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x1400322b3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400322ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400322ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140038e10
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400322f2
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400322ed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400322ed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140038e10
movdqa xmm0, xmmword [0x140049860]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
lea rcx, [rbp - 0x38]
call fcn.140002b80
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.140038df0
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, [0x140045000]
call fcn.140007c40
nop
shr rdx, 0x20
lea r8, [rsp + 0x78]
lea rcx, [0x140045000]
call fcn.140007c40
int3