Function at 0x14000b440
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 [0x14007b040]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
xor r12d, r12d
lea ebx, [r12 + 7]
test cl, cl
jne 0x14000b4c6
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.14004e4c0
test al, al
jne 0x14000b4eb
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.14000ada0
jmp 0x14000baf2
lea r9, ds:[rsp + 0x40]
xor r8d, r8d
xor edx, edx
lea rcx, [0x1400583d0]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
je 0x14000b525
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.14000ada0
nop dword [rax]
jmp 0x14000baf2
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 0x14000b540
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 0x14000bb32
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 0x14000b5f0
mov rbx, rsi
or rbx, 7
cmp rbx, rcx
jbe 0x14000b65b
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 0x14000b679
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.14000ada0
jmp 0x14000b68a
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, r13
ja 0x14000bb2c
jmp 0x14000b5de
lea rdx, [rbp + 0x70]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000b6f1
mov rdi, rbx
test rdi, rdi
je 0x14000b69c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rdx, qword [rbp + 8]
cmp rdx, 7
jbe 0x14000ba98
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ba93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ba93
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 0x14000ba74
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 0x14000b730
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 0x14000ba6b
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 0x14000bb26
lfence
cmp r14, 0xf
ja 0x14000b817
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 0x14000b85c
mov rdi, r14
or rdi, 0xf
cmp rdi, r13
jbe 0x14000b82a
mov rdi, r13
jmp 0x14000b832
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 0x14000ba53
lea rdx, [0x140059720]
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, [0x140059708]
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, [0x140059708]
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, [0x140058afc]
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, [0x140059704]
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, [0x140059704]
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, [0x140059700]
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 0x14000b700
jmp 0x14000b68d
call fcn.140050f60
movdqa xmm0, xmmword [0x14006ad80]
movdqu xmmword [rbp], xmm0
mov word [rbp - 0x10], r12w
mov rdx, qword [rbp + 0x48]
cmp rdx, 7
jbe 0x14000baf2
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000baed
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000baed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140050f60
mov rcx, qword ds:[rbp + 0x2c0]
xor rcx, rsp
call fcn.140050f40
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 0x14000b440