Function at 0x14013648c
Capabilities:
Delete directory
Enumerate files on windows
Move file

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov rax, qword [0x14017d140]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rdi, rdx
mov qword [rsp + 0x58], rdx
mov r13, rcx
mov rcx, qword [0x14017d3a8]
lea rsi, [0x14017d3a8]
cmp rcx, rsi
je 0x1401364fb
test byte [rcx + 0x1c], 1
je 0x1401364fb
cmp byte [rcx + 0x19], 4
jb 0x1401364fb
mov rcx, qword [rcx + 0x10]
lea r8, [0x140013878]
mov edx, 0x8e
call fcn.14001dd24
test r13, r13
jne 0x140136518
lea r8, [0x140013dc8]
lea rcx, [0x1400138f0]
mov edx, 0xfe3
call fcn.1400a8be8
test rdi, rdi
jne 0x140136535
lea r8, [0x140013db0]
lea rcx, [0x1400138f0]
mov edx, 0xfe4
call fcn.1400a8be8
and qword [rsp + 0x48], 0
xor r12d, r12d
lea rcx, [rsp + 0x64]
and dword [rsp + 0x60], r12d
xor r14d, r14d
xor r15d, r15d
xor edx, edx
mov r8d, 0x24c
mov qword [rsp + 0x40], r12
mov qword [rsp + 0x38], r14
mov qword [rsp + 0x30], r15
call sub.msvcrt.dll_memset
xor r9d, r9d
xor r8d, r8d
mov dl, 1
mov rcx, rdi
call fcn.1401204c4
mov ebx, eax
test eax, eax
jns 0x1401365c5
mov rcx, qword [0x14017d3a8]
cmp rcx, rsi
je 0x1401368ed
test byte [rcx + 0x1c], 1
je 0x1401368c7
cmp byte [rcx + 0x19], 2
jb 0x1401368c7
mov edx, 0x8f
mov dword [rsp + 0x20], eax
mov r9, rdi
mov rcx, qword [rcx + 0x10]
lea r8, [0x140013878]
call fcn.14001ecbc
jmp 0x1401368c0
lea r8, [rsp + 0x48]
lea rdx, [0x140009d7c]
mov rcx, r13
call fcn.1400a9ab8
mov ebx, eax
test eax, eax
js 0x1401368c0
mov rcx, qword [rsp + 0x48]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x50], rax
cmp rax, 0xffffffffffffffff
jne 0x140136649
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017d3a8]
cmp rcx, rsi
je 0x1401368ed
test byte [rcx + 0x1c], 1
je 0x1401368c7
cmp byte [rcx + 0x19], 2
jb 0x1401368c7
mov r9, qword [rsp + 0x48]
mov edx, 0x90
mov dword [rsp + 0x20], ebx
jmp 0x1401365b0
lea rsi, [rbp - 0x74]
lea rdi, [0x140009d84]
mov ecx, 2
repe cmpsw word [rsi], word [rdi]
je 0x140136767
lea rsi, [rbp - 0x74]
lea rdi, [0x140009d88]
mov ecx, 3
repe cmpsw word [rsi], word [rdi]
je 0x140136767
test r14, r14
je 0x14013668f
mov rcx, r14
call qword [sym.imp.ole32.dll_CoTaskMemFree]
and qword [rsp + 0x38], 0
test r15, r15
je 0x1401366a3
mov rcx, r15
call qword [sym.imp.ole32.dll_CoTaskMemFree]
and qword [rsp + 0x30], 0
lea r8, [rsp + 0x30]
lea rdx, [0x140001800]
mov rcx, r13
call fcn.1400a9ab8
mov ebx, eax
test eax, eax
js 0x1401368ae
mov rdi, qword [rsp + 0x30]
lea r8, [rsp + 0x38]
lea rdx, [rbp - 0x74]
mov rcx, rdi
call fcn.1400a9ab8
mov ebx, eax
test eax, eax
js 0x1401368ae
test r12, r12
je 0x1401366f5
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
and qword [rsp + 0x40], 0
test rdi, rdi
je 0x140136709
mov rcx, rdi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
and qword [rsp + 0x30], 0
mov rcx, qword [rsp + 0x58]
lea r8, [rsp + 0x30]
lea rdx, [0x140001800]
call fcn.1400a9ab8
mov ebx, eax
test eax, eax
js 0x1401368ae
mov r15, qword [rsp + 0x30]
lea r8, [rsp + 0x40]
lea rdx, [rbp - 0x74]
mov rcx, r15
call fcn.1400a9ab8
mov ebx, eax
test eax, eax
js 0x1401368ae
mov r12, qword [rsp + 0x40]
mov r14, qword [rsp + 0x38]
mov rdx, r12
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x140136811
lea rcx, [rsp + 0x60]
xor edx, edx
mov r8d, 0x250
call sub.msvcrt.dll_memset
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140136649
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x140136867
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x1401368ae
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017d3a8]
lea rsi, [0x14017d3a8]
cmp rcx, rsi
je 0x1401368b5
test byte [rcx + 0x1c], 1
je 0x1401368b5
cmp byte [rcx + 0x19], 2
jb 0x1401368b5
mov rcx, qword [rcx + 0x10]
lea r8, [0x140013878]
mov edx, 0x93
mov r9, r13
mov dword [rsp + 0x20], ebx
call fcn.14001ecbc
jmp 0x1401368b5
call qword [sym.imp.KERNEL32.dll_GetLastError]
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017d3a8]
lea rsi, [0x14017d3a8]
cmp rcx, rsi
je 0x1401368b5
test byte [rcx + 0x1c], 1
je 0x1401368b5
cmp byte [rcx + 0x19], 2
jb 0x1401368b5
mov rcx, qword [rcx + 0x10]
lea r8, [0x140013878]
mov edx, 0x91
mov r9, r14
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], r12
call fcn.140028ec8
jmp 0x1401368b5
movzx ebx, ax
or ebx, 0x80070000
test eax, eax
cmovle ebx, eax
mov rcx, qword [0x14017d3a8]
lea rsi, [0x14017d3a8]
cmp rcx, rsi
je 0x1401368b5
test byte [rcx + 0x1c], 1
je 0x1401368b5
cmp byte [rcx + 0x19], 2
jb 0x1401368b5
mov rcx, qword [rcx + 0x10]
lea r8, [0x140013878]
mov edx, 0x92
mov r9d, ebx
call fcn.14001de24
jmp 0x1401368b5
lea rsi, [0x14017d3a8]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, qword [0x14017d3a8]
cmp rcx, rsi
je 0x1401368ed
test byte [rcx + 0x1c], 1
je 0x1401368ed
cmp byte [rcx + 0x19], 4
jb 0x1401368ed
mov rcx, qword [rcx + 0x10]
lea r8, [0x140013878]
mov edx, 0x94
call fcn.14001dd24
mov eax, ebx
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140168920
mov rbx, qword [rsp + 0x310]
add rsp, 0x2c0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret