Function at 0x140043520
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 r14
push r15
lea rbp, [rsp - 0x350]
sub rsp, 0x450
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rbp + 0x340], rax
xor r15d, r15d
test cl, cl
jne 0x140010e5e
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [r15 + 5]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rdx, str._Forensic_Scanner__Running_checks_to_detect_recently_accessed_files..._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400089c0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [r15 + 7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov word [rbp - 0x20], r15w
lea r9, [rsp + 0x48]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140050260]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x140011484
mov rdx, qword [rsp + 0x48]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140010ea1
lea rcx, [rbp - 0x20]
call fcn.140008840
mov rcx, qword ds:[rsp + 0x48]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rbp]
call fcn.140045ee0
test al, al
je 0x140011484
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
mov rcx, qword [rbp - 0x10]
sub rax, rcx
cmp rax, 4
jb 0x1400114f8
lea r14, ds:[rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae r14, qword [rbp - 0x20]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x30], xmm1
lea rsi, [rcx + 4]
mov ebx, 7
lea rdi, [rbp - 0x40]
cmp rsi, rbx
jbe 0x140010f58
mov rbx, rsi
or rbx, 7
cmp rbx, rdx
jbe 0x140011265
mov rbx, rdx
movabs rcx, 0x7fffffffffffffff
lfence
add rcx, rcx
call fcn.140006ee0
mov rdi, rax
mov qword [rbp - 0x40], rax
mov rcx, qword [rbp - 0x10]
mov qword [rbp - 0x30], rsi
mov qword [rbp - 0x28], rbx
lea rbx, [rcx + rcx]
mov r8, rbx
mov rdx, r14
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movabs rax, 0x2a002e002a005c
mov qword ds:[rdi + rbx], rax
mov word [rdi + rsi*2], r15w
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
lea rdx, [rbp + 0xf0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001142a
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x20], xmm1
mov r8d, 4
lea rdx, str..jar
lea rcx, [rbp + 0x10]
call fcn.140006d20
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x40], xmm1
mov r8d, 4
lea rdx, str..bat
lea rcx, [rbp + 0x30]
call fcn.140006d20
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
mov r8d, 4
lea rdx, str..vbs
lea rcx, [rbp + 0x50]
call fcn.140006d20
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x80], xmm1
mov r8d, 3
lea rdx, [0x140052578]
lea rcx, [rbp + 0x70]
call fcn.140006d20
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xa0], xmm1
mov r8d, 4
lea rdx, str..ps1
lea rcx, [rbp + 0x90]
call fcn.140006d20
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xc0], xmm1
mov r8d, 4
lea rdx, str..dll
lea rcx, [rbp + 0xb0]
call fcn.140006d20
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xe0], xmm1
mov r8d, 3
lea rdx, [0x1400525a0]
lea rcx, [rbp + 0xd0]
call fcn.140006d20
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
lfence
mov ecx, 0xe0
call fcn.140006ee0
mov rbx, rax
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x38], rax
lea rcx, [rax + 0xe0]
mov qword [rsp + 0x40], rcx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x78], rax
lea rdi, [rbp + 0x10]
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
lea rax, [rsp + 0x30]
mov qword [rsp + 0x70], rax
mov rdx, rdi
mov rcx, rbx
call fcn.140005be0
add rbx, 0x20
mov qword [rsp + 0x68], rbx
add rdi, 0x20
lea rax, [rbp + 0xf0]
cmp rdi, rax
jne 0x140011132
mov qword [rsp + 0x38], rbx
lea r9, [fcn.1400048a0]
mov edx, 0x20
lea r8d, [rdx - 0x19]
lea rcx, [rbp + 0x10]
call fcn.140048c88
nop dword [rax]
nop dword [rax + rax]
test byte [rbp + 0xf0], 0x10
jne 0x14001133c
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r15
mov qword [rbp - 0x48], r15
lea rax, [rbp + 0x11c]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x1400111b0
lea rdx, [rbp + 0x11c]
lea rcx, [rbp - 0x60]
call fcn.140006d20
nop
lea rax, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rax, qword [rbp - 0x60]
mov qword [rsp + 0x50], rax
mov rax, qword [rbp - 0x50]
mov qword [rsp + 0x58], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call fcn.140005120
nop dword [rax + rax]
test al, al
jne 0x1400112fb
mov rbx, qword [rsp + 0x30]
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x1400112fb
nop dword [rax + rax]
mov rax, qword [rbx + 0x10]
mov r9, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011231
mov r9, qword [rbx]
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rbp - 0x50]
call fcn.140009040
cmp rax, 0xffffffffffffffff
jne 0x14001128e
add rbx, 0x20
cmp rbx, rdi
jne 0x140011220
nop
jmp 0x1400112fb
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x1400114fe
jmp 0x140010f42
lea rdx, [rbp]
lea rcx, [rbp + 0x104]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
nop
test eax, eax
jle 0x1400112fb
lea rdx, str.___Recently_accessed_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400089c0
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rdx, qword [rbp - 0x60]
mov r8, qword [rbp - 0x50]
mov rcx, rax
call fcn.140009300
lea rdx, [0x140008c60]
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___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x70]
lea rcx, [0x14006e8e0]
call fcn.1400068a0
nop
mov rdx, qword ds:[rbp - 0x48]
cmp rdx, 8
jb 0x14001133c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011337
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001140d
call fcn.140048710
lea rdx, [rbp + 0xf0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140011180
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14001142a
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x1400113d5
mov rdx, qword ds:[rbx + 0x18]
cmp rdx, 8
jb 0x1400113b7
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400113b2
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140011406
mov rcx, r8
call fcn.140048710
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
add rbx, 0x20
cmp rbx, rdi
jne 0x140011376
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140011414
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011414
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
mov rcx, rbx
call fcn.140048710
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x140011472
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001146d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001146d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048710
movdqa xmm0, xmmword [0x14005c320]
movdqu xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x40], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x1400114cc
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400114c7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400114c7
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048710
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.1400486f0
lea r11, [rsp + 0x450]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140004080
nop
nop
call fcn.140003fd0
int3
movzx ecx, dl
jmp 0x140010de0