Function at 0x424000
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 3
push 0xfffffffffffffff5
call edi
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push eax
call esi
push str._NTFS_Scanner__Detecting_replaced_files_on_the_entire_NTFS_drive..._n
call fcn.0041f350
add esp, 4
push 7
push 0xfffffffffffffff5
call edi
push eax
call esi
push 0x42d7e4
lea eax, [ebp - 0x14]
push str.replaced_files.txt
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fopen_s]
add esp, 0xc
test eax, eax
je 0x424065
push str.Error_opening_replaced_files.txt
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
add esp, 4
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
xor edx, edx
xor edi, edi
xor ebx, ebx
mov dword [ebp - 4], edi
mov dword [ebp - 0x10], edx
cmp dword [ebp + 0xc], edx
jle 0x424246
mov ecx, dword [ebp + 0x14]
nop dword [eax]
xor eax, eax
mov dword [ebp - 0xc], eax
test ecx, ecx
jle 0x42420c
mov edx, ebx
shl edx, 0xb
mov dword [ebp - 8], edx
mov ecx, dword [ebp + 0x10]
mov esi, dword [ecx + eax*4]
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x400]
mov edi, dword [eax]
lea eax, [edi + 0x400]
mov dword [ebp - 0x18], eax
nop
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x4240d0
test dl, dl
je 0x4240cc
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x4240d0
add eax, 2
add ecx, 2
test dl, dl
jne 0x4240b0
xor eax, eax
jmp 0x4240d5
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4241f4
mov eax, edi
nop
mov cl, byte [eax]
cmp cl, byte [esi]
jne 0x424100
test cl, cl
je 0x4240fc
mov cl, byte [eax + 1]
cmp cl, byte [esi + 1]
jne 0x424100
add eax, 2
add esi, 2
test cl, cl
jne 0x4240e0
xor eax, eax
jmp 0x424105
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4241f4
xor edi, edi
test ebx, ebx
jle 0x424194
mov esi, dword [ebp - 4]
nop word [eax + eax]
mov ecx, dword [ebp - 0x18]
lea eax, [esi + 0x400]
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x424150
test dl, dl
je 0x42414c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x424150
add eax, 2
add ecx, 2
test dl, dl
jne 0x424130
xor eax, eax
jmp 0x424155
sbb eax, eax
or eax, 1
test eax, eax
jne 0x424189
mov eax, dword [ebp + 8]
mov ecx, esi
mov eax, dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x424180
test dl, dl
je 0x42417c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x424180
add ecx, 2
add eax, 2
test dl, dl
jne 0x424160
xor eax, eax
jmp 0x424185
sbb eax, eax
or eax, 1
test eax, eax
je 0x4241f4
inc edi
add esi, 0x800
cmp edi, ebx
jl 0x424120
mov edi, dword [ebp - 8]
mov esi, dword [ebp - 4]
add edi, 0x800
push edi
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
test eax, eax
je 0x424260
mov esi, dword [ebp - 8]
add esi, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
push dword [eax]
push 0x400
push esi
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov eax, dword [ebp + 8]
push 0xffffffffffffffff
mov eax, dword [eax]
add eax, 0x400
push eax
lea eax, [esi + 0x400]
push 0x400
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
add esp, 0x20
mov dword [ebp - 8], edi
inc ebx
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp + 0x14]
inc eax
mov dword [ebp - 0xc], eax
cmp eax, ecx
jl 0x424095
mov edi, dword [ebp - 4]
mov edx, dword [ebp - 0x10]
add dword [ebp + 8], 4
inc edx
mov esi, edi
mov dword [ebp - 0x10], edx
cmp edx, dword [ebp + 0xc]
jl 0x424080
test ebx, ebx
jle 0x424246
push esi
lea eax, [esi + 0x400]
push eax
push str._s___s_n
push dword [ebp - 0x14]
call fcn.00424770
add esp, 0x10
add esi, 0x800
sub ebx, 1
jne 0x424223
push dword [ebp - 0x14]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fclose]
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 8
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.Error_reallocating_memory_to_detect_file_replaces.
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_perror]
push esi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
add esp, 8
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3