Function at 0x14000c020
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 - 0x3e0]
sub rsp, 0x4e0
mov rax, qword [0x14006c040]
xor rax, rsp
mov qword [rbp + 0x3d0], rax
xor r13d, r13d
test cl, cl
jne 0x14000c0a6
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.1400088a0
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 + 0x70]
call fcn.1400471a0
test al, al
jne 0x14000c0cb
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.14000b980
jmp 0x14000c94c
xorps xmm0, xmm0
movups xmmword [rbp + 0x40], xmm0
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x58], r13
mov r8d, 0x33
lea rdx, str.C:ProgramDataMicrosoftWindowsWERReportArchive_
lea rcx, [rbp + 0x40]
call fcn.140006ca0
nop
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
mov rcx, qword [rbp + 0x50]
sub rax, rcx
cmp rax, 0xa
jb 0x14000c98c
lea r15, ds:[rbp + 0x40]
mov rdi, qword [rbp + 0x58]
cmp rdi, 7
cmova r15, qword [rbp + 0x40]
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
lea r14, [rcx + 0xa]
mov ebx, 7
lea rsi, [rbp]
cmp r14, rbx
jbe 0x14000c17c
mov rbx, r14
or rbx, 7
cmp rbx, rdx
jbe 0x14000c205
mov rbx, rdx
movabs rcx, 0x7fffffffffffffff
lfence
add rcx, rcx
call fcn.140006f80
mov rsi, rax
mov qword [rbp], rax
mov rdi, qword [rbp + 0x58]
mov rcx, qword [rbp + 0x50]
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], 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 [rbx + rsi], xmm0
mov eax, dword [0x140052f48]
mov dword [rbx + rsi + 0x10], eax
mov word [rsi + r14*2], r13w
lea rcx, [rbp]
cmp qword [rbp + 0x18], 7
cmova rcx, qword [rbp]
lea rdx, [rbp + 0x180]
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 0x14000c22e
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.14000b980
mov rbx, r12
jmp 0x14000c879
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000c986
jmp 0x14000c162
lea rdx, [rbp + 0x180]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
test eax, eax
jne 0x14000c25f
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.14000b980
mov rbx, r12
jmp 0x14000c879
lea rbx, [0x140052f96]
mov esi, 0x100
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
lea rax, [rbp + 0x1ac]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000c290
lea rdx, [rbp + 0x1ac]
lea rcx, [rbp - 0x30]
call fcn.140006ca0
nop
lea rdi, [rbp - 0x30]
mov r15, qword [rbp - 0x30]
mov r13, qword [rbp - 0x18]
cmp r13, 7
cmova rdi, r15
mov r14, qword [rbp - 0x20]
test r14, r14
je 0x14000c386
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140052f94]
movzx eax, word [rcx]
cmp ax, si
jae 0x14000c336
movzx eax, al
mov byte [rbp + rax + 0x80], 1
add rcx, 2
cmp rcx, rbx
jne 0x14000c2e5
lea rcx, [rdi + r14*2]
mov rbx, rdi
cmp rdi, rcx
jae 0x14000c386
movzx eax, word [rbx]
cmp ax, si
jae 0x14000c323
cmp byte [rbp + rax + 0x80], 0
jne 0x14000c32e
add rbx, 2
cmp rbx, rcx
jb 0x14000c311
jmp 0x14000c386
sub rbx, rdi
sar rbx, 1
jmp 0x14000c38d
lea r8, ds:[rdi + r14*2]
mov rbx, rdi
cmp rdi, r8
jae 0x14000c386
mov r9d, 0x5f
nop dword [rax + rax]
mov ecx, 1
movzx edx, word [rbx]
lea rax, [0x140052f94]
cmp r9w, dx
je 0x14000c32e
cmp rcx, 1
je 0x14000c37d
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x14000c366
test rax, rax
jne 0x14000c32e
add rbx, 2
cmp rbx, r8
jb 0x14000c350
mov rbx, 0xffffffffffffffff
lea rdi, ds:[rbx + 1]
lea rsi, [rbp - 0x30]
cmp r13, 7
cmova rsi, r15
cmp rdi, r14
jae 0x14000c476
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x80]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140052f94]
mov edx, 0x100
lea r8, [0x140052f96]
movzx eax, word [rcx]
cmp ax, dx
jae 0x14000c426
movzx eax, al
mov byte [rbp + rax + 0x80], 1
add rcx, 2
cmp rcx, r8
jne 0x14000c3d0
lea rcx, [rsi + r14*2]
lea r8, [rsi + rdi*2]
cmp r8, rcx
jae 0x14000c476
nop dword [rax]
movzx eax, word [r8]
cmp ax, dx
jae 0x14000c413
cmp byte [rbp + rax + 0x80], 0
jne 0x14000c41e
add r8, 2
cmp r8, rcx
jb 0x14000c400
jmp 0x14000c476
sub r8, rsi
sar r8, 1
jmp 0x14000c47d
lea r9, [rsi + r14*2]
lea r8, [rsi + rdi*2]
cmp r8, r9
jae 0x14000c476
mov r10d, 0x5f
nop dword [rax]
mov ecx, 1
movzx edx, word [r8]
lea rax, [0x140052f94]
cmp r10w, dx
je 0x14000c41e
cmp rcx, 1
je 0x14000c46d
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x14000c456
test rax, rax
jne 0x14000c41e
add r8, 2
cmp r8, r9
jb 0x14000c440
mov r8, 0xffffffffffffffff
nop dword [rax]
cmp rbx, 0xffffffffffffffff
je 0x14000c816
cmp r8, 0xffffffffffffffff
je 0x14000c816
lea rcx, [rbx + 1]
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
xor r13d, r13d
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], r13
cmp r14, rcx
jb 0x14000c97c
lfence
sub r8, rbx
dec r8
mov rax, qword [rbp - 0x20]
sub rax, rcx
cmp rax, r8
cmovb r8, rax
lea rax, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rax, qword [rbp - 0x30]
lea rdx, [rax + rcx*2]
lea rcx, [rbp - 0x70]
call fcn.140006ca0
nop
mov rax, qword [rbp + 0x194]
mov qword [rsp + 0x40], rax
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea r8, [rbp - 0x10]
lea rdx, [rbp + 0x60]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
lea rdx, ds:[rsp + 0x58]
lea rcx, [rbp + 0x70]
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 0x14000c76b
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova r8, qword [rbp - 0x70]
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 + 0x20]
call fcn.140010420
lea rcx, ds:[rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rcx, qword [rbp + 0x20]
lea r8, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
cmova r8, qword [rbp - 0x70]
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]
nop
lea rdx, [rbp - 0x70]
cmp qword [rbp - 0x58], 7
seta r8b
cmova rdx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x60]
lea r9, [rdx + rax*2]
lea rdx, [rbp - 0x70]
test r8b, r8b
cmovne rdx, qword [rbp - 0x70]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], r13
cmp rdx, r9
jne 0x14000c61c
mov ecx, r13d
mov qword [rbp - 0x40], rcx
mov edx, 7
mov qword [rbp - 0x38], rdx
mov word [rbp - 0x50], r13w
jmp 0x14000c636
sub r9, rdx
sar r9, 1
mov r8, r9
lea rcx, [rbp - 0x50]
call fcn.140006ca0
mov rdx, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x40]
lea rax, ds:[rbp - 0x50]
cmp rdx, 7
cmova rax, qword [rbp - 0x50]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rcx
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
lea rcx, [rsp + 0x70]
call fcn.140005060
test al, al
jne 0x14000c6bf
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
movzx eax, word [rbp - 4]
movzx ecx, word [rbp - 6]
movzx r10d, word [rbp - 8]
movzx r11d, word [rbp - 0xa]
movzx r9d, word [rbp - 0xe]
movzx r8d, word [rbp - 0x10]
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.140003d60
lea r8, [rbp - 0x50]
lea rdx, [rbp - 0x80]
call fcn.140006820
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 7
jbe 0x14000c70f
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword ds:[rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c70a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c8cd
call fcn.1400499d0
mov qword [rbp - 0x40], r13
mov qword [rbp - 0x38], 7
mov word [rbp - 0x50], r13w
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x14000c75b
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c756
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c8d4
call fcn.1400499d0
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], 0xf
mov byte [rbp + 0x20], 0
mov rdx, qword [rbp - 0x58]
cmp rdx, 7
jbe 0x14000c7af
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c7aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c8db
call fcn.1400499d0
mov qword [rbp - 0x60], r13
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r13w
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x14000c80f
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c80a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c8e7
call fcn.1400499d0
mov r12, qword [rsp + 0x50]
jmp 0x14000c855
cmp r13, 7
jbe 0x14000c852
lea rdx, [r13*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x14000c84a
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c8e7
mov rcx, r15
call fcn.1400499d0
xor r13d, r13d
mov rbx, r12
lea rdx, [rbp + 0x180]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000c25f
mov rdi, qword [rbp + 0x58]
mov rsi, qword [rsp + 0x48]
test rbx, rbx
je 0x14000c88b
mov rcx, r12
mov rax, rsi
call qword [0x140050d48]
nop
mov rdx, qword [rbp + 0x18]
cmp rdx, 7
jbe 0x14000c8f3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c8ee
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c8ee
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 qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call fcn.1400499d0
movdqa xmm0, xmmword [0x14005d490]
movdqu xmmword [rbp + 0x10], xmm0
mov word [rbp], r13w
cmp rdi, 7
jbe 0x14000c94c
lea rdx, ds:[rdi*2 + 2]
mov rcx, qword [rbp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c947
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c947
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400499d0
mov rcx, qword [rbp + 0x3d0]
xor rcx, rsp
call fcn.1400499b0
lea r11, [rsp + 0x4e0]
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
nop dword [rax]
call fcn.140008880
nop
call fcn.140003ed0
int3
call fcn.140003f80
int3
movzx ecx, dl
jmp 0x14000c020