Function at 0x140015050
Capabilities:
Copy file
Create directory
Enumerate files on windows
Enumerate files recursively

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbx
push rsi
push rdi
sub rsp, 0x5a0
mov qword [rsp + 0x570], 0xfffffffffffffffe
mov rax, qword [0x140038020]
xor rax, rsp
mov qword [rsp + 0x598], rax
mov dword [rsp + 0x40], 0
mov qword [rsp + 0x48], 0xffffffffffffffff
mov rcx, qword [rsp + 0x5d0]
call qword [sym.imp.MSVCP90.dll_public:_wchar_t_const____ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const___ptr64]
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor edx, edx
mov word [rsp + 0x80], dx
lea rdi, [rsp + 0x82]
xor eax, eax
mov ecx, 0x206
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0x5c8]
call qword [sym.imp.MSVCP90.dll_public:_wchar_t_const____ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const___ptr64]
mov r8, rax
mov edx, 0x104
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCR90.dll_wcscpy_s]
lea r8, [0x140029998]
mov edx, 0x104
lea rcx, [rsp + 0x80]
call qword [sym.imp.MSVCR90.dll_wcscat_s]
mov dword [rsp + 0x290], 0
lea rdi, [rsp + 0x294]
xor eax, eax
mov ecx, 0x24c
rep stosb byte [rdi], al
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x80]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov qword [rsp + 0x48], rax
cmp qword [rsp + 0x48], 0xffffffffffffffff
jne 0x1400151c3
mov dword [rsp + 0x40], 0x109f9263
xor eax, eax
cmp eax, 1
je 0x1400151be
call fcn.140004430
mov qword [rsp + 0x508], rax
cmp qword [rsp + 0x508], 0
je 0x1400151be
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rsp + 0x508]
mov rdi, qword [rdi]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0x109f9263
mov dword [rsp + 0x28], 0x109
lea rax, [0x1400299a0]
mov qword [rsp + 0x20], rax
lea r9, [0x1400299e0]
mov r8d, 0xf9
mov edx, 1
mov rcx, qword [rsp + 0x508]
call qword [rdi + 0x30]
jmp 0x1400154f1
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void____ptr64]
nop
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void____ptr64]
nop
lea rdx, [rsp + 0x2bc]
lea rcx, [0x1400286f4]
sub rcx, rdx
movzx eax, word [rdx]
cmp ax, word [rdx + rcx]
jne 0x140015206
add rdx, 2
test ax, ax
jne 0x1400151f0
xor eax, eax
jmp 0x14001520b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x140015214
jmp 0x140015411
lea rdx, [rsp + 0x2bc]
lea rcx, [0x140029a48]
sub rcx, rdx
movzx eax, word [rdx]
cmp ax, word [rdx + rcx]
jne 0x14001523c
add rdx, 2
test ax, ax
jne 0x140015226
xor eax, eax
jmp 0x140015241
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x14001524a
jmp 0x140015411
lea r8, [rsp + 0x2bc]
mov rdx, qword [rsp + 0x5c8]
lea rcx, [rsp + 0x520]
call qword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__wchar_t_const____ptr64_]
mov qword [rsp + 0x578], rax
mov rax, qword [rsp + 0x578]
mov qword [rsp + 0x580], rax
mov rdx, qword [rsp + 0x580]
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x520]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
lea r8, [rsp + 0x2bc]
mov rdx, qword [rsp + 0x5d0]
lea rcx, [rsp + 0x548]
call qword [sym.imp.MSVCP90.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64__wchar_t_const____ptr64_]
mov qword [rsp + 0x588], rax
mov rax, qword [rsp + 0x588]
mov qword [rsp + 0x590], rax
mov rdx, qword [rsp + 0x590]
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x548]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
mov eax, dword [rsp + 0x290]
and eax, 0x10
cmp eax, 0x10
jne 0x140015352
lea rdx, [0x140028704]
lea rcx, [rsp + 0x58]
call qword [reloc.MSVCP90.dll___Y__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_PEB_W_Z]
lea rdx, [0x140028714]
lea rcx, [rsp + 0x4e0]
call qword [reloc.MSVCP90.dll___Y__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_PEB_W_Z]
lea r8, [rsp + 0x4e0]
lea rdx, [rsp + 0x58]
mov rcx, qword [rsp + 0x5c0]
call fcn.140015050
jmp 0x140015411
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.MSVCP90.dll_public:_wchar_t_const____ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const___ptr64]
mov rdi, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP90.dll_public:_wchar_t_const____ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const___ptr64]
xor r8d, r8d
mov rdx, rdi
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x140015411
mov dword [rsp + 0x40], 0x120f910c
xor eax, eax
cmp eax, 1
je 0x140015411
call fcn.140004430
mov qword [rsp + 0x510], rax
cmp qword [rsp + 0x510], 0
je 0x140015411
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.MSVCP90.dll_public:_wchar_t_const____ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const___ptr64]
mov rbx, rax
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP90.dll_public:_wchar_t_const____ptr64___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const___ptr64]
mov r11, rax
mov rdi, qword [rsp + 0x510]
mov rdi, qword [rdi]
mov dword [rsp + 0x38], esi
mov eax, dword [rsp + 0x40]
mov dword [rsp + 0x30], eax
mov qword [rsp + 0x28], rbx
mov qword [rsp + 0x20], r11
lea r9, str.copy_file_failed._from_s__to_s__er_u__sys0x_X_n
mov r8d, 0xf9
mov edx, 1
mov rcx, qword [rsp + 0x510]
call qword [rdi + 0x30]
lea rdx, [rsp + 0x290]
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x1400151de
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x12
je 0x1400154cd
mov dword [rsp + 0x40], 0x127f9264
xor eax, eax
cmp eax, 1
je 0x1400154b1
call fcn.140004430
mov qword [rsp + 0x518], rax
cmp qword [rsp + 0x518], 0
je 0x1400154b1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rdi, qword [rsp + 0x518]
mov rdi, qword [rdi]
mov dword [rsp + 0x38], eax
mov dword [rsp + 0x30], 0x127f9264
mov dword [rsp + 0x28], 0x127
lea rax, str.D:EPM_EPM_mainShareLibDCFrameEUCloneServerLanguage.cpp
mov qword [rsp + 0x20], rax
lea r9, [0x140029b00]
mov r8d, 0xf9
mov edx, 1
mov rcx, qword [rsp + 0x518]
call qword [rdi + 0x30]
nop
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
jmp 0x1400154f1
lea rcx, [rsp + 0x4e0]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
lea rcx, [rsp + 0x58]
call qword [sym.imp.MSVCP90.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
xor eax, eax
test eax, eax
jne 0x140015098
cmp qword [rsp + 0x48], 0xffffffffffffffff
je 0x140015504
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [rsp + 0x40]
mov rcx, qword [rsp + 0x598]
xor rcx, rsp
call fcn.1400239c0
add rsp, 0x5a0
pop rdi
pop rsi
pop rbx
ret