Function at 0x140041ee0
Capabilities:
Enumerate files on windows

Disassembly:
mov qword ss:[rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
mov qword [rsp + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rsp - 0x2e0]
sub rsp, 0x3e0
mov rax, qword [0x140071040]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
xor r12d, r12d
test cl, cl
jne 0x14000b469
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [r12 + 5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._Forensic_Scanner__Running_checks_to_detect_executed_files_with_crash_logs..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400080c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [r12 + 7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [rbp + 0x70]
call fcn.140045860
test al, al
jne 0x14000b48e
lea rdx, str.Error_getting_last_logon_time_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000ad40
jmp 0x14000ba16
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov qword [rbp + 0x18], r12
mov r8d, 0x33
lea rdx, str.C:ProgramDataMicrosoftWindowsWERReportArchive_
lea rcx, [rbp]
call fcn.1400066a0
nop
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
mov rcx, qword [rbp + 0x10]
sub rax, rcx
cmp rax, 0xa
jb 0x14000ba52
lea r15, ds:[rbp]
mov rsi, qword [rbp + 0x18]
cmp rsi, 7
cmova r15, qword [rbp]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x10], xmm1
lea r14, [rcx + 0xa]
mov ebx, 7
lea rdi, [rbp - 0x20]
cmp r14, rbx
jbe 0x14000b53c
mov rbx, r14
or rbx, 7
cmp rbx, rdx
jbe 0x14000b5c5
mov rbx, rdx
movabs rcx, 0x7fffffffffffffff
lfence
add rcx, rcx
call fcn.1400069a0
mov rdi, rax
mov qword [rbp - 0x20], rax
mov rsi, qword [rbp + 0x18]
mov rcx, qword [rbp + 0x10]
mov qword [rbp - 0x10], r14
mov qword [rbp - 8], rbx
lea rbx, [rcx + rcx]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.AppCrash_]
movups xmmword [rbx + rdi], xmm0
mov eax, dword [0x140050628]
mov dword [rbx + rdi + 0x10], eax
mov word [rdi + r14*2], r12w
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 7
cmova rcx, qword [rbp - 0x20]
lea rdx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rbx
test rbx, rbx
jne 0x14000b5ee
lea rdx, str.Error_scanning_for_AppCrash_files_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000ad40
mov rdi, rbx
jmp 0x14000b95b
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000ba4c
jmp 0x14000b522
lea rdx, [rbp + 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
test eax, eax
jne 0x14000b620
lea rdx, str.No_AppCrash_files_found_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000ad40
mov rdi, rbx
jmp 0x14000b95b
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
lea rax, [rbp + 0xac]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000b640
lea rdx, [rbp + 0xac]
lea rcx, [rbp - 0x50]
call fcn.1400066a0
nop
xor r8d, r8d
lea rcx, [rbp - 0x50]
call fcn.14000ba80
mov rsi, rax
lea rdi, [rax + 1]
mov r8, rdi
lea rcx, [rbp - 0x50]
call fcn.14000ba80
nop dword [rax + rax]
cmp rsi, 0xffffffffffffffff
je 0x14000b8fb
cmp rax, 0xffffffffffffffff
je 0x14000b8fb
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], r12
cmp qword [rbp - 0x40], rdi
jb 0x14000ba46
lfence
sub rax, rsi
lea r8, [rax - 1]
mov rax, qword [rbp - 0x40]
sub rax, rdi
cmp rax, r8
cmovb r8, rax
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rax, qword [rbp - 0x50]
lea rdx, [rax + rdi*2]
lea rcx, [rbp + 0x20]
call fcn.1400066a0
nop
mov rax, qword [rbp + 0x94]
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea r8, [rbp - 0x30]
lea rdx, [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
lea rdx, ds:[rsp + 0x48]
lea rcx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x14000b8aa
lea rdx, [rbp + 0x20]
lea rcx, [rbp + 0x40]
call fcn.140046a80
nop
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 7
seta r8b
cmova rdx, qword [rbp + 0x20]
mov rax, qword [rbp + 0x30]
lea r9, [rdx + rax*2]
lea rdx, [rbp + 0x20]
test r8b, r8b
cmovne rdx, qword [rbp + 0x20]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
cmp rdx, r9
jne 0x14000b79d
mov rcx, r12
mov qword [rbp - 0x60], rcx
mov edx, 7
mov qword [rbp - 0x58], rdx
mov word [rbp - 0x70], r12w
jmp 0x14000b7b7
sub r9, rdx
sar r9, 1
mov r8, r9
lea rcx, [rbp - 0x70]
call fcn.1400066a0
mov rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
lea rax, ds:[rbp - 0x70]
cmp rdx, 7
cmova rax, qword [rbp - 0x70]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.140004d80
test al, al
jne 0x14000b83f
lea rdx, [rbp + 0x40]
cmp qword [rbp + 0x58], 0xf
cmova rdx, qword [rbp + 0x40]
movzx eax, word [rbp - 0x24]
movzx ecx, word [rbp - 0x26]
movzx r10d, word [rbp - 0x28]
movzx r11d, word [rbp - 0x2a]
movzx r9d, word [rbp - 0x2e]
movzx r8d, word [rbp - 0x30]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea rcx, str.___Executed_file:__hs_at__04d__02d__02d__02d:_02d:_02d_n
call fcn.140003d60
lea r8, [rbp - 0x70]
lea rdx, [rbp - 0x80]
call fcn.140006140
nop
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14000b88f
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword ds:[rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b88a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b9ad
call fcn.140048300
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r12w
lea rcx, [rbp + 0x40]
call fcn.140005960
nop
lea rcx, [rbp + 0x20]
call fcn.1400058e0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14000b8f4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b8ef
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b9b4
call fcn.140048300
mov rbx, qword [rsp + 0x58]
jmp 0x14000b93c
mov rdx, qword ds:[rbp - 0x38]
cmp rdx, 7
jbe 0x14000b93c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b937
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b9b4
call fcn.140048300
mov rdi, rbx
lea rdx, [rbp + 0x80]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000b620
mov rsi, qword [rbp + 0x18]
nop dword [rax + rax]
test rdi, rdi
je 0x14000b96f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rbp - 8]
cmp rdx, 7
jbe 0x14000b9c5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b9bb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000b9bb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
nop dword [rax + rax]
call fcn.140048300
movdqa xmm0, xmmword [0x140060dd0]
movdqu xmmword [rbp - 0x10], xmm0
mov word [rbp - 0x20], r12w
cmp rsi, 7
jbe 0x14000ba16
lea rdx, [rsi*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ba11
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ba11
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048300
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.1400482e0
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140007f60
nop
call fcn.140003ed0
int3
call fcn.140003f80
int3
movzx ecx, dl
jmp 0x14000b3e0