Function at 0x1400407b0
Capabilities:
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x5a0
lea rdi, [rsp + 0x30]
mov ecx, 0x15c
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x5b0]
mov rax, qword [0x1402558e8]
xor rax, rsp
mov qword [rsp + 0x598], rax
mov rcx, qword [rsp + 0x5c0]
call fcn.140008ec0
mov r9d, 0x72b
lea r8, [0x1401c3370]
lea rdx, [0x1401c33d0]
mov rcx, rax
call fcn.14001a3b0
mov rcx, qword [rsp + 0x5b0]
call fcn.140023f90
test rax, rax
jne 0x140040890
mov dx, 0x5c
mov rcx, qword [rsp + 0x5b0]
call fcn.140011340
test rax, rax
je 0x140040890
mov rcx, qword [rsp + 0x5b8]
call fcn.140023f90
test rax, rax
jne 0x140040890
mov dx, 0x5c
mov rcx, qword [rsp + 0x5b8]
call fcn.140011340
test rax, rax
je 0x140040890
mov rcx, qword [rsp + 0x5c0]
call fcn.14001a600
test rax, rax
jne 0x140040890
mov qword [rsp + 0x560], 1
jmp 0x14004089c
mov qword [rsp + 0x560], 0
mov r9d, 0x72e
lea r8, [0x1401c33f0]
lea rdx, str.strSrcOSDir.IsEmpty_____FALSE__strSrcOSDir.EndOf__OS_PATH_CHAR___strDestOSDir.IsEmpty_____FALSE__strDestOSDir.EndOf__OS_PATH_CHAR___IsEmptyStr__szMatchFiles___FALSE
mov rcx, qword [rsp + 0x560]
call fcn.14001a3b0
cmp qword [rsp + 0x5d8], 0
je 0x1400408ed
mov edx, 1
mov rcx, qword [rsp + 0x5d8]
call fcn.140041d40
test rax, rax
jne 0x1400408ed
mov qword [rsp + 0x568], 0
jmp 0x1400408f9
mov qword [rsp + 0x568], 1
mov r9d, 0x72f
lea r8, [0x1401c3570]
lea rdx, [0x1401c35d0]
mov rcx, qword [rsp + 0x568]
call fcn.14001a3b0
mov r8, qword [rsp + 0x5c0]
mov rdx, qword [rsp + 0x5b0]
lea rcx, [rsp + 0x4b0]
call fcn.140058570
mov qword [rsp + 0x570], rax
mov rax, qword [rsp + 0x570]
mov qword [rsp + 0x578], rax
mov rcx, qword [rsp + 0x578]
call fcn.140052220
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x298], rax
lea rcx, [rsp + 0x4b0]
call fcn.140004db0
mov qword [rsp + 0x2a0], 1
cmp qword [rsp + 0x298], 0xffffffffffffffff
je 0x140040be8
lea rcx, [rsp + 0x6c]
call fcn.140038440
test rax, rax
jne 0x140040bbf
mov eax, dword [rsp + 0x40]
and eax, 0x10
test eax, eax
jne 0x140040aa5
lea r8, [rsp + 0x6c]
mov rdx, qword [rsp + 0x5b0]
lea rcx, [rsp + 0x2c0]
call fcn.140058570
nop
lea r8, [rsp + 0x6c]
mov rdx, qword [rsp + 0x5b8]
lea rcx, [rsp + 0x340]
call fcn.140058570
nop
lea rcx, [rsp + 0x340]
call fcn.140052220
mov qword [rsp + 0x580], rax
lea rcx, [rsp + 0x2c0]
call fcn.140052220
mov r8d, dword [rsp + 0x5c8]
mov rcx, qword [rsp + 0x580]
mov rdx, rcx
mov rcx, rax
call fcn.1400388d0
test rax, rax
jne 0x140040a85
cmp qword [rsp + 0x5d8], 0
je 0x140040a79
lea rcx, [rsp + 0x2c0]
call fcn.140052220
mov rdx, rax
mov rcx, qword [rsp + 0x5d8]
call fcn.140019520
lea rcx, [rsp + 0x340]
call fcn.140052220
mov rdx, rax
mov rcx, qword [rsp + 0x5d8]
call fcn.140019520
mov qword [rsp + 0x2a0], 0
lea rcx, [rsp + 0x340]
call fcn.140004db0
nop
lea rcx, [rsp + 0x2c0]
call fcn.140004db0
jmp 0x140040bbf
cmp qword [rsp + 0x5d0], 0
je 0x140040bbf
lea r8, [rsp + 0x6c]
mov rdx, qword [rsp + 0x5b8]
lea rcx, [rsp + 0x3c0]
call fcn.140058570
nop
lea rcx, [rsp + 0x3c0]
call fcn.140052220
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dx, 0x5c
lea rcx, [rsp + 0x3c0]
call fcn.140052970
lea r8, [rsp + 0x6c]
mov rdx, qword [rsp + 0x5b0]
lea rcx, [rsp + 0x508]
call fcn.140058570
mov qword [rsp + 0x588], rax
mov rax, qword [rsp + 0x588]
mov qword [rsp + 0x590], rax
lea r8, [0x1401c0d64]
mov rdx, qword [rsp + 0x590]
lea rcx, [rsp + 0x440]
call fcn.140058570
nop
lea rcx, [rsp + 0x508]
call fcn.140004db0
mov rax, qword [rsp + 0x5d8]
mov qword [rsp + 0x28], rax
mov rax, qword [rsp + 0x5d0]
mov qword [rsp + 0x20], rax
mov r9d, dword [rsp + 0x5c8]
mov r8, qword [rsp + 0x5c0]
lea rdx, [rsp + 0x3c0]
lea rcx, [rsp + 0x440]
call fcn.1400407b0
test rax, rax
jne 0x140040ba4
mov qword [rsp + 0x2a0], 0
lea rcx, [rsp + 0x440]
call fcn.140004db0
nop
lea rcx, [rsp + 0x3c0]
call fcn.140004db0
lea rdx, [rsp + 0x40]
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14004099a
mov rcx, qword [rsp + 0x298]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rax, qword [rsp + 0x2a0]
mov rdi, rax
mov rcx, rsp
lea rdx, [0x1401cbce0]
call fcn.1400bf880
mov rax, rdi
mov rcx, qword [rsp + 0x598]
xor rcx, rsp
call fcn.1400bfb70
add rsp, 0x5a0
pop rdi
ret