Function at 0x140009e60
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 - 0x390]
sub rsp, 0x490
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rbp + 0x380], rax
xor r13d, r13d
test cl, cl
jne 0x140009ee6
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.1400053a0
mov ecx, 0xfffffff5
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
lea edx, ds:[r13 + 7]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [rbp + 0x20]
call fcn.140036c20
test al, al
jne 0x140009f0b
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.14000a6e0
jmp 0x14000a65f
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], r13
mov qword [rbp + 8], r13
mov r8d, 0x33
lea rdx, str.C:ProgramDataMicrosoftWindowsWERReportArchive_
lea rcx, [rbp - 0x10]
call fcn.140003500
nop
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
mov rcx, qword [rbp]
sub rax, rcx
cmp rax, 0xa
jb 0x14000a69b
lea r15, ds:[rbp - 0x10]
mov rdi, qword [rbp + 8]
cmp rdi, 7
cmova r15, qword [rbp - 0x10]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x40], xmm1
lea r14, [rcx + 0xa]
mov ebx, 7
lea rsi, [rbp - 0x50]
cmp r14, rbx
jbe 0x140009fbc
mov rbx, r14
or rbx, 7
cmp rbx, rdx
jbe 0x14000a045
mov rbx, rdx
movabs rcx, 0x7fffffffffffffff
lfence
add rcx, rcx
call fcn.140003b00
mov rsi, rax
mov qword [rbp - 0x50], rax
mov rdi, qword [rbp + 8]
mov rcx, qword [rbp]
mov qword [rbp - 0x40], r14
mov qword [rbp - 0x38], rbx
lea rbx, [rcx + rcx]
mov r8, rbx
mov rdx, r15
mov rcx, rsi
call sub.VCRUNTIME140.dll_memcpy
movups xmm0, xmmword [str.AppCrash_]
movups xmmword [rsi + rbx], xmm0
mov eax, dword [0x140040488]
mov dword [rsi + rbx + 0x10], eax
mov word [rsi + r14*2], r13w
lea rcx, [rbp - 0x50]
cmp qword [rbp - 0x38], 7
cmova rcx, qword [rbp - 0x50]
lea rdx, [rbp + 0x130]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
mov rsi, qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x48], rsi
mov qword [rsp + 0x50], rax
test rax, rax
jne 0x14000a06e
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.14000a6e0
mov rbx, r12
jmp 0x14000a599
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000a695
jmp 0x140009fa2
lea rdx, [rbp + 0x130]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
test eax, eax
jne 0x14000a09f
lea rdx, str.No_AppCrash_files_found_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000a6e0
mov rbx, r12
jmp 0x14000a599
lea rbx, [0x1400404d6]
mov esi, 0x100
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov qword [rbp - 0x70], r13
mov qword [rbp - 0x68], r13
lea rax, [rbp + 0x15c]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000a0d0
lea rdx, [rbp + 0x15c]
lea rcx, [rbp - 0x80]
call fcn.140003500
nop
lea rdi, [rbp - 0x80]
mov r15, qword [rbp - 0x80]
mov r13, qword [rbp - 0x68]
cmp r13, 7
cmova rdi, r15
mov r14, qword [rbp - 0x70]
test r14, r14
je 0x14000a1b5
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x1400404d4]
movzx eax, word [rcx]
cmp ax, si
jae 0x14000a16a
movzx eax, al
mov byte [rbp + rax + 0x30], 1
add rcx, 2
cmp rcx, rbx
jne 0x14000a122
lea rcx, [rdi + r14*2]
mov rbx, rdi
cmp rdi, rcx
jae 0x14000a1b5
movzx eax, word [rbx]
cmp ax, si
jae 0x14000a156
cmp byte [rbp + rax + 0x30], 0
jne 0x14000a162
add rbx, 2
cmp rbx, rcx
jb 0x14000a147
nop
jmp 0x14000a1b5
sub rbx, rdi
sar rbx, 1
jmp 0x14000a1bc
lea r8, [rdi + r14*2]
mov rbx, rdi
cmp rdi, r8
jae 0x14000a1b5
mov r9d, 0x5f
nop dword [rax]
mov ecx, 1
movzx edx, word [rbx]
lea rax, [0x1400404d4]
cmp r9w, dx
je 0x14000a162
cmp rcx, 1
je 0x14000a1ac
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x14000a195
test rax, rax
jne 0x14000a162
add rbx, 2
cmp rbx, r8
jb 0x14000a180
mov rbx, 0xffffffffffffffff
lea rdi, [rbx + 1]
lea rsi, [rbp - 0x80]
cmp r13, 7
cmova rsi, r15
cmp rdi, r14
jae 0x14000a296
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x30]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x1400404d4]
mov edx, 0x100
lea r8, [0x1400404d6]
nop dword [rax]
movzx eax, word [rcx]
cmp ax, dx
jae 0x14000a24a
movzx eax, al
mov byte [rbp + rax + 0x30], 1
add rcx, 2
cmp rcx, r8
jne 0x14000a200
lea rcx, [rsi + r14*2]
lea r8, [rsi + rdi*2]
cmp r8, rcx
jae 0x14000a296
movzx eax, word [r8]
cmp ax, dx
jae 0x14000a236
cmp byte [rbp + rax + 0x30], 0
jne 0x14000a242
add r8, 2
cmp r8, rcx
jb 0x14000a226
nop
jmp 0x14000a296
sub r8, rsi
sar r8, 1
jmp 0x14000a29d
lea r9, [rsi + r14*2]
lea r8, [rsi + rdi*2]
cmp r8, r9
jae 0x14000a296
mov r10d, 0x5f
nop dword [rax]
mov ecx, 1
movzx edx, word [r8]
lea rax, [0x1400404d4]
cmp r10w, dx
je 0x14000a242
cmp rcx, 1
je 0x14000a28d
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x14000a276
test rax, rax
jne 0x14000a242
add r8, 2
cmp r8, r9
jb 0x14000a260
mov r8, 0xffffffffffffffff
nop dword [rax]
cmp rbx, 0xffffffffffffffff
je 0x14000a536
cmp r8, 0xffffffffffffffff
je 0x14000a536
lea rcx, [rbx + 1]
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xor r13d, r13d
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], r13
cmp r14, rcx
jb 0x14000a68f
lfence
sub r8, rbx
dec r8
mov rax, qword [rbp - 0x70]
sub rax, rcx
cmp rax, r8
cmovb r8, rax
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rax, qword [rbp - 0x80]
lea rdx, [rax + rcx*2]
lea rcx, [rsp + 0x60]
call fcn.140003500
nop
mov rax, qword [rbp + 0x144]
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x10]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea r8, [rbp - 0x60]
lea rdx, [rbp + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
lea rdx, ds:[rsp + 0x58]
lea rcx, [rbp + 0x20]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
test eax, eax
jle 0x14000a47f
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova r8, qword [rsp + 0x60]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor edx, edx
mov ecx, 0xfde9
lea r9d, [r13 - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
movsxd rbx, eax
mov rdx, rbx
lea rcx, [rbp - 0x30]
call fcn.14000e3c0
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rcx, qword [rbp - 0x30]
lea r8, [rsp + 0x60]
cmp qword [rsp + 0x78], 7
cmova r8, qword [rsp + 0x60]
mov qword [rsp + 0x38], r13
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rcx
xor edx, edx
mov ecx, 0xfde9
lea r9d, [r13 - 1]
call qword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0xf
cmova rdx, qword [rbp - 0x30]
movzx eax, word [rbp - 0x54]
movzx ecx, word [rbp - 0x56]
movzx r10d, word [rbp - 0x58]
movzx r11d, word [rbp - 0x5a]
movzx r9d, word [rbp - 0x5e]
movzx r8d, word [rbp - 0x60]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], ecx
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea rcx, str.___Executed_file:__hs_at__04d__02d__02d__02d:_02d:_02d_n
call fcn.140001dc0
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x14000a46f
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a46a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a5ed
call fcn.140038e10
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
mov rdx, qword [rsp + 0x78]
cmp rdx, 7
jbe 0x14000a4cf
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a4ca
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a5f4
call fcn.140038e10
mov qword [rsp + 0x70], r13
mov qword [rsp + 0x78], 7
mov word [rsp + 0x60], r13w
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x14000a52f
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a52a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a5fb
call fcn.140038e10
mov r12, qword [rsp + 0x50]
jmp 0x14000a575
cmp r13, 7
jbe 0x14000a572
lea rdx, [r13*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x14000a56a
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000a5fb
mov rcx, r15
call fcn.140038e10
xor r13d, r13d
mov rbx, r12
lea rdx, [rbp + 0x130]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000a09f
mov rdi, qword [rbp + 8]
mov rsi, qword [rsp + 0x48]
test rbx, rbx
je 0x14000a5ab
mov rcx, r12
mov rax, rsi
call qword [0x14003ebc0]
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14000a60c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a607
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a607
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
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.140038e10
movdqa xmm0, xmmword [0x140049850]
movdqu xmmword ds:[rbp - 0x40], xmm0
mov word [rbp - 0x50], r13w
cmp rdi, 7
jbe 0x14000a65f
lea rdx, [rdi*2 + 2]
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000a65a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000a65a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140038e10
mov rcx, qword [rbp + 0x380]
xor rcx, rsp
call fcn.140038df0
lea r11, [rsp + 0x490]
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.140002e80
nop
call fcn.140001f30
int3
nop dword [rax + rax]
call fcn.140001fe0
int3