Function at 0x140040cb0
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.1400090b0
mov r9d, 0x72b
lea r8, [0x1401c39e0]
lea rdx, [0x1401c3a40]
mov rcx, rax
call fcn.14001a8b0
mov rcx, qword [rsp + 0x5b0]
call fcn.140024490
test rax, rax
jne 0x140040d90
mov dx, 0x5c
mov rcx, qword [rsp + 0x5b0]
call fcn.140011430
test rax, rax
je 0x140040d90
mov rcx, qword [rsp + 0x5b8]
call fcn.140024490
test rax, rax
jne 0x140040d90
mov dx, 0x5c
mov rcx, qword [rsp + 0x5b8]
call fcn.140011430
test rax, rax
je 0x140040d90
mov rcx, qword [rsp + 0x5c0]
call fcn.14001ab00
test rax, rax
jne 0x140040d90
mov qword [rsp + 0x560], 1
jmp 0x140040d9c
mov qword [rsp + 0x560], 0
mov r9d, 0x72e
lea r8, [0x1401c3a60]
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.14001a8b0
cmp qword [rsp + 0x5d8], 0
je 0x140040ded
mov edx, 1
mov rcx, qword [rsp + 0x5d8]
call fcn.140042240
test rax, rax
jne 0x140040ded
mov qword [rsp + 0x568], 0
jmp 0x140040df9
mov qword [rsp + 0x568], 1
mov r9d, 0x72f
lea r8, [0x1401c3be0]
lea rdx, [0x1401c3c40]
mov rcx, qword [rsp + 0x568]
call fcn.14001a8b0
mov r8, qword [rsp + 0x5c0]
mov rdx, qword [rsp + 0x5b0]
lea rcx, [rsp + 0x4b0]
call fcn.140058a70
mov qword [rsp + 0x570], rax
mov rax, qword [rsp + 0x570]
mov qword [rsp + 0x578], rax
mov rcx, qword [rsp + 0x578]
call fcn.140052720
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 0x1400410e8
lea rcx, [rsp + 0x6c]
call fcn.140038940
test rax, rax
jne 0x1400410bf
mov eax, dword [rsp + 0x40]
and eax, 0x10
test eax, eax
jne 0x140040fa5
lea r8, [rsp + 0x6c]
mov rdx, qword [rsp + 0x5b0]
lea rcx, [rsp + 0x2c0]
call fcn.140058a70
nop
lea r8, [rsp + 0x6c]
mov rdx, qword [rsp + 0x5b8]
lea rcx, [rsp + 0x340]
call fcn.140058a70
nop
lea rcx, [rsp + 0x340]
call fcn.140052720
mov qword [rsp + 0x580], rax
lea rcx, [rsp + 0x2c0]
call fcn.140052720
mov r8d, dword [rsp + 0x5c8]
mov rcx, qword [rsp + 0x580]
mov rdx, rcx
mov rcx, rax
call fcn.140038dd0
test rax, rax
jne 0x140040f85
cmp qword [rsp + 0x5d8], 0
je 0x140040f79
lea rcx, [rsp + 0x2c0]
call fcn.140052720
mov rdx, rax
mov rcx, qword [rsp + 0x5d8]
call fcn.140019a20
lea rcx, [rsp + 0x340]
call fcn.140052720
mov rdx, rax
mov rcx, qword [rsp + 0x5d8]
call fcn.140019a20
mov qword [rsp + 0x2a0], 0
lea rcx, [rsp + 0x340]
call fcn.140004db0
nop
lea rcx, [rsp + 0x2c0]
call fcn.140004db0
jmp 0x1400410bf
cmp qword [rsp + 0x5d0], 0
je 0x1400410bf
lea r8, [rsp + 0x6c]
mov rdx, qword [rsp + 0x5b8]
lea rcx, [rsp + 0x3c0]
call fcn.140058a70
nop
lea rcx, [rsp + 0x3c0]
call fcn.140052720
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dx, 0x5c
lea rcx, [rsp + 0x3c0]
call fcn.140052e70
lea r8, [rsp + 0x6c]
mov rdx, qword [rsp + 0x5b0]
lea rcx, [rsp + 0x508]
call fcn.140058a70
mov qword [rsp + 0x588], rax
mov rax, qword [rsp + 0x588]
mov qword [rsp + 0x590], rax
lea r8, [0x1401c13d4]
mov rdx, qword [rsp + 0x590]
lea rcx, [rsp + 0x440]
call fcn.140058a70
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.140040cb0
test rax, rax
jne 0x1400410a4
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 0x140040e9a
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, [0x1401cc350]
call fcn.1400bfd90
mov rax, rdi
mov rcx, qword [rsp + 0x598]
xor rcx, rsp
call fcn.1400c0080
add rsp, 0x5a0
pop rdi
ret