Function at 0x410aa0
Capabilities:
Enumerate files on windows
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446bc0
mov eax, dword fs:[0]
push eax
sub esp, 0x364
mov eax, dword [0x467040]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
test cl, cl
jne 0x410b07
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 5
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str._Forensic_Scanner__Running_checks_to_detect_recently_accessed_files..._n
call fcn.00408320
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 7
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
mov esi, 7
xor eax, eax
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x40], ax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x364]
push eax
push 0
push 0
push 0x44bea0
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
nop dword [eax]
test eax, eax
js 0x410f79
mov edx, dword [ebp - 0x364]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410b53
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.00408020
push dword [ebp - 0x364]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, ds:[ebp - 0x110]
call fcn.00430b60
test al, al
je 0x410f76
mov ecx, dword ds:[ebp - 0x30]
mov eax, SysReAllocString
sub eax, ecx
cmp eax, 4
jb 0x410fd0
push 4
lfence
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
push str..
cmova eax, dword [ebp - 0x40]
push ecx
push eax
push ecx
push dword [ebp - 0x364]
lea ecx, [ebp - 0x58]
call fcn.00408c60
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x360]
cmp dword [ebp - 0x44], 7
lea eax, [ebp - 0x58]
push ecx
cmova eax, dword [ebp - 0x58]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
mov dword [ebp - 0x364], esi
cmp esi, 0xffffffff
je 0x410f25
push 4
xorps xmm0, xmm0
mov dword [ebp - 0xf0], 0
push str..jar
lea ecx, [ebp - 0x100]
mov dword [ebp - 0xec], 0
movups xmmword [ebp - 0x100], xmm0
call fcn.004063e0
mov byte ds:[ebp - 4], 2
lea ecx, [ebp - 0xe8]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0xd8], 0
push str..bat
movups xmmword [ebp - 0xe8], xmm0
mov dword [ebp - 0xd4], 0
call fcn.004063e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xd0]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0xc0], 0
push str..vbs
movups xmmword [ebp - 0xd0], xmm0
mov dword [ebp - 0xbc], 0
call fcn.004063e0
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xb8]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0xa8], 0
push 0x44d580
movups xmmword [ebp - 0xb8], xmm0
mov dword [ebp - 0xa4], 0
call fcn.004063e0
mov byte ds:[ebp - 4], 5
lea ecx, [ebp - 0xa0]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x90], 0
push str..ps1
movups xmmword [ebp - 0xa0], xmm0
mov dword [ebp - 0x8c], 0
call fcn.004063e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
push 4
xorps xmm0, xmm0
mov dword [ebp - 0x78], 0
push str..dll
movups xmmword [ebp - 0x88], xmm0
mov dword [ebp - 0x74], 0
call fcn.004063e0
mov byte [ebp - 4], 7
lea ecx, [ebp - 0x70]
push 3
xorps xmm0, xmm0
mov dword [ebp - 0x60], 0
push 0x44d5a0
movups xmmword [ebp - 0x70], xmm0
mov dword [ebp - 0x5c], 0
call fcn.004063e0
lea ecx, [ebp - 0x100]
mov byte [ebp - 4], 8
push ecx
lea eax, [ebp - 0x58]
push eax
push ecx
lea ecx, [ebp - 0x370]
call fcn.00410fe0
mov byte [ebp - 4], 0xa
push fcn.004044a0
push 7
push 0x18
lea eax, [ebp - 0x100]
push eax
call fcn.00444e54
nop
test byte [ebp - 0x360], 0x10
jne 0x410ef7
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410dc0
sub ecx, edx
lea eax, [ebp - 0x334]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x28]
call fcn.004063e0
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
push dword [ebp - 0x18]
cmova eax, dword [ebp - 0x28]
push eax
call fcn.00404f40
add esp, 8
test al, al
jne 0x410eb4
mov esi, dword [ebp - 0x370]
mov edi, dword [ebp - 0x36c]
cmp esi, edi
je 0x410eae
nop dword [eax]
cmp dword [esi + 0x14], 7
mov eax, esi
jbe 0x410e2a
mov eax, dword [esi]
push dword ds:[esi + 0x10]
cmp dword [ebp - 0x14], 7
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x18]
cmova ecx, dword [ebp - 0x28]
push eax
push 0
call fcn.00408a00
add esp, 0xc
cmp eax, 0xffffffff
jne 0x410e56
add esi, 0x18
cmp esi, edi
jne 0x410e20
jmp 0x410eae
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x34c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x410eae
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
mov edx, str.___Recently_accessed_file:
call fcn.00408320
cmp dword [ebp - 0x14], 7
lea edx, [ebp - 0x28]
push dword [ebp - 0x18]
cmova edx, dword [ebp - 0x28]
mov ecx, eax
call fcn.00408f60
add esp, 4
mov ecx, eax
push 0x408660
call dword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______thiscall_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_______cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t_____]
lea ecx, [ebp - 0x28]
call fcn.00404f20
mov esi, dword [ebp - 0x364]
mov byte ds:[ebp - 4], 0xa
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x410ef7
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x410eed
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410fa5
push ecx
push edx
call fcn.00444ae8
add esp, 8
lea eax, ds:[ebp - 0x360]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x410d90
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea ecx, ds:[ebp - 0x370]
call fcn.0040a5c0
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x410f62
mov edx, dword ds:[ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x410f58
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x410fa5
push ecx
push edx
call fcn.00444ae8
add esp, 8
xor eax, eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
mov esi, dword [ebp - 0x2c]
cmp esi, 7
jbe 0x410fb5
mov ecx, dword [ebp - 0x40]
lea esi, [esi*2 + 2]
mov eax, ecx
cmp esi, 0x1000
jb 0x410fab
mov ecx, dword ds:[eax - 4]
add esi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x410fab
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push esi
push ecx
call fcn.00444ae8
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444aa0
mov esp, ebp
pop ebp
ret
call fcn.00403ca0
int3