Function at 0x140011e7c
Capabilities:
Copy file
Delete file
Enumerate files on windows
Get file attributes
Move file

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rbp
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push r12
push r13
push r14
mov eax, 0x1100
call fcn.140090020
sub rsp, rax
mov rbx, rdx
lea rdx, [rsp + 0x670]
xor edi, edi
mov r12b, r9b
mov r13b, r8b
mov sil, dil
call fcn.140011c94
lea rdx, [rsp + 0x460]
mov rcx, rbx
call fcn.140011c94
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x670]
call fcn.140011dd8
lea rcx, [rsp + 0x670]
mov r14b, al
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or ebx, 0xffffffff
cmp eax, ebx
je 0x140011f12
test al, 0x10
je 0x140011f12
lea rdx, [0x140097ff8]
lea rcx, [rsp + 0x670]
call fcn.140075ae0
lea rcx, [rsp + 0x460]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, ebx
je 0x140011f3c
test al, 0x10
je 0x140011f3c
lea rdx, [0x140097ff8]
lea rcx, [rsp + 0x460]
call fcn.140075ae0
lea rax, [rsp + 0xef0]
lea r9, [rsp + 0xad0]
lea r8, [rsp + 0xce0]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x670]
mov qword [rsp + 0x20], rax
call fcn.140076efc
lea rdx, [rsp + 0x880]
lea rcx, [rsp + 0x670]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov bpl, 1
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x14001210d
cmp bpl, 1
jne 0x14001210d
test byte [rsp + 0x880], 0x10
jne 0x1400120df
lea rcx, [rsp + 0x460]
mov edx, 0x2a
call fcn.14007887c
cmp rax, rdi
jne 0x140011fd4
lea rdx, [rsp + 0x460]
lea rcx, [rsp + 0x40]
call fcn.140075b0c
jmp 0x140012003
lea rax, [rsp + 0x40]
lea r9, [rsp + 0x460]
lea r8, [rsp + 0xef0]
lea rdx, [rsp + 0xad0]
lea rcx, [rsp + 0x8ac]
mov qword [rsp + 0x20], rax
call fcn.140012140
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x250]
call fcn.140075b0c
lea rdx, [rsp + 0xce0]
lea rcx, [rsp + 0x250]
call fcn.140075ae0
lea rdx, [rsp + 0x8ac]
lea rcx, [rsp + 0x250]
call fcn.140075ae0
lea rcx, [rsp + 0x40]
call fcn.140011c4c
cmp eax, 0xffffffff
je 0x140012079
cmp r13b, dil
je 0x140012100
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_lstrcmpiW]
cmp eax, edi
je 0x140012099
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
cmp r12b, 1
jne 0x1400120cf
cmp r14b, dil
jne 0x1400120b2
call qword [sym.imp.KERNEL32.dll_MoveFileW]
jmp 0x1400120d8
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_MoveFileW]
cmp eax, edi
je 0x140012110
jmp 0x1400120dc
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, edi
je 0x140012100
lea rcx, [rsp + 0x250]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1400120d8
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
cmp eax, edi
je 0x140012100
mov sil, 1
lea rdx, [rsp + 0x880]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, edi
jne 0x140011f91
mov bpl, dil
jmp 0x140011f91
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
xor al, al
jmp 0x14001211c
mov dil, sil
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_FindClose]
mov al, dil
lea r11, [rsp + 0x1100]
mov rbx, qword [r11 + 0x20]
mov rbp, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop r13
pop r12
ret