Function at 0x140041200
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.140009600
mov r9d, 0x72b
lea r8, [0x1401c3b20]
lea rdx, [0x1401c3b80]
mov rcx, rax
call fcn.14001ae00
mov rcx, qword [rsp + 0x5b0]
call fcn.1400249e0
test rax, rax
jne 0x1400412e0
mov dx, 0x5c
mov rcx, qword [rsp + 0x5b0]
call fcn.140011980
test rax, rax
je 0x1400412e0
mov rcx, qword [rsp + 0x5b8]
call fcn.1400249e0
test rax, rax
jne 0x1400412e0
mov dx, 0x5c
mov rcx, qword [rsp + 0x5b8]
call fcn.140011980
test rax, rax
je 0x1400412e0
mov rcx, qword [rsp + 0x5c0]
call fcn.14001b050
test rax, rax
jne 0x1400412e0
mov qword [rsp + 0x560], 1
jmp 0x1400412ec
mov qword [rsp + 0x560], 0
mov r9d, 0x72e
lea r8, [0x1401c3ba0]
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.14001ae00
cmp qword [rsp + 0x5d8], 0
je 0x14004133d
mov edx, 1
mov rcx, qword [rsp + 0x5d8]
call fcn.140042790
test rax, rax
jne 0x14004133d
mov qword [rsp + 0x568], 0
jmp 0x140041349
mov qword [rsp + 0x568], 1
mov r9d, 0x72f
lea r8, [0x1401c3d20]
lea rdx, [0x1401c3d80]
mov rcx, qword [rsp + 0x568]
call fcn.14001ae00
mov r8, qword [rsp + 0x5c0]
mov rdx, qword [rsp + 0x5b0]
lea rcx, [rsp + 0x4b0]
call fcn.140058fc0
mov qword [rsp + 0x570], rax
mov rax, qword [rsp + 0x570]
mov qword [rsp + 0x578], rax
mov rcx, qword [rsp + 0x578]
call fcn.140052c70
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 0x140041638
lea rcx, [rsp + 0x6c]
call fcn.140038e90
test rax, rax
jne 0x14004160f
mov eax, dword [rsp + 0x40]
and eax, 0x10
test eax, eax
jne 0x1400414f5
lea r8, [rsp + 0x6c]
mov rdx, qword [rsp + 0x5b0]
lea rcx, [rsp + 0x2c0]
call fcn.140058fc0
nop
lea r8, [rsp + 0x6c]
mov rdx, qword [rsp + 0x5b8]
lea rcx, [rsp + 0x340]
call fcn.140058fc0
nop
lea rcx, [rsp + 0x340]
call fcn.140052c70
mov qword [rsp + 0x580], rax
lea rcx, [rsp + 0x2c0]
call fcn.140052c70
mov r8d, dword [rsp + 0x5c8]
mov rcx, qword [rsp + 0x580]
mov rdx, rcx
mov rcx, rax
call fcn.140039320
test rax, rax
jne 0x1400414d5
cmp qword [rsp + 0x5d8], 0
je 0x1400414c9
lea rcx, [rsp + 0x2c0]
call fcn.140052c70
mov rdx, rax
mov rcx, qword [rsp + 0x5d8]
call fcn.140019f70
lea rcx, [rsp + 0x340]
call fcn.140052c70
mov rdx, rax
mov rcx, qword [rsp + 0x5d8]
call fcn.140019f70
mov qword [rsp + 0x2a0], 0
lea rcx, [rsp + 0x340]
call fcn.140004db0
nop
lea rcx, [rsp + 0x2c0]
call fcn.140004db0
jmp 0x14004160f
cmp qword [rsp + 0x5d0], 0
je 0x14004160f
lea r8, [rsp + 0x6c]
mov rdx, qword [rsp + 0x5b8]
lea rcx, [rsp + 0x3c0]
call fcn.140058fc0
nop
lea rcx, [rsp + 0x3c0]
call fcn.140052c70
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dx, 0x5c
lea rcx, [rsp + 0x3c0]
call fcn.1400533c0
lea r8, [rsp + 0x6c]
mov rdx, qword [rsp + 0x5b0]
lea rcx, [rsp + 0x508]
call fcn.140058fc0
mov qword [rsp + 0x588], rax
mov rax, qword [rsp + 0x588]
mov qword [rsp + 0x590], rax
lea r8, [0x1401c1514]
mov rdx, qword [rsp + 0x590]
lea rcx, [rsp + 0x440]
call fcn.140058fc0
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.140041200
test rax, rax
jne 0x1400415f4
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 0x1400413ea
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, [0x1401cc490]
call fcn.1400c02e0
mov rax, rdi
mov rcx, qword [rsp + 0x598]
xor rcx, rsp
call fcn.1400c05d0
add rsp, 0x5a0
pop rdi
ret