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

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
sub rsp, 0x788
mov qword [rsp + 0x130], 0xfffffffffffffffe
mov rax, qword [0x140070a30]
xor rax, rsp
mov qword [rsp + 0x770], rax
mov dword [rsp + 0xd8], 0
mov byte [rsp + 0x24], 1
mov byte [rsp + 0x20], 0
mov rax, qword [rsp + 0x790]
cmp qword [rax + 0x18], 8
jb 0x14002da67
mov rax, qword [rsp + 0x108]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x790]
mov rax, qword [rax]
mov qword [rsp + 0x50], rax
jmp 0x14002da74
mov rax, qword [rsp + 0x790]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.140026ea0
movzx eax, al
test eax, eax
jne 0x14002da8c
xor al, al
jmp 0x14002e2ca
mov rax, qword [rsp + 0x798]
cmp qword [rax + 0x18], 8
jb 0x14002daba
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x40], rax
mov rax, qword [rsp + 0x798]
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
jmp 0x14002dac7
mov rax, qword [rsp + 0x798]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.140025db0
movzx eax, al
test eax, eax
jne 0x14002db82
mov rax, qword [rsp + 0x798]
cmp qword [rax + 0x18], 8
jb 0x14002db10
mov rax, qword [rsp + 0x150]
mov qword [rsp + 0x90], rax
mov rax, qword [rsp + 0x798]
mov rax, qword [rax]
mov qword [rsp + 0x90], rax
jmp 0x14002db20
mov rax, qword [rsp + 0x798]
mov qword [rsp + 0x90], rax
xor edx, edx
mov rcx, qword [rsp + 0x90]
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x14002db3b
xor al, al
jmp 0x14002e2ca
mov rax, qword [rsp + 0x798]
cmp qword [rax + 0x18], 8
jb 0x14002db69
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x798]
mov rax, qword [rax]
mov qword [rsp + 0x30], rax
jmp 0x14002db76
mov rax, qword [rsp + 0x798]
mov qword [rsp + 0x30], rax
mov dl, 1
mov rcx, qword [rsp + 0x30]
call fcn.14002e380
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x160]
call fcn.1400113a0
nop
lea rax, [rsp + 0x160]
test rax, rax
je 0x14002dbbe
lea rax, [rsp + 0x160]
add rax, 0x10
mov qword [rsp + 0xb8], rax
jmp 0x14002dbca
mov qword [rsp + 0xb8], 0
mov rax, qword [rsp + 0x790]
cmp qword [rax + 0x18], 8
jb 0x14002dbfe
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0x790]
mov rax, qword [rax]
mov qword [rsp + 0x80], rax
jmp 0x14002dc0e
mov rax, qword [rsp + 0x790]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.140034470
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0x790]
mov rcx, qword [rsp + 0xb8]
call fcn.14000c5c0
mov rcx, qword [rsp + 0xc8]
mov rdx, rcx
mov rcx, rax
call fcn.14000c200
mov rdx, qword [rsp + 0x7a0]
mov rcx, rax
call fcn.14000c5c0
lea rdx, [rsp + 0x4a0]
lea rcx, [rsp + 0x160]
call fcn.1400221e0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x18], 8
jb 0x14002dca3
mov rax, qword [rsp + 0xf8]
mov qword [rsp + 0xa0], rax
mov rax, qword [rsp + 0x60]
mov rax, qword [rax]
mov qword [rsp + 0xa0], rax
jmp 0x14002dcb0
mov rax, qword [rsp + 0x60]
mov qword [rsp + 0xa0], rax
lea rdx, [rsp + 0x520]
mov rcx, qword [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0xa8], rax
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x4a0]
call fcn.14001b260
cmp qword [rsp + 0xa8], 0xffffffffffffffff
jne 0x14002dd58
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x14002dd28
mov byte [rsp + 0x25], 1
lea rax, [rsp + 0x1f8]
mov rcx, rax
call fcn.140014730
lea rax, [rsp + 0x1f8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
movzx eax, byte [rsp + 0x25]
jmp 0x14002e2ca
mov byte [rsp + 0x23], 0
lea rax, [rsp + 0x1f8]
mov rcx, rax
call fcn.140014730
lea rax, [rsp + 0x1f8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
movzx eax, byte [rsp + 0x23]
jmp 0x14002e2ca
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x360]
call fcn.1400113a0
nop
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x260]
call fcn.1400113a0
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x14002e249
lea rax, [rsp + 0x360]
test rax, rax
je 0x14002ddba
lea rax, [rsp + 0x360]
add rax, 0x10
mov qword [rsp + 0xb0], rax
jmp 0x14002ddc6
mov qword [rsp + 0xb0], 0
mov rax, qword [rsp + 0x790]
cmp qword [rax + 0x18], 8
jb 0x14002ddf4
mov rax, qword [rsp + 0x148]
mov qword [rsp + 0x70], rax
mov rax, qword [rsp + 0x790]
mov rax, qword [rax]
mov qword [rsp + 0x70], rax
jmp 0x14002de01
mov rax, qword [rsp + 0x790]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.140034470
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0x790]
mov rcx, qword [rsp + 0xb0]
call fcn.14000c5c0
mov rcx, qword [rsp + 0xe8]
mov rdx, rcx
mov rcx, rax
call fcn.14000c200
lea rdx, [rsp + 0x54c]
mov rcx, rax
call fcn.14000c200
lea rax, [rsp + 0x260]
test rax, rax
je 0x14002de6e
lea rax, [rsp + 0x260]
add rax, 0x10
mov qword [rsp + 0xc0], rax
jmp 0x14002de7a
mov qword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x798]
cmp qword [rax + 0x18], 8
jb 0x14002dea8
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x38], rax
mov rax, qword [rsp + 0x798]
mov rax, qword [rax]
mov qword [rsp + 0x38], rax
jmp 0x14002deb5
mov rax, qword [rsp + 0x798]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.140034470
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0x798]
mov rcx, qword [rsp + 0xc0]
call fcn.14000c5c0
mov rcx, qword [rsp + 0xd0]
mov rdx, rcx
mov rcx, rax
call fcn.14000c200
lea rdx, [rsp + 0x54c]
mov rcx, rax
call fcn.14000c200
lea rdx, [rsp + 0x4e0]
lea rcx, [rsp + 0x260]
call fcn.1400221e0
mov qword [rsp + 0xe0], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x48]
cmp qword [rax + 0x18], 8
jb 0x14002df51
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x48]
mov rax, qword [rax]
mov qword [rsp + 0x58], rax
jmp 0x14002df5b
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov dl, 1
mov rcx, qword [rsp + 0x58]
call fcn.14002e380
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x4e0]
call fcn.14001b260
mov eax, dword [rsp + 0x520]
and eax, 0x10
test eax, eax
jne 0x14002e120
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x260]
call fcn.1400221e0
mov qword [rsp + 0xf0], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x68], rax
lea rdx, [rsp + 0x500]
lea rcx, [rsp + 0x360]
call fcn.1400221e0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x18], 8
jb 0x14002dffe
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x68]
mov rax, qword [rax]
mov qword [rsp + 0x88], rax
jmp 0x14002e00b
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax + 0x18], 8
jb 0x14002e039
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x78]
mov rax, qword [rax]
mov qword [rsp + 0x98], rax
jmp 0x14002e046
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x98], rax
xor r8d, r8d
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14002e06d
mov dword [rsp + 0x28], 1
jmp 0x14002e075
mov dword [rsp + 0x28], 0
movzx eax, byte [rsp + 0x28]
mov byte [rsp + 0x27], al
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x500]
call fcn.14001b260
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x4c0]
call fcn.14001b260
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x14002e120
mov byte [rsp + 0x21], 0
lea rax, [rsp + 0x2f8]
mov rcx, rax
call fcn.140014730
lea rax, [rsp + 0x2f8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
nop
lea rax, [rsp + 0x3f8]
mov rcx, rax
call fcn.140014730
lea rax, [rsp + 0x3f8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
nop
lea rax, [rsp + 0x1f8]
mov rcx, rax
call fcn.140014730
lea rax, [rsp + 0x1f8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
movzx eax, byte [rsp + 0x21]
jmp 0x14002e2ca
lea rdx, [0x1400519d8]
lea rcx, [rsp + 0x460]
call fcn.140011240
nop
lea rax, [rsp + 0x378]
lea rdx, [rsp + 0x460]
mov rcx, rax
call fcn.14002ef10
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x460]
call fcn.14001b260
lea rdx, [0x1400519d8]
lea rcx, [rsp + 0x480]
call fcn.140011240
nop
lea rax, [rsp + 0x278]
lea rdx, [rsp + 0x480]
mov rcx, rax
call fcn.14002ef10
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x480]
call fcn.14001b260
lea rdx, [rsp + 0x520]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x14002e244
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x14002e1d0
mov byte [rsp + 0x20], 1
jmp 0x14002e244
mov byte [rsp + 0x22], 0
lea rax, [rsp + 0x2f8]
mov rcx, rax
call fcn.140014730
lea rax, [rsp + 0x2f8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
nop
lea rax, [rsp + 0x3f8]
mov rcx, rax
call fcn.140014730
lea rax, [rsp + 0x3f8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
nop
lea rax, [rsp + 0x1f8]
mov rcx, rax
call fcn.140014730
lea rax, [rsp + 0x1f8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
movzx eax, byte [rsp + 0x22]
jmp 0x14002e2ca
jmp 0x14002dd8a
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_FindClose]
movzx eax, byte [rsp + 0x24]
mov byte [rsp + 0x26], al
lea rax, [rsp + 0x2f8]
mov rcx, rax
call fcn.140014730
lea rax, [rsp + 0x2f8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
nop
lea rax, [rsp + 0x3f8]
mov rcx, rax
call fcn.140014730
lea rax, [rsp + 0x3f8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
nop
lea rax, [rsp + 0x1f8]
mov rcx, rax
call fcn.140014730
lea rax, [rsp + 0x1f8]
mov rcx, rax
call qword [sym.imp.MSVCP110.dll_public_virtual:_void___cdecl_std::basic_ios_unsigned_short_int__struct_std::char_traits_unsigned_short_int__::destructor_void____ptr64]
movzx eax, byte [rsp + 0x26]
mov rcx, qword [rsp + 0x770]
xor rcx, rsp
call fcn.14003a110
add rsp, 0x788
ret