Function at 0x14000a510
Capabilities:
Enumerate files on windows

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 - 0x340]
sub rsp, 0x440
mov rax, qword [0x14004c040]
xor rax, rsp
mov qword [rbp + 0x330], rax
xor r13d, r13d
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [r13 + 5]
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.140005860
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, [r13 + 7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [rbp - 0x30]
call fcn.140031470
test al, al
jne 0x14000a5b3
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.14000acc0
jmp 0x14000ac70
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
mov r8d, 0x33
lea rdx, str.C:ProgramDataMicrosoftWindowsWERReportArchive_
lea rcx, [rbp - 0x60]
call fcn.140003930
nop
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
mov r14, qword [rbp - 0x50]
sub rax, r14
cmp rax, 0xa
jb 0x14000aca6
lea r15, [rbp - 0x60]
mov r12, qword [rbp - 0x60]
cmp qword [rbp - 0x48], 7
cmova r15, r12
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea rsi, [r14 + 0xa]
mov ebx, 7
lea rdi, [rsp + 0x60]
cmp rsi, rbx
jbe 0x14000a6c1
mov rbx, rsi
or rbx, 7
cmp rbx, rcx
jbe 0x14000a64f
mov rbx, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14000a67e
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000acac
add rcx, rcx
cmp rcx, 0x1000
jb 0x14000a6aa
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000acac
mov rcx, rax
call fcn.140033428
test rax, rax
je 0x14000abfe
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14000a6bc
test rcx, rcx
je 0x14000a6b9
call fcn.140033428
mov rdi, rax
jmp 0x14000a6bc
mov rdi, r13
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], rsi
mov qword [rsp + 0x78], rbx
lea rbx, [r14 + r14]
mov r8, rbx
mov rdx, r15
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.AppCrash_]
movups xmmword [rbx + rdi], xmm0
mov eax, dword [0x140038f68]
mov dword [rbx + rdi + 0x10], eax
mov word [rdi + rsi*2], r13w
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova rcx, qword [rsp + 0x60]
lea rdx, [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r13, rax
cmp rax, 0xffffffffffffffff
jne 0x14000a736
lea rdx, str.Error_scanning_for_AppCrash_files_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000acc0
jmp 0x14000abc5
xor edi, edi
lea rbx, [0x140038f96]
mov esi, 0x100
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x68], rdi
lea rax, [rbp + 0x10c]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000a761
lea rdx, [rbp + 0x10c]
lea rcx, [rbp - 0x80]
call fcn.140003930
nop
lea rdi, [rbp - 0x80]
mov r15, qword [rbp - 0x80]
mov r12, qword [rbp - 0x68]
cmp r12, 7
cmova rdi, r15
mov r14, qword [rbp - 0x70]
test r14, r14
je 0x14000a845
mov r8, rsi
xor edx, edx
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140038f94]
movzx eax, word [rcx]
cmp ax, si
jae 0x14000a7fa
movzx eax, al
mov byte [rbp + rax - 0x20], 1
add rcx, 2
cmp rcx, rbx
jne 0x14000a7b3
lea rcx, [rdi + r14*2]
mov rbx, rdi
cmp rdi, rcx
jae 0x14000a845
movzx eax, word [rbx]
cmp ax, si
jae 0x14000a7e7
cmp byte [rbp + rax - 0x20], 0
jne 0x14000a7f2
add rbx, 2
cmp rbx, rcx
jb 0x14000a7d8
jmp 0x14000a845
sub rbx, rdi
sar rbx, 1
jmp 0x14000a84c
lea r8, [rdi + r14*2]
mov rbx, rdi
cmp rdi, r8
jae 0x14000a845
mov r9d, 0x5f
nop dword [rax]
mov ecx, 1
movzx edx, word [rbx]
lea rax, [0x140038f94]
cmp r9w, dx
je 0x14000a7f2
cmp rcx, 1
je 0x14000a83c
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x14000a825
test rax, rax
jne 0x14000a7f2
add rbx, 2
cmp rbx, r8
jb 0x14000a810
mov rbx, 0xffffffffffffffff
lea rsi, [rbx + 1]
lea rdi, [rbp - 0x80]
cmp r12, 7
cmova rdi, r15
cmp rsi, r14
jae 0x14000a926
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140038f94]
mov edx, 0x100
lea r8, [0x140038f96]
nop dword [rax]
movzx eax, word [rcx]
cmp ax, dx
jae 0x14000a8d9
movzx eax, al
mov byte [rbp + rax - 0x20], 1
add rcx, 2
cmp rcx, r8
jne 0x14000a890
lea rcx, [rdi + r14*2]
lea r8, [rdi + rsi*2]
cmp r8, rcx
jae 0x14000a926
movzx eax, word [r8]
cmp ax, dx
jae 0x14000a8c6
cmp byte [rbp + rax - 0x20], 0
jne 0x14000a8d1
add r8, 2
cmp r8, rcx
jb 0x14000a8b6
jmp 0x14000a926
sub r8, rdi
sar r8, 1
jmp 0x14000a92d
lea r9, [rdi + r14*2]
lea r8, [rdi + rsi*2]
cmp r8, r9
jae 0x14000a926
mov r10d, 0x5f
nop dword [rax]
mov ecx, 1
movzx edx, word [r8]
lea rax, [0x140038f94]
cmp r10w, dx
je 0x14000a8d1
cmp rcx, 1
je 0x14000a91d
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x14000a906
test rax, rax
jne 0x14000a8d1
add r8, 2
cmp r8, r9
jb 0x14000a8f0
mov r8, 0xffffffffffffffff
cmp rbx, 0xffffffffffffffff
je 0x14000ab67
cmp r8, 0xffffffffffffffff
je 0x14000ab67
lea rcx, [rbx + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor edi, edi
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], rdi
cmp r14, rcx
jb 0x14000aca0
sub r8, rbx
dec r8
sub r14, rcx
cmp r14, r8
cmovb r8, r14
lea rax, [rbp - 0x80]
cmp r12, 7
cmova rax, r15
lea rdx, [rax + rcx*2]
lea rcx, [rsp + 0x40]
call fcn.140003930
nop
mov rax, qword [rbp + 0xf4]
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea r8, [rsp + 0x30]
lea rdx, [rbp - 0x40]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
lea rdx, [rsp + 0x28]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x14000aad0
lea rdx, str.___Executed_file:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.1400032c0
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 7
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
mov rcx, rax
call fcn.140003f60
lea rdx, str._at
mov rcx, rax
call fcn.1400032c0
movzx edx, word [rsp + 0x30]
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, [0x140038f98]
call fcn.1400032c0
movzx edx, word [rsp + 0x32]
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, [0x140038f98]
call fcn.1400032c0
movzx edx, word [rsp + 0x36]
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, [0x140037ef8]
call fcn.1400032c0
movzx edx, word [rsp + 0x38]
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, [0x140037ef4]
call fcn.1400032c0
movzx edx, word [rsp + 0x3a]
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, [0x140037ef4]
call fcn.1400032c0
movzx edx, word [rsp + 0x3c]
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]
lea rdx, [0x140005ad0]
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]
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 7
jbe 0x14000ab12
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ab0d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ac05
call fcn.140033300
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x58], 7
mov word [rsp + 0x40], di
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14000aba0
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ab60
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ac0c
call fcn.140033300
jmp 0x14000aba0
cmp r12, 7
jbe 0x14000ab9e
lea rdx, [r12*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x14000ab96
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000ac0c
mov rcx, r15
call fcn.140033300
xor edi, edi
lea rdx, [rbp + 0xe0]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000a738
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r12, qword [rbp - 0x60]
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14000ac18
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000ac13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ac13
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
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140033300
movdqa xmm0, xmmword [0x140040c30]
movdqu xmmword [rsp + 0x70], xmm0
xor eax, eax
mov word [rsp + 0x60], ax
mov rax, qword [rbp - 0x48]
cmp rax, 7
jbe 0x14000ac70
lea rdx, [rax*2 + 2]
mov rax, r12
cmp rdx, 0x1000
jb 0x14000ac68
add rdx, 0x27
mov r12, qword [r12 - 8]
sub rax, r12
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000ac68
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r12
call fcn.140033300
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.1400332e0
lea r11, [rsp + 0x440]
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.140003140
nop
call fcn.140002290
int3
call fcn.1400021f0
int3