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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x220], rbx
mov rax, qword [0x1400405b0]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r13d, r8d
mov r14, rdx
mov rdi, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rdx
cmp qword [rcx + 0x10], 0
jne 0x140014dfd
cmp qword [rcx + 0x18], 0x10
jb 0x140014dd6
mov rcx, qword [rcx]
call fcn.140017034
mov qword [rdi + 0x18], 0xf
xor esi, esi
mov qword [rdi + 0x10], rsi
mov byte [rdi], sil
cmp qword [r14 + 0x18], 0x10
jb 0x140014df6
mov rcx, qword [r14]
call fcn.140017034
xor eax, eax
jmp 0x14001501c
xor r8d, r8d
mov dl, 0x2f
call fcn.140016970
mov r15d, 1
mov rbx, qword [rdi + 0x10]
or r8, 0xffffffffffffffff
mov rcx, rdi
cmp rax, r8
je 0x140014e36
mov dl, 0x2f
call fcn.140016b00
lea rcx, [rbx - 1]
cmp rax, rcx
je 0x140014e58
lea rdx, [0x140032cf0]
jmp 0x140014e4d
mov dl, 0x5c
call fcn.140016b00
lea rcx, [rbx - 1]
cmp rax, rcx
je 0x140014e58
lea rdx, [0x140031280]
mov r8, r15
mov rcx, rdi
call fcn.14000e070
mov r8, r14
mov rdx, rdi
lea rcx, [rsp + 0x38]
call fcn.140011340
nop
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
lea rdx, [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov r12, rax
xor esi, esi
cmp rax, 0xffffffffffffffff
je 0x140014fc7
lea r8, [rbp - 0x54]
mov rdx, rdi
lea rcx, [rsp + 0x58]
call fcn.1400015a0
mov rbx, rax
lea rax, [rsp + 0x38]
cmp rax, rbx
je 0x140014f21
cmp qword [rsp + 0x50], 0x10
jb 0x140014ec3
mov rcx, qword [rsp + 0x38]
call fcn.140017034
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], sil
cmp qword [rbx + 0x18], 0x10
jae 0x140014ef5
mov r8, qword [rbx + 0x10]
inc r8
je 0x140014f00
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140017440
jmp 0x140014f00
mov rax, qword [rbx]
mov qword [rsp + 0x38], rax
mov qword [rbx], rsi
mov rax, qword [rbx + 0x10]
mov qword [rsp + 0x48], rax
mov rax, qword [rbx + 0x18]
mov qword [rsp + 0x50], rax
mov qword [rbx + 0x18], 0xf
mov qword [rbx + 0x10], rsi
mov byte [rbx], sil
cmp qword [rsp + 0x70], 0x10
jb 0x140014f33
mov rcx, qword [rsp + 0x58]
call fcn.140017034
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x140014fa8
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
mov edx, 0x80
call fcn.140019a68
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
call fcn.1400191cc
test eax, eax
je 0x140014fa8
test r13d, r13d
je 0x140014fa5
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
xor edx, edx
lea r8d, [rdx + 4]
call qword [sym.imp.KERNEL32.dll_MoveFileExA]
mov r15d, esi
lea rdx, [rbp - 0x80]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x140014e93
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x50], 0x10
jb 0x140014fd9
mov rcx, qword [rsp + 0x38]
call fcn.140017034
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], 0
cmp qword [rdi + 0x18], 0x10
jb 0x140014ffb
mov rcx, qword [rdi]
call fcn.140017034
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rsi
mov byte [rdi], 0
cmp qword [r14 + 0x18], 0x10
jb 0x140015019
mov rcx, qword [r14]
call fcn.140017034
mov eax, r15d
mov qword [r14 + 0x18], 0xf
mov qword [r14 + 0x10], rsi
mov byte [r14], 0
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14001a850
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret