Function at 0x140047630
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 - 0x330]
sub rsp, 0x430
mov rax, qword [0x140078040]
xor rax, rsp
mov qword [rbp + 0x320], rax
xor r15d, r15d
test cl, cl
jne 0x140019bbe
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.1400080c0
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 - 0x40], xmm0
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
lea r9, [rsp + 0x50]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140055360]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14001a13e
mov rdx, qword [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140019c01
lea rcx, [rbp - 0x40]
call fcn.140007ce0
mov rcx, qword ds:[rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rbp - 0x20]
call fcn.14004ac20
test al, al
je 0x14001a13e
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 4
jb 0x14001a173
lea r14, ds:[rbp - 0x40]
cmp qword [rbp - 0x28], 7
cmova r14, qword [rbp - 0x40]
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x50], xmm1
lea rsi, [rcx + 4]
mov ebx, 7
lea rdi, [rbp - 0x60]
cmp rsi, rbx
jbe 0x140019cb8
mov rbx, rsi
or rbx, 7
cmp rbx, rdx
jbe 0x140019fb9
mov rbx, rdx
movabs rcx, 0x7fffffffffffffff
lfence
add rcx, rcx
call fcn.1400069a0
mov rdi, rax
mov qword [rbp - 0x60], rax
mov rcx, qword [rbp - 0x30]
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], 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:[rbx + rdi], rax
mov word [rdi + rsi*2], r15w
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova rcx, qword [rbp - 0x60]
lea rdx, [rbp + 0xd0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
je 0x14001a0e6
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp], xmm1
mov r8d, 4
lea rdx, str..jar
lea rcx, [rbp - 0x10]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x20], xmm1
mov r8d, 4
lea rdx, str..bat
lea rcx, [rbp + 0x10]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x40], xmm1
mov r8d, 4
lea rdx, str..vbs
lea rcx, [rbp + 0x30]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
mov r8d, 3
lea rdx, [0x140057718]
lea rcx, [rbp + 0x50]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x80], xmm1
mov r8d, 4
lea rdx, str..ps1
lea rcx, [rbp + 0x70]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xa0], xmm1
mov r8d, 4
lea rdx, str..dll
lea rcx, [rbp + 0x90]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xc0], xmm1
mov r8d, 3
lea rdx, [0x140057770]
lea rcx, [rbp + 0xb0]
call fcn.1400066a0
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
lfence
mov ecx, 0xe0
call fcn.1400069a0
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 + 0x50], rax
lea rdi, [rbp - 0x10]
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
lea rax, [rsp + 0x30]
mov qword [rbp - 0x70], rax
nop dword [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.140005560
add rbx, 0x20
mov qword [rbp - 0x78], rbx
add rdi, 0x20
lea rax, [rbp + 0xd0]
cmp rdi, rax
jne 0x140019e90
mov qword [rsp + 0x38], rbx
lea r9, [fcn.1400046a0]
mov edx, 0x20
lea r8d, [rdx - 0x19]
lea rcx, [rbp - 0x10]
call fcn.14004daac
test byte [rbp + 0xd0], 0x10
jne 0x14001a04f
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r15
mov qword [rbp - 0x68], r15
lea rax, [rbp + 0xfc]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x140019f00
lea rdx, [rbp + 0xfc]
lea rcx, [rbp - 0x80]
call fcn.1400066a0
nop
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rax, qword [rbp - 0x80]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x70]
mov qword [rsp + 0x68], rax
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call fcn.140004d80
test al, al
jne 0x14001a046
mov rbx, qword ds:[rsp + 0x30]
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x14001a046
nop dword [rax]
mov rax, qword [rbx + 0x10]
mov r9, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140019f81
mov r9, qword [rbx]
lea rcx, ds:[rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rdx, qword [rbp - 0x70]
call fcn.1400087c0
cmp rax, 0xffffffffffffffff
jne 0x140019fe5
add rbx, 0x20
cmp rbx, rdi
jne 0x140019f70
jmp 0x14001a046
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14001a179
nop dword [rax]
jmp 0x140019ca2
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xe4]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x14001a046
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.1400080c0
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
mov rcx, rax
call fcn.140008ee0
lea rdx, [0x140008380]
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 - 0x80]
lea rdx, [rsp + 0x70]
call fcn.140006140
nop
lea rcx, [rbp - 0x80]
call fcn.1400058e0
lea rdx, [rbp + 0xd0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
test eax, eax
jne 0x140019ed1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x14001a0e6
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x14001a09c
mov rcx, rbx
call fcn.1400058e0
add rbx, 0x20
cmp rbx, rdi
jne 0x14001a086
mov rbx, qword [rsp + 0x30]
mov rdx, qword [rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001a0d0
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a0d0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14004d6c0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x14001a12c
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001a127
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001a127
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14004d6c0
movdqa xmm0, xmmword [0x1400677a0]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r15w
lea rcx, [rbp - 0x40]
call fcn.1400058e0
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.14004d6a0
lea r11, [rsp + 0x430]
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.140003f80
nop
call fcn.140003ed0
int3
movzx ecx, dl
jmp 0x140019b40