Function at 0x140010c00
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 [0x14006c040]
xor rax, rsp
mov qword [rbp + 0x320], rax
xor r15d, r15d
test cl, cl
jne 0x140010c7e
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.1400088e0
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, [0x140051240]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14001129e
mov rdx, qword [rsp + 0x50]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdx + r8*2], 0
jne 0x140010cc1
lea rcx, [rbp - 0x40]
call fcn.1400086e0
mov rcx, qword ds:[rsp + 0x50]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rbp - 0x20]
call fcn.140046bc0
test al, al
je 0x14001129e
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
mov rcx, qword [rbp - 0x30]
sub rax, rcx
cmp rax, 4
jb 0x140011318
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 0x140010d78
mov rbx, rsi
or rbx, 7
cmp rbx, rdx
jbe 0x140011079
mov rbx, rdx
movabs rcx, 0x7fffffffffffffff
lfence
add rcx, rcx
call fcn.140006ec0
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:[rdi + rbx], 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 0x140011244
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.140006c60
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.140006c60
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.140006c60
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
mov r8d, 3
lea rdx, [0x1400534a8]
lea rcx, [rbp + 0x50]
call fcn.140006c60
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.140006c60
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.140006c60
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xb0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xc0], xmm1
mov r8d, 3
lea rdx, [0x1400534d0]
lea rcx, [rbp + 0xb0]
call fcn.140006c60
nop
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
lfence
mov ecx, 0xe0
call fcn.140006ec0
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.140005a40
add rbx, 0x20
mov qword [rbp - 0x78], rbx
add rdi, 0x20
lea rax, [rbp + 0xd0]
cmp rdi, rax
jne 0x140010f50
mov qword [rsp + 0x38], rbx
lea r9, [fcn.140004700]
mov edx, 0x20
lea r8d, [rdx - 0x19]
lea rcx, [rbp - 0x10]
call fcn.1400497dc
test byte [rbp + 0xd0], 0x10
jne 0x14001114f
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 0x140010fc0
lea rdx, [rbp + 0xfc]
lea rcx, [rbp - 0x80]
call fcn.140006c60
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.140004f80
test al, al
jne 0x14001110d
mov rbx, qword ds:[rsp + 0x30]
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x14001110d
nop dword [rax]
mov rax, qword [rbx + 0x10]
mov r9, rbx
cmp qword [rbx + 0x18], 7
jbe 0x140011041
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.140008f80
cmp rax, 0xffffffffffffffff
jne 0x1400110a5
add rbx, 0x20
cmp rbx, rdi
jne 0x140011030
jmp 0x14001110d
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14001131e
nop dword [rax]
jmp 0x140010d62
lea rdx, [rbp - 0x20]
lea rcx, [rbp + 0xe4]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x14001110d
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.1400088e0
lea rdx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rdx, qword [rbp - 0x80]
mov r8, qword [rbp - 0x70]
mov rcx, rax
call fcn.140009240
lea rdx, [0x140008ba0]
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]
lea rcx, [0x14006f8f0]
call fcn.1400067e0
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14001114f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001114a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011227
call fcn.1400493f0
lea rdx, [rbp + 0xd0]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
test eax, eax
jne 0x140010f91
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
mov rbx, qword [rsp + 0x30]
test rbx, rbx
je 0x140011244
mov rdi, qword [rsp + 0x38]
cmp rbx, rdi
je 0x1400111ec
mov rdx, qword [rbx + 0x18]
cmp rdx, 7
jbe 0x1400111ce
mov rcx, qword [rbx]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400111c9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14001121e
mov rcx, r8
call fcn.1400493f0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 7
mov word [rbx], r15w
add rbx, 0x20
cmp rbx, rdi
jne 0x140011193
mov rbx, qword [rsp + 0x30]
mov rdx, qword ds:[rsp + 0x40]
sub rdx, rbx
and rdx, 0xffffffffffffffe0
mov rax, rbx
cmp rdx, 0x1000
jb 0x14001122e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001122e
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
mov rcx, rbx
call fcn.1400493f0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x30], xmm0
mov qword [rsp + 0x40], r15
mov rdx, qword [rbp - 0x48]
cmp rdx, 7
jbe 0x14001128c
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011287
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011287
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400493f0
movdqa xmm0, xmmword [0x14005d4a0]
movdqu xmmword [rbp - 0x50], xmm0
mov word [rbp - 0x60], r15w
mov rdx, qword [rbp - 0x28]
cmp rdx, 7
jbe 0x1400112ec
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword ds:[rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400112e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400112e7
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400493f0
mov rcx, qword [rbp + 0x320]
xor rcx, rsp
call fcn.1400493d0
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.140003ea0
nop
nop
call fcn.140003df0
int3
movzx ecx, dl
jmp 0x140010c00