Function at 0x1400339e0
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 [0x140079aa0]
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 0x140033a57
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 0x140033a64
mov rax, qword [rsp + 0x790]
mov qword [rsp + 0x50], rax
mov rcx, qword [rsp + 0x50]
call fcn.14002ce90
movzx eax, al
test eax, eax
jne 0x140033a7c
xor al, al
jmp 0x1400342ba
mov rax, qword [rsp + 0x798]
cmp qword [rax + 0x18], 8
jb 0x140033aaa
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 0x140033ab7
mov rax, qword [rsp + 0x798]
mov qword [rsp + 0x40], rax
mov rcx, qword [rsp + 0x40]
call fcn.14002bda0
movzx eax, al
test eax, eax
jne 0x140033b72
mov rax, qword [rsp + 0x798]
cmp qword [rax + 0x18], 8
jb 0x140033b00
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 0x140033b10
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 0x140033b2b
xor al, al
jmp 0x1400342ba
mov rax, qword [rsp + 0x798]
cmp qword [rax + 0x18], 8
jb 0x140033b59
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 0x140033b66
mov rax, qword [rsp + 0x798]
mov qword [rsp + 0x30], rax
mov dl, 1
mov rcx, qword [rsp + 0x30]
call fcn.140034370
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x160]
call fcn.1400149e0
nop
lea rax, [rsp + 0x160]
test rax, rax
je 0x140033bae
lea rax, [rsp + 0x160]
add rax, 0x10
mov qword [rsp + 0xb8], rax
jmp 0x140033bba
mov qword [rsp + 0xb8], 0
mov rax, qword [rsp + 0x790]
cmp qword [rax + 0x18], 8
jb 0x140033bee
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 0x140033bfe
mov rax, qword [rsp + 0x790]
mov qword [rsp + 0x80], rax
mov rcx, qword [rsp + 0x80]
call fcn.14003a570
mov qword [rsp + 0xc8], rax
mov rdx, qword [rsp + 0x790]
mov rcx, qword [rsp + 0xb8]
call fcn.14000dea0
mov rcx, qword [rsp + 0xc8]
mov rdx, rcx
mov rcx, rax
call fcn.14000dae0
mov rdx, qword [rsp + 0x7a0]
mov rcx, rax
call fcn.14000dea0
lea rdx, [rsp + 0x4a0]
lea rcx, [rsp + 0x160]
call fcn.1400281d0
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0x60]
cmp qword [rax + 0x18], 8
jb 0x140033c93
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 0x140033ca0
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.14001fb50
cmp qword [rsp + 0xa8], 0xffffffffffffffff
jne 0x140033d48
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x140033d18
mov byte [rsp + 0x25], 1
lea rax, [rsp + 0x1f8]
mov rcx, rax
call fcn.140018230
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 0x1400342ba
mov byte [rsp + 0x23], 0
lea rax, [rsp + 0x1f8]
mov rcx, rax
call fcn.140018230
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 0x1400342ba
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x360]
call fcn.1400149e0
nop
mov r8d, 1
mov edx, 3
lea rcx, [rsp + 0x260]
call fcn.1400149e0
nop
movzx eax, byte [rsp + 0x20]
test eax, eax
jne 0x140034239
lea rax, [rsp + 0x360]
test rax, rax
je 0x140033daa
lea rax, [rsp + 0x360]
add rax, 0x10
mov qword [rsp + 0xb0], rax
jmp 0x140033db6
mov qword [rsp + 0xb0], 0
mov rax, qword [rsp + 0x790]
cmp qword [rax + 0x18], 8
jb 0x140033de4
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 0x140033df1
mov rax, qword [rsp + 0x790]
mov qword [rsp + 0x70], rax
mov rcx, qword [rsp + 0x70]
call fcn.14003a570
mov qword [rsp + 0xe8], rax
mov rdx, qword [rsp + 0x790]
mov rcx, qword [rsp + 0xb0]
call fcn.14000dea0
mov rcx, qword [rsp + 0xe8]
mov rdx, rcx
mov rcx, rax
call fcn.14000dae0
lea rdx, [rsp + 0x54c]
mov rcx, rax
call fcn.14000dae0
lea rax, [rsp + 0x260]
test rax, rax
je 0x140033e5e
lea rax, [rsp + 0x260]
add rax, 0x10
mov qword [rsp + 0xc0], rax
jmp 0x140033e6a
mov qword [rsp + 0xc0], 0
mov rax, qword [rsp + 0x798]
cmp qword [rax + 0x18], 8
jb 0x140033e98
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 0x140033ea5
mov rax, qword [rsp + 0x798]
mov qword [rsp + 0x38], rax
mov rcx, qword [rsp + 0x38]
call fcn.14003a570
mov qword [rsp + 0xd0], rax
mov rdx, qword [rsp + 0x798]
mov rcx, qword [rsp + 0xc0]
call fcn.14000dea0
mov rcx, qword [rsp + 0xd0]
mov rdx, rcx
mov rcx, rax
call fcn.14000dae0
lea rdx, [rsp + 0x54c]
mov rcx, rax
call fcn.14000dae0
lea rdx, [rsp + 0x4e0]
lea rcx, [rsp + 0x260]
call fcn.1400281d0
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 0x140033f41
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 0x140033f4b
mov rax, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov dl, 1
mov rcx, qword [rsp + 0x58]
call fcn.140034370
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x4e0]
call fcn.14001fb50
mov eax, dword [rsp + 0x520]
and eax, 0x10
test eax, eax
jne 0x140034110
lea rdx, [rsp + 0x4c0]
lea rcx, [rsp + 0x260]
call fcn.1400281d0
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.1400281d0
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0x68]
cmp qword [rax + 0x18], 8
jb 0x140033fee
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 0x140033ffb
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x88], rax
mov rax, qword [rsp + 0x78]
cmp qword [rax + 0x18], 8
jb 0x140034029
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 0x140034036
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 0x14003405d
mov dword [rsp + 0x28], 1
jmp 0x140034065
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.14001fb50
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x4c0]
call fcn.14001fb50
movzx eax, byte [rsp + 0x27]
test eax, eax
je 0x140034110
mov byte [rsp + 0x21], 0
lea rax, [rsp + 0x2f8]
mov rcx, rax
call fcn.140018230
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.140018230
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.140018230
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 0x1400342ba
lea rdx, [0x140059320]
lea rcx, [rsp + 0x460]
call fcn.140014880
nop
lea rax, [rsp + 0x378]
lea rdx, [rsp + 0x460]
mov rcx, rax
call fcn.140034f00
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x460]
call fcn.14001fb50
lea rdx, [0x140059320]
lea rcx, [rsp + 0x480]
call fcn.140014880
nop
lea rax, [rsp + 0x278]
lea rdx, [rsp + 0x480]
mov rcx, rax
call fcn.140034f00
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x480]
call fcn.14001fb50
lea rdx, [rsp + 0x520]
mov rcx, qword [rsp + 0xa8]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x140034234
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
jne 0x1400341c0
mov byte [rsp + 0x20], 1
jmp 0x140034234
mov byte [rsp + 0x22], 0
lea rax, [rsp + 0x2f8]
mov rcx, rax
call fcn.140018230
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.140018230
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.140018230
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 0x1400342ba
jmp 0x140033d7a
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.140018230
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.140018230
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.140018230
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.140040570
add rsp, 0x788
ret