Function at 0x140037740
Capabilities:
Delete file
Execute command

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rbp + 0x40], rax
movzx edi, dl
movsx ebx, cl
xor edx, edx
lea rcx, [rsp + 0x30]
mov r8d, 0x104
call sub.VCRUNTIME140.dll_memset
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 3
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov edx, ebx
lea rcx, str._NTFS_Scanner__Running_journal_query_for_drive__c._n
call fcn.1400322b0
test dil, dil
je 0x1400378bc
lea rcx, str._NTFS_Scanner__Detecting_file_rename_modifications_in_the_entire_NTFS_drive..._n
call fcn.1400322b0
mov r8d, ebx
lea rdx, str.fsutil_usn_readjournal__c:_csv__findstr__i__c:0x00001000____.old_renamed_files.txt
lea rcx, [rsp + 0x30]
call fcn.140038230
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov r8d, ebx
lea rdx, str.fsutil_usn_readjournal__c:_csv__findstr__i__c:0x00002000____._new_renamed_files.txt
lea rcx, [rsp + 0x30]
call fcn.140038230
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str._NTFS_Scanner__Detecting_every_file_modification_with_any_special_character..._n
nop
call fcn.1400322b0
mov r8d, ebx
lea rdx, str.fsutil_usn_readjournal__c:_csv__findstr__i__C:_______._special_characters.txt
lea rcx, [rsp + 0x30]
call fcn.140038230
lea rcx, ds:[rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str._NTFS_Scanner__Detecting_Glorious_macro_traces_on_the_entire_NTFS_drive..._n
call fcn.1400322b0
mov r8d, ebx
lea rdx, str.fsutil_usn_readjournal__c:_csv__findstr__i__C:_.mcf_____.glorious.txt
lea rcx, [rsp + 0x30]
call fcn.140038230
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str._NTFS_Scanner__Detecting_Logitech_macro_traces_on_the_entire_NTFS_drive..._n
call fcn.1400322b0
mov r8d, ebx
lea rdx, str.fsutil_usn_readjournal__c:_csv__findstr__i__C:_settings.db_____.logitech.txt
lea rcx, [rsp + 0x30]
call fcn.140038230
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str._NTFS_Scanner__Detecting_Bloody_macro_traces_on_the_entire_NTFS_drive..._n
call fcn.1400322b0
mov r8d, ebx
lea rdx, str.fsutil_usn_readjournal__c:_csv__findstr__i__C:_.amc2_____._bloody.txt
lea rcx, [rsp + 0x30]
call fcn.140038230
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str._NTFS_Scanner__Detecting_Corsair_macro_traces_on_the_entire_NTFS_drive..._n
call fcn.1400322b0
lea rdx, str.fsutil_usn_readjournal__c:_csv__findstr__i__C:_.cuecfg_____.corsair.txt
jmp 0x140037925
lea rcx, str._NTFS_Scanner__Skipping_macro_trace_detection_based_on_user_input._n
call fcn.1400322b0
lea rcx, str._NTFS_Scanner__Detecting_file_rename_modifications_in_the_entire_NTFS_drive..._n
call fcn.1400322b0
mov r8d, ebx
lea rdx, str.fsutil_usn_readjournal__c:_csv__findstr__i__c:0x00001000____.old_renamed_files.txt
lea rcx, [rsp + 0x30]
call fcn.140038230
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov r8d, ebx
lea rdx, str.fsutil_usn_readjournal__c:_csv__findstr__i__c:0x00002000____._new_renamed_files.txt
lea rcx, [rsp + 0x30]
call fcn.140038230
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str._NTFS_Scanner__Detecting_every_file_modification_with_any_special_character..._n
call fcn.1400322b0
lea rdx, str.fsutil_usn_readjournal__c:_csv__findstr__i__C:_______._special_characters.txt
mov r8d, ebx
lea rcx, [rsp + 0x30]
call fcn.140038230
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str._NTFS_Scanner__Detecting_renamed_and_deleted_Prefetch_folders_on_the_entire_NTFS_drive..._n
call fcn.1400322b0
mov r8d, ebx
lea rdx, str.fsutil_usn_readjournal__c:_csv__findstr__i__C:_Prefetch_____.prefetch.txt
lea rcx, [rsp + 0x30]
call fcn.140038230
lea rcx, [rsp + 0x30]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov rcx, rax
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xor edi, edi
lea r8, [0x14005a4d0]
lea rdx, [0x14005a538]
mov qword [rsp + 0x20], rdi
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x1400379f1
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x1400379f1
xor edx, edx
lea r8d, [rdi + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, qword [rsp + 0x20]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
nop
test ebx, ebx
jne 0x1400379f1
lea rcx, [0x14005a538]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea r8, [0x14005a4d0]
mov qword [rsp + 0x20], rdi
lea rdx, [0x14005a590]
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x140037a57
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140037a57
xor edx, edx
lea r8d, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, qword ds:[rsp + 0x20]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
jne 0x140037a57
lea rcx, [0x14005a590]
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea r8, [0x14005a4d0]
mov qword [rsp + 0x20], rdi
lea rdx, str.special_characters.txt
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x140037aba
mov rcx, qword ds:[rsp + 0x20]
test rcx, rcx
je 0x140037aba
xor edx, edx
lea r8d, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, qword [rsp + 0x20]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
jne 0x140037aba
lea rcx, str.special_characters.txt
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea r8, [0x14005a4d0]
mov qword [rsp + 0x20], rdi
lea rdx, str.glorious.txt
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x140037b1b
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140037b1b
xor edx, edx
lea r8d, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, qword [rsp + 0x20]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
jne 0x140037b1b
lea rcx, str.glorious.txt
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea r8, [0x14005a4d0]
mov qword [rsp + 0x20], rdi
lea rdx, str.logitech.txt
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x140037b7c
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140037b7c
xor edx, edx
lea r8d, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, qword [rsp + 0x20]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
jne 0x140037b7c
lea rcx, str.logitech.txt
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea r8, [0x14005a4d0]
mov qword [rsp + 0x20], rdi
lea rdx, str.bloody.txt
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x140037bdd
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140037bdd
xor edx, edx
lea r8d, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, qword [rsp + 0x20]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
jne 0x140037bdd
lea rcx, str.bloody.txt
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
lea r8, [0x14005a4d0]
mov qword [rsp + 0x20], rdi
lea rdx, str.corsair.txt
lea rcx, [rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
test eax, eax
jne 0x140037c46
mov rcx, qword [rsp + 0x20]
test rcx, rcx
je 0x140037c46
xor edx, edx
lea r8d, [rax + 2]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
mov rcx, qword ds:[rsp + 0x20]
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_ftell]
mov rcx, qword [rsp + 0x20]
mov ebx, eax
call qword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
test ebx, ebx
jne 0x140037c46
lea rcx, str.corsair.txt
nop
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll_remove]
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400493d0
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret