Function at 0x1400119c0
Capabilities:
Check if file exists
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x258]
sub rsp, 0x358
mov rax, qword [0x140055058]
xor rax, rsp
mov qword [rbp + 0x240], rax
mov r14, r9
mov byte [rsp + 0x30], r8b
mov rdi, rdx
mov qword [rsp + 0x48], rdx
mov r13, rcx
mov r15, qword [rbp + 0x2c0]
cmp dword [r9], 0
je 0x140011a14
xor al, al
jmp 0x1400120de
xor ebx, ebx
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x48], rbx
mov qword [rbp - 0x40], 7
mov word [rbp - 0x58], bx
mov qword [rbp - 0x38], rbx
mov qword [rbp - 0x28], rbx
mov qword [rbp - 0x20], 7
mov word [rbp - 0x38], bx
mov r8, 0xffffffffffffffff
inc r8
cmp word [rcx + r8*2], 0
jne 0x140011a45
mov rdx, r13
lea rcx, [rbp - 0x58]
call fcn.140005c00
mov r8, 0xffffffffffffffff
inc r8
cmp word [rdi + r8*2], 0
jne 0x140011a63
mov rdx, rdi
lea rcx, [rbp - 0x38]
call fcn.140005c00
cmp qword [rbp - 0x48], 0
je 0x14001204a
cmp qword [rbp - 0x28], 0
je 0x14001204a
mov rcx, r13
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x14001204a
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x140011ac8
xor edx, edx
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x140011ac8
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14001204f
mov rcx, r13
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x14001204a
mov rcx, rdi
call qword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x14001204a
call qword [sym.imp.AcPal.dll_wchar_t___cdecl_Autodesk::AutoCAD::PAL::FileSystem::path_separator_void_]
movzx esi, ax
lea rdx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rdx, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x48]
cmp word [rdx + rcx*2 - 2], ax
je 0x140011b18
movzx edx, ax
lea rcx, [rbp - 0x58]
call fcn.14000a770
mov edx, 0x2a
lea rcx, [rbp - 0x58]
call fcn.14000a770
xor edx, edx
mov r8d, 0x250
lea rcx, [rbp - 0x10]
call sub.VCRUNTIME140.dll_memset
lea rcx, [rbp - 0x58]
cmp qword [rbp - 0x40], 8
cmovae rcx, qword [rbp - 0x58]
lea rdx, [rbp - 0x10]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov r12, rax
cmp rax, 0xffffffffffffffff
jne 0x140011b6e
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140011abd
mov bl, 1
jmp 0x140012054
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x70], xmm1
mov qword [rbp - 0x60], rbx
nop word [rax + rax]
cmp word [rbp + 0x1c], 0x2e
jne 0x140011ba5
movzx eax, word [rbp + 0x1e]
test ax, ax
je 0x140011caa
cmp ax, 0x2e
jne 0x140011ba5
cmp word [rbp + 0x20], 0
je 0x140011caa
test byte [rbp - 0x10], 0x10
je 0x140011ead
mov rbx, qword [r15]
mov rdi, qword [r15 + 8]
cmp rbx, rdi
je 0x140011bdf
mov rax, qword [rbx]
cmp word [rax], 0
je 0x140011bd5
lea rdx, [rbp + 0x1c]
mov rcx, rbx
call qword [sym.imp.ac1st24.dll_public:_int___cdecl_AcString::compareNoCase_wchar_t_const____ptr64_const___ptr64]
test eax, eax
je 0x140011bdb
add rbx, 8
jmp 0x140011bb6
mov al, 1
jmp 0x140011be1
xor al, al
xor ebx, ebx
test al, al
jne 0x140011ca5
mov qword [rsp + 0x50], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], bx
lea rax, [rbp + 0x1c]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp word [rax + r8*2], bx
jne 0x140011c10
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x50]
call fcn.140005c00
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, qword [rbp - 0x60]
je 0x140011c55
movups xmm0, xmmword [rsp + 0x50]
movups xmmword [rdx], xmm0
movups xmm1, xmmword [rsp + 0x60]
movups xmmword [rdx + 0x10], xmm1
mov edx, 7
mov word [rsp + 0x50], bx
add qword [rbp - 0x68], 0x20
jmp 0x140011c68
lea r8, [rsp + 0x50]
lea rcx, [rbp - 0x70]
call fcn.1400142c0
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140011ca5
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011ca0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012007
call fcn.140030ec0
mov rdi, qword [rsp + 0x48]
lea rdx, [rbp - 0x10]
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140011b80
mov rcx, r12
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rbx, qword [rbp - 0x70]
cmp rbx, qword [rbp - 0x68]
je 0x140011e9d
mov r15, qword [rsp + 0x48]
xor r12d, r12d
nop
mov qword [rsp + 0x70], r12
mov rdx, r13
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_wchar_t_const____ptr64____ptr64]
nop
mov r8d, 1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::substrRev_int____ptr64]
nop
mov word [rbp - 0x74], si
mov word [rbp - 0x72], r12w
lea rdx, [rbp - 0x74]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ac1st24.dll_public:_int___cdecl_AcString::compare_wchar_t_const____ptr64_const___ptr64]
mov edi, eax
lea rcx, [rsp + 0x40]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
test edi, edi
je 0x140011d4c
mov word [rbp - 0x78], si
mov word [rbp - 0x76], r12w
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::append_wchar_t_const____ptr64____ptr64]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011d59
mov rdx, qword [rbx]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::append_wchar_t_const____ptr64____ptr64]
mov qword [rsp + 0x78], r12
mov rdx, r15
lea rcx, [rsp + 0x78]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_wchar_t_const____ptr64____ptr64]
nop
mov r8d, 1
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::substrRev_int____ptr64]
nop
mov word [rbp - 0x7c], si
mov word [rbp - 0x7a], r12w
lea rdx, [rbp - 0x7c]
lea rcx, [rsp + 0x38]
call qword [sym.imp.ac1st24.dll_public:_int___cdecl_AcString::compare_wchar_t_const____ptr64_const___ptr64]
mov edi, eax
lea rcx, [rsp + 0x38]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
test edi, edi
je 0x140011dd0
mov word [rbp - 0x80], si
mov word [rbp - 0x7e], r12w
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::append_wchar_t_const____ptr64____ptr64]
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x140011ddd
mov rdx, qword [rbx]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::append_wchar_t_const____ptr64____ptr64]
mov rax, qword gs:[0x58]
mov rcx, qword [rax]
mov eax, 4
mov eax, dword [rax + rcx]
cmp dword [0x140058ad8], eax
jle 0x140011e43
lea rcx, [0x140058ad8]
call fcn.140031050
cmp dword [0x140058ad8], 0xffffffff
jne 0x140011e43
xorps xmm0, xmm0
movdqu xmmword [0x140058ae0], xmm0
mov qword [0x140058af0], r12
lea rcx, [0x140035530]
call fcn.140031398
lea rcx, [0x140058ad8]
call fcn.140030ff0
mov dword [r14], r12d
lea rax, [0x140058ae0]
mov qword [rsp + 0x20], rax
mov r9, r14
movzx r8d, byte [rsp + 0x30]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call fcn.1400119c0
test al, al
jne 0x140011e78
cmp dword [r14], 3
jne 0x14001202c
lea rcx, [rsp + 0x78]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
add rbx, 0x20
cmp rbx, qword [rbp - 0x68]
jne 0x140011ce0
mov bl, 1
lea rcx, [rbp - 0x70]
call fcn.140013990
jmp 0x140012054
mov qword [rsp + 0x78], rbx
mov rdx, r13
lea rcx, [rsp + 0x78]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_wchar_t_const____ptr64____ptr64]
nop
mov r8d, 1
lea rdx, [rsp + 0x38]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::substrRev_int____ptr64]
nop
mov word [rbp - 0x80], si
mov word [rbp - 0x7e], bx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x38]
call qword [sym.imp.ac1st24.dll_public:_int___cdecl_AcString::compare_wchar_t_const____ptr64_const___ptr64]
mov ebx, eax
lea rcx, [rsp + 0x38]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
test ebx, ebx
je 0x140011f1b
mov word [rbp - 0x7c], si
xor ebx, ebx
mov word [rbp - 0x7a], bx
lea rdx, [rbp - 0x7c]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::append_wchar_t_const____ptr64____ptr64]
jmp 0x140011f1d
xor ebx, ebx
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x78]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::append_wchar_t_const____ptr64____ptr64]
mov qword [rsp + 0x70], rbx
mov rdx, rdi
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::constructor_wchar_t_const____ptr64____ptr64]
nop
mov r8d, 1
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_class_AcString___cdecl_AcString::substrRev_int____ptr64]
nop
mov word [rbp - 0x78], si
mov word [rbp - 0x76], bx
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x40]
call qword [sym.imp.ac1st24.dll_public:_int___cdecl_AcString::compare_wchar_t_const____ptr64_const___ptr64]
mov ebx, eax
lea rcx, [rsp + 0x40]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
test ebx, ebx
je 0x140011f9a
mov word [rbp - 0x74], si
xor ebx, ebx
mov word [rbp - 0x72], bx
lea rdx, [rbp - 0x74]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::append_wchar_t_const____ptr64____ptr64]
jmp 0x140011f9c
xor ebx, ebx
lea rdx, [rbp + 0x1c]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_class_AcString____ptr64___cdecl_AcString::append_wchar_t_const____ptr64____ptr64]
movzx eax, byte [rsp + 0x30]
add eax, 0x800
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CopyFileExW]
test eax, eax
jne 0x140011feb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [r14], eax
cmp eax, 2
je 0x140011feb
cmp eax, 0x20
jne 0x14001200e
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
jmp 0x140011caa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x78]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
xor bl, bl
jmp 0x140011e9f
lea rcx, [rsp + 0x78]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x70]
call qword [sym.imp.ac1st24.dll_public:_void___cdecl_AcString::destructor_void____ptr64]
xor bl, bl
jmp 0x140011e9f
mov eax, 3
xor bl, bl
mov dword [r14], eax
mov rdx, qword [rbp - 0x20]
cmp rdx, 8
jb 0x140012098
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012092
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140012092
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030ec0
nop
mov rdx, qword [rbp - 0x40]
cmp rdx, 8
jb 0x1400120db
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400120d6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400120d6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140030ec0
movzx eax, bl
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140030ea0
add rsp, 0x358
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret