Function at 0x1401a1940
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5b0]
sub rsp, 0x6b0
mov rax, qword [0x1406836b8]
xor rax, rsp
mov qword [rbp + 0x5a0], rax
xor ebx, ebx
mov qword [rsp + 0x20], rdx
mov r14d, r8d
mov r12, rdx
mov r15, rcx
mov r8, rcx
mov edx, 0x104
lea rcx, [rbp + 0x390]
lea r9, [rbx - 1]
mov esi, ebx
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea rcx, [rbp + 0x390]
lea r13d, [rbx + 0x5c]
cmp bx, word [rbp + 0x390]
je 0x1401a1a07
mov edx, ebx
inc edx
cmp edx, 0x104
je 0x1401a1a07
cmp bx, word [rcx]
lea rax, [rcx + 2]
cmove rax, rcx
mov rcx, rax
cmp bx, word [rax]
jne 0x1401a19b1
add rax, 0xfffffffffffffffe
lea r9, [rbp + 0x390]
cmp rcx, r9
lea r8, [rbp + 0x390]
cmova r8, rax
movzx ecx, word [r8]
cmp r13w, cx
je 0x1401a1a07
lea eax, [rdx + 2]
cmp eax, 0x104
ja 0x1401a1a07
cmp bx, cx
je 0x1401a1a04
add r8, 2
mov dword [r8], r13d
mov r9, 0xffffffffffffffff
lea rcx, [rbp + 0x390]
mov r8, r12
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1401a1b4d
mov r12d, 1
nop dword [rax + rax]
mov r9, 0xffffffffffffffff
lea rcx, [rbp + 0x180]
mov r8, r15
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea rcx, [rbp + 0x180]
cmp bx, word [rbp + 0x180]
je 0x1401a1ad6
mov edx, ebx
nop
inc edx
cmp edx, 0x104
je 0x1401a1ad6
cmp bx, word [rcx]
lea rax, [rcx + 2]
cmove rax, rcx
mov rcx, rax
cmp bx, word [rax]
jne 0x1401a1a80
lea rax, [rbp + 0x180]
lea r8, [rbp + 0x180]
cmp rcx, rax
jbe 0x1401a1ab4
lea r8, [rcx - 2]
movzx ecx, word [r8]
cmp r13w, cx
je 0x1401a1ad6
lea eax, [rdx + 2]
cmp eax, 0x104
ja 0x1401a1ad6
cmp bx, cx
lea rax, [r8 + 2]
cmove rax, r8
mov dword [rax], r13d
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x5c]
mov edx, 0x104
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
mov edx, dword [rsp + 0x30]
mov eax, edx
and eax, 0x10
test al, al
jne 0x1401a1b29
test r12b, dl
je 0x1401a1b16
and edx, 0xfffffffe
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea rcx, [rbp + 0x180]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
cmove esi, r12d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401a1a50
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r12, qword [rsp + 0x20]
test r14d, r14d
je 0x1401a1d41
mov r9, 0xffffffffffffffff
lea rcx, [rbp + 0x390]
mov r8, r15
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea rcx, [rbp + 0x390]
cmp bx, word [rbp + 0x390]
je 0x1401a1bda
mov edx, ebx
inc edx
cmp edx, 0x104
je 0x1401a1bda
cmp bx, word [rcx]
lea rax, [rcx + 2]
cmove rax, rcx
mov rcx, rax
cmp bx, word [rax]
jne 0x1401a1b84
add rax, 0xfffffffffffffffe
lea r9, [rbp + 0x390]
cmp rcx, r9
lea r8, [rbp + 0x390]
cmova r8, rax
movzx ecx, word [r8]
cmp r13w, cx
je 0x1401a1bda
lea eax, [rdx + 2]
cmp eax, 0x104
ja 0x1401a1bda
cmp bx, cx
je 0x1401a1bd7
add r8, 2
mov dword [r8], r13d
mov r9, 0xffffffffffffffff
lea r8, [0x140450db0]
mov edx, 0x104
lea rcx, [rbp + 0x390]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x390]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x1401a1d41
nop dword [rax]
test byte [rsp + 0x30], 0x10
je 0x1401a1d22
lea rdx, [0x140450b08]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1401a1d22
lea rdx, [0x140450db8]
lea rcx, [rsp + 0x5c]
call qword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
je 0x1401a1d22
mov r9, 0xffffffffffffffff
lea rcx, [rbp + 0x180]
mov r8, r15
mov edx, 0x104
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncpy_s]
lea rcx, [rbp + 0x180]
cmp bx, word [rbp + 0x180]
je 0x1401a1ce6
mov edx, ebx
nop dword [rax]
inc edx
cmp edx, 0x104
je 0x1401a1ce6
cmp bx, word [rcx]
lea rax, [rcx + 2]
cmove rax, rcx
mov rcx, rax
cmp bx, word [rax]
jne 0x1401a1c90
lea rax, [rbp + 0x180]
lea r8, [rbp + 0x180]
cmp rcx, rax
jbe 0x1401a1cc4
lea r8, [rcx - 2]
movzx ecx, word [r8]
cmp r13w, cx
je 0x1401a1ce6
lea eax, [rdx + 2]
cmp eax, 0x104
ja 0x1401a1ce6
cmp bx, cx
lea rax, [r8 + 2]
cmove rax, r8
mov dword [rax], r13d
mov r9, 0xffffffffffffffff
lea r8, [rsp + 0x5c]
mov edx, 0x104
lea rcx, [rbp + 0x180]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncat_s]
mov r14d, 1
lea rcx, [rbp + 0x180]
mov r8d, r14d
mov rdx, r12
call sym.ErrorReportClient.exe_SfDeleteFiles
test eax, eax
cmove esi, r14d
lea rdx, [rsp + 0x30]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401a1c20
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
test esi, esi
sete bl
mov eax, ebx
mov rcx, qword [rbp + 0x5a0]
xor rcx, rsp
call fcn.14039bbb0
mov rbx, qword [rsp + 0x700]
add rsp, 0x6b0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret