Function at 0x423dd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x439040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 3
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0xc]
push 0xfffffffffffffff5
mov dword [ebp - 0x420], eax
mov dword [ebx], 0
call edi
mov esi, dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
push eax
call esi
push str._NTFS_Scanner__Reconstructing_hash_table_to_detect_replaced_files..._n
call fcn.0041f350
add esp, 4
push 7
push 0xfffffffffffffff5
call edi
push eax
call esi
push dword [ebp - 0x424]
lea eax, [ebp - 0x404]
push 0x400
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
add esp, 0xc
test eax, eax
je 0x423fb9
nop
lea eax, [ebp - 0x404]
push str.Rename:
push eax
call sub.VCRUNTIME140.dll_strstr
add esp, 8
test eax, eax
je 0x423f96
mov eax, dword [ebx]
mov esi, dword [ebp - 0x420]
lea eax, [eax*4 + 4]
push eax
push dword [esi]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_realloc]
add esp, 8
test eax, eax
je 0x423fe0
push 0x800
mov dword [esi], eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov ecx, dword [esi]
add esp, 4
mov edx, dword [ebx]
mov dword [ecx + edx*4], eax
mov ecx, dword [ebx]
mov eax, dword [esi]
cmp dword [eax + ecx*4], 0
je 0x423fca
lea eax, [ebp - 0x404]
mov esi, 1
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp + esi*4 - 0x420]
inc eax
push 0x2c
push eax
call sub.VCRUNTIME140.dll_strchr
add esp, 8
mov dword [ebp + esi*4 - 0x41c], eax
test eax, eax
je 0x423ee9
inc esi
cmp esi, 6
jl 0x423ec5
mov edi, dword [ebp - 0x408]
test edi, edi
je 0x423f96
mov ecx, dword [ebx]
mov eax, edi
sub eax, dword [ebp - 0x40c]
inc eax
push eax
lea eax, [edi + 2]
push eax
mov eax, dword [ebp - 0x420]
push 0x400
mov eax, dword [eax]
push dword [eax + ecx*4]
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov edx, dword [ebp - 0x420]
add esp, 0x10
mov ecx, dword [ebx]
mov eax, dword [edx]
mov eax, dword [eax + ecx*4]
sub eax, dword [ebp - 0x40c]
mov byte [eax + edi], 0
mov edi, dword [ebp - 0x414]
test edi, edi
je 0x423f96
mov esi, dword [ebp - 0x418]
test esi, esi
je 0x423f52
mov eax, edi
sub eax, esi
dec eax
jmp 0x423f54
xor eax, eax
lea ecx, [esi + 1]
test esi, esi
jne 0x423f60
mov ecx, 0x42ec6c
push eax
mov eax, dword [edx]
push ecx
mov ecx, dword [ebx]
push 0x400
mov eax, dword [eax + ecx*4]
add eax, 0x400
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_strncpy_s]
mov eax, dword [ebp - 0x420]
add esp, 0x10
mov ecx, dword [ebx]
mov eax, dword [eax]
mov eax, dword [eax + ecx*4]
sub eax, esi
mov byte [eax + edi + 0x3ff], 0
inc dword [ebx]
push dword [ebp - 0x424]
lea eax, [ebp - 0x404]
push 0x400
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fgets]
add esp, 0xc
test eax, eax
jne 0x423e50
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00426399
mov esp, ebp
pop ebp
ret
push str.Error_allocating_memory
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]
push str.Error_reallocating_memory
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]
int3