Function at 0x14003d470
Capabilities:
Enumerate files on windows

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x328]
sub rsp, 0x420
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x14006dfb8]
xor rax, rsp
mov qword [rbp + 0x310], rax
lea rdx, [0x14005320c]
lea rcx, [rbp - 0x40]
call fcn.140017b3c
nop
lea rcx, [rbp + 0x20]
call fcn.140032d68
nop
lea r8, [rbp - 0x40]
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140017a38
nop
lea rcx, [rbp + 0x20]
call fcn.1400183f8
nop
lea rcx, [rbp - 0x40]
call fcn.1400183f8
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp + 0xc0]
call sub.api_ms_win_crt_string_l1_1_0.dll_memset
lea rcx, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae rcx, qword [rbp - 0x20]
lea rdx, [rbp + 0xc0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x14003d57a
call fcn.140016c38
mov rbx, rax
cmp dword [rax], 2
jbe 0x14003d88d
lea rax, str.Failed_to_find_files_in_platform_folder__not_deleting_sense_versions
mov qword [rsp + 0x50], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea rdx, [0x14005e734]
mov rcx, rbx
call fcn.140001008
jmp 0x14003d88d
call fcn.140014a08
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.14001866c
nop
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
lea rdx, [rbp - 0x78]
lea rcx, [rbp - 0x40]
call fcn.14002b2ac
test al, al
jne 0x14003d5f9
call fcn.140016c38
mov rbx, rax
cmp dword [rax], 2
jbe 0x14003d883
lea rax, str.Failed_to_parse_sense_version_name__not_deleting_sense_versions
mov qword [rsp + 0x50], rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0x68], eax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea rdx, [0x14005e734]
mov rcx, rbx
call fcn.140001008
jmp 0x14003d883
lea rdx, str.SOFTWAREMicrosoftWindows_Advanced_Threat_Protection
lea rcx, [rbp + 0x80]
call fcn.140017b3c
nop
lea rdx, [0x14004d33c]
lea rcx, [rbp + 0x60]
call fcn.140017b3c
nop
lea rdx, str.InstallLocation
lea rcx, [rbp + 0x40]
call fcn.140017b3c
lea rax, [rsp + 0x58]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x80]
lea r8, [rbp + 0x60]
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0xa0]
call fcn.1400117fc
nop
lea rcx, [rbp + 0x40]
call fcn.1400183f8
nop
lea rcx, [rbp + 0x60]
call fcn.1400183f8
nop
lea rcx, [rbp + 0x80]
call fcn.1400183f8
test byte [rbp + 0xc0], 0x10
je 0x14003d858
lea rdx, [rbp + 0xec]
lea rcx, [rbp - 0x60]
call fcn.140017b3c
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x60]
call fcn.14002b2ac
test al, al
jne 0x14003d6f4
call fcn.140016c38
cmp dword [rax], 4
jbe 0x14003d84f
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
mov qword [rsp + 0x50], rcx
lea rcx, str.Not_deleting_folder_because_it_doesnt_have_a_valid_version_name
mov qword [rsp + 0x60], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x60]
lea rdx, [0x14005e764]
jmp 0x14003d841
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x78]
call fcn.14002a148
test al, al
jne 0x14003d802
lea rdx, [rbp]
lea rcx, [rsp + 0x78]
call fcn.14002a1cc
xor r8d, r8d
lea rdx, [rbp]
lea rcx, [rbp + 0xa0]
call fcn.140010e44
mov rdi, rax
lea rcx, [rbp]
call fcn.1400183f8
call fcn.140016c38
cmp rdi, 0xffffffffffffffff
je 0x14003d771
cmp dword [rax], 4
jbe 0x14003d84f
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
mov qword [rsp + 0x60], rcx
lea rcx, str.Not_deleting_folder_because_install_location_points_to_it__________________________this_means_InstallLocation_is_different_when_the_current_version__bug_
lea rdx, [0x14005e764]
jmp 0x14003d82d
cmp dword [rax], 4
jbe 0x14003d7b8
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
mov qword [rsp + 0x60], rcx
lea rcx, str.Deleting_sense_version
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
lea rdx, [0x14005e6ce]
mov rcx, rax
call fcn.140012440
lea rcx, [rbp]
call fcn.140032d68
nop
lea r8, [rbp - 0x60]
mov rdx, rax
lea rcx, [rbp + 0x20]
call fcn.140017a38
nop
lea rcx, [rbp]
call fcn.1400183f8
or dword [rsp + 0x68], 0xffffffff
or dword [rsp + 0x6c], 0xffffffff
mov r8, qword [rsp + 0x68]
mov dl, 1
lea rcx, [rbp + 0x20]
call fcn.140035d6c
nop
lea rcx, [rbp + 0x20]
call fcn.1400183f8
jmp 0x14003d84f
call fcn.140016c38
cmp dword [rax], 4
jbe 0x14003d84f
lea rcx, [rbp - 0x60]
cmp qword [rbp - 0x48], 8
cmovae rcx, qword [rbp - 0x60]
mov qword [rsp + 0x60], rcx
lea rcx, str.Skipping_deleting_sense_version_as_its_the_same_version_that_runs_now
lea rdx, [0x14005e6ce]
mov qword [rsp + 0x50], rcx
lea rcx, [rsp + 0x60]
mov qword [rsp + 0x28], rcx
lea rcx, [rsp + 0x50]
mov qword [rsp + 0x20], rcx
mov rcx, rax
call fcn.140012440
nop
lea rcx, [rbp - 0x60]
call fcn.1400183f8
lea rdx, [rbp + 0xc0]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
nop dword [rax + rax]
test eax, eax
jne 0x14003d674
lea rcx, [rbp + 0xa0]
call fcn.1400183f8
nop
lea rcx, [rbp - 0x40]
call fcn.1400183f8
nop
lea rcx, [rsp + 0x70]
call fcn.140035c2c
nop
lea rcx, [rbp - 0x20]
call fcn.1400183f8
mov rcx, qword [rbp + 0x310]
xor rcx, rsp
call fcn.14001ae20
lea r11, [rsp + 0x420]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret