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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2d0]
sub rsp, 0x3d0
mov rax, qword [0x140072040]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
xor r12d, r12d
lea ebx, [r12 + 7]
test cl, cl
jne 0x14000b466
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [rbx - 2]
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]
mov edx, ebx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [rbp + 0x60]
call fcn.140046cc0
test al, al
jne 0x14000b48b
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 0x14000ba92
lea r9, ds:[rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140050330]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
je 0x14000b4c5
lea rdx, str.Error_getting_local_AppData_path_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000ad40
nop dword [rax]
jmp 0x14000ba92
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], r12
mov qword [rbp + 0x48], r12
mov rdx, qword [rsp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], r12w
jne 0x14000b4e0
lea rcx, [rbp + 0x30]
call fcn.1400066a0
nop
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov r8d, 0xc
lea rdx, str.CrashDumps_
lea rcx, [rbp + 0x30]
call fcn.140007e40
mov r15, qword [rbp + 0x40]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r15
cmp rax, 1
jb 0x14000bad2
lea r14, [rbp + 0x30]
cmp qword [rbp + 0x48], 7
cmova r14, qword [rbp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp], xmm1
lea rsi, [r15 + 1]
lea rdi, [rbp - 0x10]
movabs r13, 0x7fffffffffffffff
cmp rsi, 7
jbe 0x14000b590
mov rbx, rsi
or rbx, 7
cmp rbx, rcx
jbe 0x14000b5fb
mov rbx, rcx
mov rcx, r13
lfence
add rcx, rcx
call fcn.1400069a0
mov rdi, rax
mov qword [rbp - 0x10], rax
mov qword [rbp], rsi
mov qword [rbp + 8], rbx
lea rbx, [r15 + r15]
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
mov word [rbx + rdi], 0x2a
mov word [rdi + rsi*2], r12w
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 7
cmova rcx, qword [rbp - 0x10]
lea rdx, [rbp + 0x70]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rbx, rax
mov rax, qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rbx
test rbx, rbx
jne 0x14000b619
lea rdx, str.Error_scanning_for_crash_dump_files_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000ad40
jmp 0x14000b62a
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, r13
ja 0x14000bacc
jmp 0x14000b57e
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000b691
mov rdi, rbx
test rdi, rdi
je 0x14000b63c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14000ba38
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ba33
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ba33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov r15d, 0x16
nop word [rax + rax]
test byte [rbp + 0x70], 0x10
jne 0x14000ba14
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
mov qword [rbp + 0x20], r12
mov qword [rbp + 0x28], r12
lea rax, [rbp + 0x9c]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000b6d0
lea rdx, [rbp + 0x9c]
lea rcx, [rbp + 0x10]
call fcn.1400066a0
nop
mov rax, qword [rbp + 0x84]
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x50]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0x60]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x14000ba0b
lea r8, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova r8, qword [rbp + 0x10]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd r14, eax
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r12
cmp r14, r13
ja 0x14000bac6
lfence
cmp r14, 0xf
ja 0x14000b7b7
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], 0xf
mov r8, r14
xor edx, edx
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
mov byte [rbp + r14 - 0x50], 0
jmp 0x14000b7fc
mov rdi, r14
or rdi, 0xf
cmp rdi, r13
jbe 0x14000b7ca
mov rdi, r13
jmp 0x14000b7d2
cmp rdi, 0x16
cmovb rdi, r15
lea rcx, [rdi + 1]
call fcn.1400069a0
mov rbx, rax
mov qword [rbp - 0x50], rax
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], rdi
mov r8, r14
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + r14], 0
lea rax, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova rax, qword [rbp - 0x50]
lea r8, [rbp + 0x10]
cmp qword [rbp + 0x28], 7
cmova r8, qword [rbp + 0x10]
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r14d
mov qword [rsp + 0x20], rax
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r8, qword [rbp - 0x50]
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
movsxd rbx, eax
xor r8d, r8d
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14000a360
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rcx, qword [rbp - 0x30]
lea r8, [rbp - 0x50]
cmp qword [rbp - 0x38], 0xf
cmova r8, qword [rbp - 0x50]
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov ecx, 0xfde9
lea r9d, [rdx - 1]
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rax, qword [rbp - 0x30]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call fcn.140004d80
nop
test al, al
jne 0x14000b9f3
lea rdx, [0x140051680]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400064a0
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
mov rcx, rax
call fcn.140008ee0
lea rdx, str._at
mov rcx, rax
call fcn.1400064a0
movzx edx, word [rbp - 0x60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x140051668]
call fcn.1400064a0
movzx edx, word [rbp - 0x5e]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x140051668]
call fcn.1400064a0
movzx edx, word [rbp - 0x5a]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x140050a5c]
call fcn.1400064a0
movzx edx, word [rbp - 0x58]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x140051664]
call fcn.1400064a0
movzx edx, word [rbp - 0x56]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x140051664]
call fcn.1400064a0
movzx edx, word [rbp - 0x54]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_short_int____ptr64]
mov rcx, rax
lea rdx, [0x140051660]
call fcn.1400064a0
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x70]
call fcn.140006140
nop
lea rcx, [rbp - 0x30]
call fcn.1400058e0
nop
lea rcx, [rbp - 0x50]
call fcn.140005960
mov rbx, qword [rsp + 0x78]
lea rcx, [rbp + 0x10]
call fcn.1400058e0
mov rdi, rbx
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000b6a0
jmp 0x14000b62d
call fcn.140049760
movdqa xmm0, xmmword [0x1400621c0]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], r12w
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x14000ba92
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ba8d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ba8d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140049760
mov rcx, qword ds:[rbp + 0x2c0]
xor rcx, rsp
call fcn.140049740
lea r11, [rsp + 0x3d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140003f80
nop
call fcn.140003ed0
int3
call fcn.140003f80
int3
movzx ecx, dl
jmp 0x14000b3e0