Function at 0x140115480
Capabilities:
Enumerate files on windows
Get file attributes
Move file

Disassembly:
mov rax, rsp
mov dword [rax + 0x18], r8d
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x238]
sub rsp, 0x300
mov qword [rbp - 0x60], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov rdi, r9
mov r12, rdx
mov r15, rcx
mov rsi, qword [rcx + 0x10]
test rsi, rsi
jne 0x14011551f
test byte [0x1402d741c], 1
je 0x1401154e6
lea r8, str.tsPath_must_not_be_empty
lea edx, [rsi + 1]
lea rcx, str.ForceDeleteFiles
call fcn.14011a590
nop
cmp qword [r15 + 0x18], 8
jb 0x1401154f5
mov rcx, qword [r15]
call fcn.14011f898
mov qword [r15 + 0x18], 7
xor esi, esi
mov qword [r15 + 0x10], rsi
mov word [r15], si
cmp qword [r12 + 0x18], 8
jb 0x140115518
mov rcx, qword [r12]
call fcn.14011f898
xor eax, eax
jmp 0x140115925
mov edx, 0x2f
xor r8d, r8d
call fcn.14000d6e0
mov r13d, 1
or rbx, 0xffffffffffffffff
mov rcx, r15
mov r8, rbx
cmp rax, rbx
je 0x14011555b
lea edx, [rbx + 0x30]
call fcn.14009d6f0
lea rcx, [rsi - 1]
cmp rax, rcx
je 0x140115580
lea rdx, [0x140187368]
jmp 0x140115575
mov edx, 0x5c
call fcn.14009d6f0
lea rcx, [rsi - 1]
cmp rax, rcx
je 0x140115580
lea rdx, [0x140167e60]
mov r8, r13
mov rcx, r15
call fcn.140041570
mov r8, r12
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.14010a6d0
nop
test byte [0x1402d741c], 4
je 0x1401155c3
lea r9, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae r9, qword [rsp + 0x20]
lea r8, str.Remove_file_s___s
mov edx, 3
lea rcx, str.ForceDeleteFiles
call fcn.14011a590
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x48], xmm0
xor esi, esi
mov qword [rsp + 0x58], rsi
mov r14d, esi
test rdi, rdi
je 0x140115686
mov qword [rbp - 0x68], 7
mov qword [rbp - 0x70], rsi
mov word [rbp - 0x80], si
mov r8, r13
lea rdx, [0x14016da9c]
lea rcx, [rbp - 0x80]
call fcn.14000d340
nop
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
cmp word [rdi], si
jne 0x140115620
mov ebx, esi
jmp 0x14011562a
inc rbx
cmp word [rdi + rbx*2], 0
jne 0x140115620
mov r8, rbx
mov rdx, rdi
lea rcx, [rsp + 0x60]
call fcn.14000d340
nop
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x60]
call fcn.1400b8cc0
mov r14d, eax
cmp qword [rsp + 0x78], 8
jb 0x140115663
mov rcx, qword [rsp + 0x60]
call fcn.14011f898
mov qword [rsp + 0x78], 7
mov qword [rsp + 0x70], rsi
mov word [rsp + 0x60], si
cmp qword [rbp - 0x68], 8
jb 0x140115686
mov rcx, qword [rbp - 0x80]
call fcn.14011f898
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
lea rdx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov rdi, rax
mov qword [rsp + 0x40], rax
movsxd r14, r14d
mov rax, qword [rsp + 0x48]
cmp rdi, 0xffffffffffffffff
je 0x140115886
mov r12d, dword [rbp + 0x250]
nop dword [rax]
nop word [rax + rax]
lea r8, [rbp - 0x24]
mov rdx, r15
lea rcx, [rbp - 0x80]
call fcn.14003a210
mov rbx, rax
lea rax, [rsp + 0x20]
cmp rax, rbx
je 0x14011571f
cmp qword [rsp + 0x38], 8
jb 0x1401156ff
mov rcx, qword [rsp + 0x20]
call fcn.14011f898
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
mov rdx, rbx
lea rcx, [rsp + 0x20]
call fcn.140040ff0
cmp qword [rbp - 0x68], 8
jb 0x14011572f
mov rcx, qword [rbp - 0x80]
call fcn.14011f898
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
jne 0x14011585c
test r14, r14
je 0x140115791
mov rdi, rsi
jle 0x14011578c
mov rbx, qword [rsp + 0x48]
nop dword [rax]
cmp qword [rbx + 0x18], 8
jb 0x14011576c
mov rdx, qword [rbx]
jmp 0x14011576f
mov rdx, rbx
lea rcx, [rbp - 0x24]
call fcn.140126394
test eax, eax
je 0x140115857
inc rdi
add rbx, 0x20
cmp rdi, r14
jl 0x140115760
mov rdi, qword [rsp + 0x40]
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
mov edx, 0x80
call fcn.14012ab14
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
call fcn.1401292fc
test eax, eax
je 0x14011585c
mov eax, dword [0x1402d741c]
test al, 2
je 0x140115803
lea r9, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae r9, qword [rsp + 0x20]
lea r8, str.Fail_to_remove_file__s_n
mov edx, 2
lea rcx, str.ForceDeleteFiles
call fcn.14011a590
mov eax, dword [0x1402d741c]
test r12d, r12d
je 0x140115852
test al, 2
je 0x140115835
lea r9, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae r9, qword [rsp + 0x20]
lea r8, str.Mark_to_remove_file__s_in_next_reboot_n
mov edx, 2
lea rcx, str.ForceDeleteFiles
call fcn.14011a590
lea rcx, [rsp + 0x20]
cmp qword [rsp + 0x38], 8
cmovae rcx, qword [rsp + 0x20]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExW]
mov r13d, esi
jmp 0x14011585c
mov rdi, qword [rsp + 0x40]
lea rdx, [rbp - 0x50]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1401156d0
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_FindClose]
mov r12, qword [rbp + 0x248]
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x1401158cd
mov rbx, rax
mov rdi, qword [rsp + 0x50]
cmp rax, rdi
je 0x1401158c4
cmp qword [rbx + 0x18], 8
jb 0x1401158a7
mov rcx, qword [rbx]
call fcn.14011f898
mov qword [rbx + 0x18], 7
mov qword [rbx + 0x10], rsi
mov word [rbx], si
add rbx, 0x20
cmp rbx, rdi
jne 0x140115898
mov rax, qword [rsp + 0x48]
mov rcx, rax
call fcn.14011f898
nop
cmp qword [rsp + 0x38], 8
jb 0x1401158df
mov rcx, qword [rsp + 0x20]
call fcn.14011f898
mov qword [rsp + 0x38], 7
mov qword [rsp + 0x30], rsi
mov word [rsp + 0x20], si
cmp qword [r15 + 0x18], 8
jb 0x140115901
mov rcx, qword [r15]
call fcn.14011f898
mov qword [r15 + 0x18], 7
mov qword [r15 + 0x10], rsi
mov word [r15], si
cmp qword [r12 + 0x18], 8
jb 0x140115922
mov rcx, qword [r12]
call fcn.14011f898
mov eax, r13d
mov qword [r12 + 0x18], 7
mov qword [r12 + 0x10], rsi
mov word [r12], si
mov rbx, qword [rsp + 0x358]
add rsp, 0x300
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret