Function at 0x140044770
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 0x1400381cc
xor dil, dil
test sil, sil
jne 0x140037d17
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.1400322b0
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.14000b4e0
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.1400382a0
movzx eax, byte [rsp + 0x40]
sub al, 0x59
test al, 0xdf
sete r12b
lea rbx, [rbp - 0x10]
cmp byte [rbp - 0x10], dil
je 0x140037f54
nop word [rax + rax]
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r13b
jne 0x140037d67
cmp rax, 3
jne 0x140037dde
cmp byte [rbx + 1], 0x3a
jne 0x140037dde
cmp byte [rbx + 2], 0x5c
jne 0x140037dde
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 0x140037dde
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 0x140037ddb
movzx edx, r12b
movzx ecx, byte [rbx]
call fcn.140037740
jmp 0x140037dde
mov dil, 1
mov rax, 0xffffffffffffffff
inc rax
cmp byte [rbx + rax], r13b
jne 0x140037de5
inc rbx
add rbx, rax
cmp byte [rbx], r13b
jne 0x140037d60
nop dword [rax]
test dil, dil
je 0x140037f54
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 0x1400380c7
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 0x1400380c7
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.140037240
lea r8, ds:[rsp + 0x68]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x60]
call fcn.140037240
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.140037480
test edi, edi
jle 0x140037f06
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 0x140037ef0
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
test esi, esi
jle 0x140037f33
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 0x140037f20
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.140037100
nop
lea rdx, [rbp - 0x68]
lea rcx, [rbp - 0x38]
call fcn.14002f640
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 0x140037fc5
nop
cmp byte [rax], 0x5c
jne 0x140037fb8
mov byte [rax], 0x2f
inc rax
cmp rax, r9
jne 0x140037fb0
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.14000b4e0
lea rdx, [rbp - 0x68]
cmp qword [rbp - 0x50], 0xf
cmova rdx, qword [rbp - 0x68]
mov r8, qword [rbp - 0x58]
mov rcx, rax
call fcn.140031e00
lea rdx, [0x140010340]
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.1400322b0
lea rcx, str.You_should_ban_the_user_if_you_find_a_modification_made_just_before_the_Screenshare._n
call fcn.1400322b0
nop
test r12b, r12b
je 0x140038031
lea rcx, str.In_the_case_of_the_logitech.txt_file__only_ban_if_this_modification_is_exactly_settings.db._n
call fcn.1400322b0
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.140006c60
nop
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
call fcn.140048c30
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x14003820e
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x1400380d8
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword ds:[rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400380d3
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400380d3
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.1400493f0
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.140006c60
nop
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 7
cmova rcx, qword [rsp + 0x78]
call fcn.140048c30
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x1400381f8
mov rdx, qword [rbp - 0x70]
cmp rdx, 7
jbe 0x140038173
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003816d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14003816d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400493f0
nop
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400381b2
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400381ad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400381ad
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400493f0
movdqa xmm0, xmmword [0x14005d4b0]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
lea rcx, [rbp - 0x38]
call fcn.140005dc0
mov rcx, qword [rbp + 0x210]
xor rcx, rsp
call fcn.1400493d0
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, [0x140057ca0]
call fcn.14000a0c0
nop
shr rdx, 0x20
lea r8, [rsp + 0x78]
lea rcx, [0x140057ca0]
call fcn.14000a0c0
int3
movzx ecx, dl
jmp 0x140037c80