Function at 0x140043530
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 - 0x4f0]
sub rsp, 0x5f0
mov rax, qword [0x14006b030]
xor rax, rsp
mov qword [rbp + 0x4e0], rax
xor r13d, r13d
test cl, cl
jne 0x14000bd46
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.1400089c0
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 + 0x80]
call fcn.140045ee0
test al, al
jne 0x14000bd6e
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.14000b5c0
jmp 0x14000c5ec
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], r13
mov r8d, 0x33
lea rdx, str.C:ProgramDataMicrosoftWindowsWERReportArchive_
lea rcx, [rbp + 0x50]
call fcn.140006d20
nop
movabs rdx, 0x7ffffffffffffffe
mov rax, rdx
mov rcx, qword [rbp + 0x60]
sub rax, rcx
cmp rax, 0xa
jb 0x14000c62c
lea r15, ds:[rbp + 0x50]
mov rdi, qword [rbp + 0x68]
cmp rdi, 8
cmovae r15, qword [rbp + 0x50]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x20], xmm1
lea r14, [rcx + 0xa]
mov ebx, 7
lea rsi, [rbp + 0x10]
cmp r14, rbx
jbe 0x14000be1c
mov rbx, r14
or rbx, 7
cmp rbx, rdx
jbe 0x14000bea5
mov rbx, rdx
movabs rcx, 0x7fffffffffffffff
lfence
add rcx, rcx
call fcn.140006ee0
mov rsi, rax
mov qword [rbp + 0x10], rax
mov rdi, qword [rbp + 0x68]
mov rcx, qword [rbp + 0x60]
mov qword [rbp + 0x20], r14
mov qword [rbp + 0x28], 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 [0x140052018]
mov dword [rbx + rsi + 0x10], eax
mov word [rsi + r14*2], r13w
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rcx, qword [rbp + 0x10]
lea rdx, [rbp + 0x290]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
mov rsi, qword [sym.imp.KERNEL32.dll_FindClose]
mov qword [rsp + 0x50], rsi
mov qword [rsp + 0x58], rax
test rax, rax
jne 0x14000bece
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.14000b5c0
mov rbx, r12
jmp 0x14000c519
mov eax, 0xa
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14000c626
jmp 0x14000be02
lea rdx, [rbp + 0x290]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
test eax, eax
jne 0x14000beff
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.14000b5c0
mov rbx, r12
jmp 0x14000c519
lea rbx, [0x140052066]
mov esi, 0x100
xorps xmm0, xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r13
mov qword [rbp - 8], r13
lea rax, [rbp + 0x2bc]
mov r8, 0xffffffffffffffff
nop dword [rax + rax]
inc r8
cmp word [rax + r8*2], 0
jne 0x14000bf30
lea rdx, [rbp + 0x2bc]
lea rcx, [rbp - 0x20]
call fcn.140006d20
nop
lea rdi, [rbp - 0x20]
mov r13, qword [rbp - 8]
cmp r13, 8
setae byte [rsp + 0x40]
mov r15, qword [rbp - 0x20]
cmovae rdi, r15
mov r14, qword [rbp - 0x10]
test r14, r14
je 0x14000c035
mov r8, rsi
xor edx, edx
lea rcx, [rbp + 0x90]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140052064]
nop dword [rax]
movzx eax, word [rcx]
cmp ax, si
jae 0x14000bfe2
movzx eax, al
mov byte [rbp + rax + 0x90], 1
add rcx, 2
cmp rcx, rbx
jne 0x14000bf90
lea rcx, [rdi + r14*2]
mov rbx, rdi
cmp rdi, rcx
jae 0x14000c035
movzx eax, word ds:[rbx]
cmp ax, si
jae 0x14000bfcf
cmp byte [rbp + rax + 0x90], 0
jne 0x14000bfd8
add rbx, 2
cmp rbx, rcx
jmp 0x14000bfb6
sub rbx, rdi
sar rbx, 1
jmp 0x14000c03c
lea r8, [rdi + r14*2]
mov rbx, rdi
cmp rdi, r8
jae 0x14000c035
mov r9d, 0x5f
nop dword [rax]
nop dword [rax + rax]
mov ecx, 1
movzx edx, word [rbx]
lea rax, [0x140052064]
cmp r9w, dx
je 0x14000bfd8
cmp rcx, 1
je 0x14000c02c
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x14000c015
test rax, rax
jne 0x14000bfd8
add rbx, 2
cmp rbx, r8
jb 0x14000c000
mov rbx, 0xffffffffffffffff
lea rsi, [rbx + 1]
lea rdi, [rbp - 0x20]
cmp byte [rsp + 0x40], 0
cmovne rdi, r15
cmp rsi, r14
jae 0x14000c116
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x190]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x140052064]
mov edx, 0x100
lea r8, [0x140052066]
nop dword [rax]
movzx eax, word [rcx]
cmp ax, dx
jae 0x14000c0ca
movzx eax, al
mov byte [rbp + rax + 0x190], 1
add rcx, 2
cmp rcx, r8
jne 0x14000c080
lea rcx, [rdi + r14*2]
lea r8, [rdi + rsi*2]
cmp r8, rcx
jae 0x14000c116
movzx eax, word [r8]
cmp ax, dx
jae 0x14000c0bc
cmp byte [rbp + rax + 0x190], 0
jne 0x14000c0c2
add r8, 2
jmp 0x14000c0a4
sub r8, rdi
sar r8, 1
jmp 0x14000c11d
lea r9, [rdi + r14*2]
lea r8, [rdi + rsi*2]
cmp r8, r9
jae 0x14000c116
mov r10d, 0x5f
nop dword [rax]
mov ecx, 1
movzx edx, word [r8]
lea rax, [0x140052064]
cmp r10w, dx
je 0x14000c0c2
cmp rcx, 1
je 0x14000c10d
dec rcx
add rax, 2
cmp word [rax], dx
jne 0x14000c0f6
test rax, rax
jne 0x14000c0c2
add r8, 2
cmp r8, r9
jb 0x14000c0e0
mov r8, 0xffffffffffffffff
nop dword [rax]
cmp rbx, 0xffffffffffffffff
je 0x14000c4b6
cmp r8, 0xffffffffffffffff
je 0x14000c4b6
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
xor r13d, r13d
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], r13
cmp r14, rsi
jb 0x14000c61c
lfence
sub r8, rbx
dec r8
mov rax, qword [rbp - 0x10]
sub rax, rsi
cmp rax, r8
cmovb r8, rax
lea rax, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rax, qword [rbp - 0x20]
lea rdx, [rax + rsi*2]
lea rcx, [rbp - 0x60]
call fcn.140006d20
nop
mov rax, qword [rbp + 0x2a4]
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FileTimeToSystemTime]
lea r8, [rbp]
lea rdx, [rbp + 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_SystemTimeToTzSpecificLocalTime]
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x80]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
nop dword [rax + rax]
test eax, eax
jle 0x14000c40b
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 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.140010180
lea rcx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rcx, qword [rbp + 0x30]
lea r8, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae r8, qword [rbp - 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]
nop
lea rdx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
setae r8b
cmovae rdx, qword [rbp - 0x60]
mov rax, qword [rbp - 0x50]
lea r9, [rdx + rax*2]
lea rdx, [rbp - 0x60]
test r8b, r8b
cmovne rdx, qword [rbp - 0x60]
xorps xmm0, xmm0
movups xmmword [rbp - 0x40], xmm0
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], r13
cmp rdx, r9
jne 0x14000c2bc
mov ecx, r13d
mov qword [rbp - 0x30], rcx
mov edx, 7
mov qword [rbp - 0x28], rdx
mov word [rbp - 0x40], r13w
jmp 0x14000c2d6
sub r9, rdx
sar r9, 1
mov r8, r9
lea rcx, [rbp - 0x40]
call fcn.140006d20
mov rdx, qword [rbp - 0x28]
mov rcx, qword [rbp - 0x30]
lea rax, ds:[rbp - 0x40]
cmp rdx, 8
cmovae rax, qword [rbp - 0x40]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rcx
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rbp - 0x80], xmm0
lea rcx, [rbp - 0x80]
call fcn.140005120
test al, al
jne 0x14000c366
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 0x10
cmovae rdx, qword [rbp + 0x30]
movzx eax, word [rbp + 0xc]
movzx ecx, word [rbp + 0xa]
movzx r10d, word [rbp + 8]
movzx r11d, word [rbp + 6]
movzx r9d, word [rbp + 2]
movzx r8d, word [rbp]
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.140003e60
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x70]
lea rcx, [0x14006e8e0]
call fcn.1400068a0
nop
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
jb 0x14000c3af
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp - 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c3aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c56d
call fcn.140048710
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r13w
mov rdx, qword [rbp + 0x48]
cmp rdx, 0x10
jb 0x14000c3fb
inc rdx
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c3f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c574
call fcn.140048710
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], 0xf
mov byte [rbp + 0x30], 0
mov rdx, qword [rbp - 0x48]
cmp rdx, 8
jb 0x14000c44f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c44a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c57b
call fcn.140048710
mov qword [rbp - 0x50], r13
mov qword [rbp - 0x48], 7
mov word [rbp - 0x60], r13w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14000c4af
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c4aa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c587
call fcn.140048710
mov r12, qword [rsp + 0x58]
jmp 0x14000c4f5
cmp byte [rsp + 0x40], 0
je 0x14000c4f2
lea rdx, [r13*2 + 2]
mov rax, r15
cmp rdx, 0x1000
jb 0x14000c4ea
add rdx, 0x27
mov r15, qword [r15 - 8]
sub rax, r15
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000c587
mov rcx, r15
call fcn.140048710
xor r13d, r13d
mov rbx, r12
lea rdx, [rbp + 0x290]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14000beff
mov rdi, qword [rbp + 0x68]
mov rsi, qword [rsp + 0x50]
test rbx, rbx
je 0x14000c52b
mov rcx, r12
mov rax, rsi
call qword [0x14004fd60]
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 8
jb 0x14000c593
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c58e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c58e
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.140048710
movdqa xmm0, xmmword [0x14005c320]
movdqu xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], r13w
cmp rdi, 8
jb 0x14000c5ec
lea rdx, ds:[rdi*2 + 2]
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c5e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c5e7
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140048710
mov rcx, qword [rbp + 0x4e0]
xor rcx, rsp
call fcn.1400486f0
lea r11, [rsp + 0x5f0]
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.1400089a0
nop
call fcn.140003fd0
int3
call fcn.140004080
int3
movzx ecx, dl
jmp 0x14000bcc0