Function at 0x140014cc0
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 [0x14003f5b0]
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 0x140014d4d
cmp qword [rcx + 0x18], 0x10
jb 0x140014d26
mov rcx, qword [rcx]
call fcn.140016874
mov qword [rdi + 0x18], 0xf
xor esi, esi
mov qword [rdi + 0x10], rsi
mov byte [rdi], sil
cmp qword [r14 + 0x18], 0x10
jb 0x140014d46
mov rcx, qword [r14]
call fcn.140016874
xor eax, eax
jmp 0x140014f6c
xor r8d, r8d
mov dl, 0x2f
call fcn.1400161b0
mov r15d, 1
mov rbx, qword [rdi + 0x10]
or r8, 0xffffffffffffffff
mov rcx, rdi
cmp rax, r8
je 0x140014d86
mov dl, 0x2f
call fcn.140016340
lea rcx, [rbx - 1]
cmp rax, rcx
je 0x140014da8
lea rdx, [0x140031b80]
jmp 0x140014d9d
mov dl, 0x5c
call fcn.140016340
lea rcx, [rbx - 1]
cmp rax, rcx
je 0x140014da8
lea rdx, [0x140030218]
mov r8, r15
mov rcx, rdi
call fcn.14000e270
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 0x140014f17
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 0x140014e71
cmp qword [rsp + 0x50], 0x10
jb 0x140014e13
mov rcx, qword [rsp + 0x38]
call fcn.140016874
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], sil
cmp qword [rbx + 0x18], 0x10
jae 0x140014e45
mov r8, qword [rbx + 0x10]
inc r8
je 0x140014e50
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.140016c80
jmp 0x140014e50
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 0x140014e83
mov rcx, qword [rsp + 0x58]
call fcn.140016874
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 0x140014ef8
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
mov edx, 0x80
call fcn.1400190ac
lea rcx, [rsp + 0x38]
cmp qword [rsp + 0x50], 0x10
cmovae rcx, qword [rsp + 0x38]
call fcn.140018810
test eax, eax
je 0x140014ef8
test r13d, r13d
je 0x140014ef5
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 0x140014de3
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
nop
cmp qword [rsp + 0x50], 0x10
jb 0x140014f29
mov rcx, qword [rsp + 0x38]
call fcn.140016874
mov qword [rsp + 0x50], 0xf
mov qword [rsp + 0x48], rsi
mov byte [rsp + 0x38], 0
cmp qword [rdi + 0x18], 0x10
jb 0x140014f4b
mov rcx, qword [rdi]
call fcn.140016874
mov qword [rdi + 0x18], 0xf
mov qword [rdi + 0x10], rsi
mov byte [rdi], 0
cmp qword [r14 + 0x18], 0x10
jb 0x140014f69
mov rcx, qword [r14]
call fcn.140016874
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.140019ef0
mov rbx, qword [rsp + 0x220]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret