Function at 0x40b240
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4466b6
mov eax, dword fs:[0]
push eax
sub esp, 0x330
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 0x40b2a7
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_executed_files_with_crash_logs..._n
call fcn.00408320
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push 7
push eax
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea ecx, [ebp - 0xd0]
call fcn.00430b60
test al, al
jne 0x40b2cb
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
mov edx, str.Error_getting_last_logon_time_n
call fcn.0040af60
jmp 0x40b85d
push 0x33
xorps xmm0, xmm0
mov dword [ebp - 0x88], 0
push str.C:ProgramDataMicrosoftWindowsWERReportArchive_
lea ecx, [ebp - 0x98]
mov dword [ebp - 0x84], 0
movups xmmword [ebp - 0x98], xmm0
call fcn.004063e0
mov dword [ebp - 4], 0
mov eax, SysReAllocString
mov ecx, dword [ebp - 0x88]
sub eax, ecx
cmp eax, 0xa
jb 0x40b878
push 0xa
lfence
cmp dword [ebp - 0x84], 7
lea eax, [ebp - 0x98]
push str.AppCrash_
cmova eax, dword [ebp - 0x98]
push ecx
push eax
push ecx
push dword [ebp - 0x324]
lea ecx, [ebp - 0xb0]
call fcn.00408c60
cmp dword [ebp - 0x9c], 7
lea ecx, [ebp - 0x320]
lea eax, [ebp - 0xb0]
cmova eax, dword [ebp - 0xb0]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ecx, dword [sym.imp.KERNEL32.dll_FindClose]
mov edi, eax
mov dword [ebp - 0x334], ecx
mov dword [ebp - 0x330], edi
mov byte [ebp - 4], 2
test edi, edi
jne 0x40b38f
mov edx, str.Error_scanning_for_AppCrash_files_n
jmp 0x40b3ad
lea eax, [ebp - 0x320]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [eax]
test eax, eax
jne 0x40b470
mov edx, str.No_AppCrash_files_found_n
mov ecx, dword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.0040af60
mov esi, edi
mov byte ds:[ebp - 4], 7
test esi, esi
je 0x40b3cb
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0x9c]
cmp ecx, 7
jbe 0x40b408
mov edx, dword [ebp - 0xb0]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b3fd
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b469
push ecx
push edx
call fcn.00444ae8
add esp, 8
mov ecx, dword [ebp - 0x84]
xor eax, eax
mov dword [ebp - 0xa0], 0
mov dword [ebp - 0x9c], 7
mov word [ebp - 0xb0], ax
cmp ecx, 7
jbe 0x40b85d
mov edx, dword [ebp - 0x98]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b853
mov edx, dword ds:[eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40b853
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
lea eax, [ebp - 0x2f4]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40b490
sub eax, edx
lea ecx, [ebp - 0x40]
sar eax, 1
push eax
lea eax, [ebp - 0x2f4]
push eax
call fcn.004063e0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x40]
cmp dword [ebp - 0x2c], 7
mov edx, dword [ebp - 0x30]
cmova ecx, dword [ebp - 0x40]
push 1
push ecx
push 0
call fcn.0040b900
mov edx, dword [ebp - 0x30]
lea ecx, [ebp - 0x40]
add esp, 0xc
mov dword [ebp - 0x324], eax
cmp dword [ebp - 0x2c], 7
lea esi, [eax + 1]
cmova ecx, dword [ebp - 0x40]
push 1
push ecx
push esi
call fcn.0040b900
mov edx, dword ds:[ebp - 0x324]
add esp, 0xc
mov ecx, eax
cmp edx, 0xffffffff
je 0x40b7ec
cmp ecx, 0xffffffff
je 0x40b7ec
mov eax, dword [ebp - 0x30]
xorps xmm0, xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
cmp eax, esi
jb 0x40b87d
sub ecx, edx
sub eax, esi
dec ecx
cmp eax, ecx
lfence
cmovb ecx, eax
cmp dword [ebp - 0x2c], 7
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
lea eax, [eax + esi*2]
push eax
call fcn.004063e0
mov byte [ebp - 4], 4
mov eax, dword [ebp - 0x30c]
mov ecx, dword [ebp - 0x308]
mov dword [ebp - 0x32c], eax
lea eax, [ebp - 0xc0]
push eax
lea eax, [ebp - 0x32c]
mov dword [ebp - 0x328], ecx
push eax
call dword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0xc0]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
lea eax, [ebp - 0x33c]
push eax
lea eax, [ebp - 0xd0]
push eax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, ds:[ebp - 0x33c]
push eax
lea eax, [ebp - 0x32c]
push eax
call dword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x40b79a
cmp dword [ebp - 0x14], 7
lea eax, [ebp - 0x28]
push 0
cmova eax, dword [ebp - 0x28]
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push ecx
mov esi, eax
lea ecx, [ebp - 0x70]
push esi
call fcn.00410260
cmp dword [ebp - 0x5c], 0xf
lea ecx, [ebp - 0x70]
push 0
cmova ecx, dword [ebp - 0x70]
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
push 0
cmova eax, dword [ebp - 0x28]
push esi
push ecx
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov byte ds:[ebp - 4], 5
lea esi, [ebp - 0x28]
cmp dword [ebp - 0x14], 7
xorps xmm0, xmm0
mov eax, dword [ebp - 0x18]
cmova esi, dword [ebp - 0x28]
seta dl
test dl, dl
mov dword [ebp - 0x48], 0
movups xmmword [ebp - 0x58], xmm0
mov dword [ebp - 0x44], 0
lea eax, [esi + eax*2]
lea esi, [ebp - 0x28]
cmovne esi, dword [ebp - 0x28]
cmp esi, eax
jne 0x40b679
xor edx, edx
mov ecx, 7
xor eax, eax
mov dword [ebp - 0x48], edx
mov dword [ebp - 0x44], ecx
mov word [ebp - 0x58], ax
jmp 0x40b68d
sub eax, esi
lea ecx, [ebp - 0x58]
sar eax, 1
push eax
push esi
call fcn.004063e0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ebp - 0x48]
cmp ecx, 7
mov byte [ebp - 4], 6
lea eax, [ebp - 0x58]
cmova eax, dword [ebp - 0x58]
push edx
push eax
call fcn.00404f40
add esp, 8
test al, al
jne 0x40b6f0
movzx eax, word ds:[ebp - 0x74]
lea ecx, [ebp - 0x70]
cmp dword [ebp - 0x5c], 0xf
push eax
movzx eax, word [ebp - 0x76]
cmova ecx, dword [ebp - 0x70]
push eax
movzx eax, word [ebp - 0x78]
push eax
movzx eax, word [ebp - 0x7a]
push eax
movzx eax, word [ebp - 0x7e]
push eax
movzx eax, word [ebp - 0x80]
push eax
push ecx
push str.___Executed_file:__hs_at__04d__02d__02d__02d:_02d:_02d_n
call fcn.00403b00
add esp, 0x20
lea ecx, [ebp - 0x58]
call fcn.00404f20
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x44]
cmp ecx, 7
jbe 0x40b733
mov edx, dword [ebp - 0x58]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b729
mov edx, dword ds:[eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b469
push ecx
push edx
call fcn.00444ae8
add esp, 8
xor eax, eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 7
mov word [ebp - 0x58], ax
cmp ecx, 0xf
jbe 0x40b788
mov edx, dword ds:[ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40b77c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b469
push ecx
push edx
call fcn.00444ae8
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x14]
cmp ecx, 7
jbe 0x40b7d8
mov edx, dword [ebp - 0x28]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b7ce
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b469
push ecx
push edx
call fcn.00444ae8
add esp, 8
xor eax, eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x2c]
cmp ecx, 7
jbe 0x40b833
mov edx, dword [ebp - 0x40]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x40b829
mov edx, dword ds:[eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40b469
push ecx
push edx
call fcn.00444ae8
add esp, 8
lea eax, ds:[ebp - 0x320]
mov esi, edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x40b470
jmp 0x40b3ba
push ecx
push edx
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
nop dword [eax]
call fcn.00408250
int3