Function at 0x14017a6d0
Capabilities:
Copy file
Create directory
Delete file

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1a0
mov qword [rsp + 0x88], 0xfffffffffffffffe
mov qword [rsp + 0x1e0], rbx
mov rax, qword [0x14042d950]
xor rax, rsp
mov qword [rsp + 0x190], rax
mov rbp, r9
mov r15, r8
mov rsi, rdx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x80], r8
mov qword [rsp + 0x98], r9
xor r13d, r13d
mov rbx, r13
mov qword [rsp + 0x40], rbx
mov rdi, r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov r12, r13
mov rcx, r9
call fcn.1400044c0
test rax, rax
je 0x14017ad5e
mov r14, r13
movabs rdx, 0x6666666666666667
movzx ebx, byte [rsp + 0x30]
mov rax, qword [rbp + 8]
test rax, rax
je 0x14017a78e
mov rcx, qword [rbp + 0x10]
sub rcx, rax
mov rax, rdx
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r12, rdx
jb 0x14017a794
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rbp + 8]
lea rdx, [r14 + rax]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_280]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const____ptr64____ptr64]
nop
lea rcx, [rsp + 0x168]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void____ptr64]
nop
xor r8d, r8d
lea rdx, [0x1403669f0]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_280]
call qword [sym.imp.MSVCP80.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_first_of_wchar_t_const____ptr64__unsigned_long_long_unsigned___int64__const___ptr64]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14017a93e
nop
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
call qword [sym.imp.MSVCP80.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 + 0xf0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_void____ptr64]
nop
mov r9, rdi
xor r8d, r8d
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_280]
call qword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64_____ptr64]
nop
mov rdx, rax
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
call qword [reloc.MSVCP80.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_AEBV01__Z]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
mov rdx, rsi
lea rcx, [rsp + 0xf0]
call qword [reloc.MSVCP80.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_PEB_W_Z]
lea rdx, [0x1403669f4]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP80.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_wchar_t_const____ptr64____ptr64]
lea rdx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP80.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]
lea rcx, [rsp + 0xf8]
cmp qword [rsp + 0x110], 8
cmovae rcx, qword [rsp + 0xf8]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, [rdi + 1]
lea rdx, [0x1403669f8]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_280]
call qword [sym.imp.MSVCP80.dll_public:_unsigned_long_long_unsigned___int64____cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::find_wchar_t_const____ptr64__unsigned_long_long_unsigned___int64__const___ptr64]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x14017a917
lea r8, [rax + 1]
mov r9, qword [sym.imp.MSVCP80.dll_unsigned_long_long_unsigned___int64__const_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::npos]
mov r9, qword [r9]
lea rdx, [rsp + 0xa0]
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_280]
call qword [sym.imp.MSVCP80.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_long_long_unsigned___int64___unsigned_long_long_unsigned___int64_____ptr64]
nop
mov rdx, rax
lea rcx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
call qword [reloc.MSVCP80.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_AEBV01__Z]
nop
lea rcx, [rsp + 0xa0]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
lea rdx, [rsp + reloc.MFC80U.DLL_Ordinal_320]
lea rcx, [rsp + 0x168]
call qword [reloc.MSVCP80.dll___4__basic_string__WU__char_traits__W_std__V__allocator__W_2__std__QEAAAEAV01_AEBV01__Z]
nop
lea rcx, [rsp + 0xf0]
call qword [sym.imp.MSVCP80.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 + reloc.MFC80U.DLL_Ordinal_320]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
cmp rdi, 0xffffffffffffffff
jne 0x14017a7e0
mov rdx, rsi
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const____ptr64____ptr64]
nop
lea rdx, [0x1403669fc]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP80.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_wchar_t_const____ptr64____ptr64]
mov r11, qword [rbp + 8]
test r11, r11
je 0x14017a99a
mov rcx, qword [rbp + 0x10]
sub rcx, r11
movabs rsi, 0x6666666666666667
mov rax, rsi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r12, rdx
jb 0x14017a9aa
jmp 0x14017a9a4
movabs rsi, 0x6666666666666667
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [rbp + 8]
lea rdx, [r14 + rax]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP80.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]
lea rdi, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 8
cmovae rdi, qword [rsp + 0xd0]
mov rax, qword [r15 + 8]
test rax, rax
je 0x14017aa03
mov rcx, qword [r15 + 0x10]
sub rcx, rax
mov rax, rsi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r12, rdx
jb 0x14017aa09
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rax, qword [r15 + 8]
cmp qword [r14 + rax + 0x20], 8
jb 0x14017aa1c
mov rcx, qword [r14 + rax + 8]
jmp 0x14017aa21
lea rcx, [r14 + rax + 8]
xor r8d, r8d
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x14017ac08
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
test rdi, rdi
je 0x14017aabc
mov rcx, rsi
sub rcx, rdi
movabs r9, 0x6666666666666667
mov rax, r9
imul rcx
mov r8, rdx
sar r8, 4
mov rax, r8
shr rax, 0x3f
add r8, rax
mov rcx, qword [rsp + 0x50]
sub rcx, rdi
mov rax, r9
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp r8, rdx
jae 0x14017aabc
xor eax, eax
mov byte [rsp + 0x28], al
mov byte [rsp + 0x20], bl
lea r9, [rsp + 0x38]
lea r8, [rsp + 0xc8]
lea edx, [rax + 1]
mov rcx, rsi
call fcn.140004e90
lea r11, [rsi + 0x28]
mov qword [rsp + 0x48], r11
jmp 0x14017aba5
mov r13, rsi
cmp rdi, rsi
jbe 0x14017aad4
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rsi, qword [rsp + 0x48]
mov rdi, qword [rsp + 0x40]
lea rax, [rsp + 0x38]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r13
test rdi, rdi
je 0x14017ab3c
mov rcx, rsi
sub rcx, rdi
movabs rax, 0x6666666666666667
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x14017ab3c
cmp rdi, rsi
jbe 0x14017ab16
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
sub r13, rdi
movabs rax, 0x6666666666666667
imul r13
mov rdi, rdx
sar rdi, 4
mov rax, rdi
shr rax, 0x3f
add rdi, rax
xor r13d, r13d
jmp 0x14017ab42
xor r13d, r13d
mov rdi, r13
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x70], xmm0
lea r9, [rsp + 0xc8]
mov r8d, 1
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x38]
call fcn.140004870
mov r11, qword [rsp + 0x40]
mov rsi, r11
mov rcx, qword [rsp + 0x48]
cmp r11, rcx
jbe 0x14017ab8c
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov rcx, qword [rsp + 0x48]
mov r11, qword [rsp + 0x40]
lea rax, [rdi + rdi*4]
lea rdx, [rsi + rax*8]
cmp rdx, rcx
ja 0x14017ab9e
cmp rdx, r11
jae 0x14017aba5
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
nop
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP80.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 + 0x168]
call qword [sym.imp.MSVCP80.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 + reloc.MFC80U.DLL_Ordinal_280]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add r12, 1
add r14, 0x28
mov rcx, rbp
call fcn.1400044c0
cmp r12, rax
mov rsi, qword [rsp + 0x58]
movabs rdx, 0x6666666666666667
jb 0x14017a765
mov rdi, qword [rsp + 0x48]
mov rbx, qword [rsp + 0x40]
jmp 0x14017ad5e
mov rbx, r13
nop
nop
mov r8, qword [rsp + 0x40]
test r8, r8
je 0x14017ac6f
mov rcx, qword [rsp + 0x48]
sub rcx, r8
mov rax, rsi
imul rcx
sar rdx, 4
mov rax, rdx
shr rax, 0x3f
add rdx, rax
cmp rbx, rdx
jae 0x14017ac6f
cmp r12, rdx
jb 0x14017ac4b
call qword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov r8, qword [rsp + 0x40]
lea rax, [r12 + r12*4]
cmp qword [r8 + rax*8 + 0x20], 8
jb 0x14017ac5e
mov rcx, qword [r8 + rax*8 + 8]
jmp 0x14017ac63
lea rcx, [r8 + rax*8 + 8]
call qword [sym.imp.KERNEL32.dll_DeleteFileW]
add rbx, 1
jmp 0x14017ac10
lea rcx, [rsp + 0xc8]
call qword [sym.imp.MSVCP80.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 + 0x168]
call qword [sym.imp.MSVCP80.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 + reloc.MFC80U.DLL_Ordinal_280]
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
nop
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x14017accf
mov rdi, qword [rsp + 0x48]
cmp rbx, rdi
je 0x14017acc7
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14017acb0
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x14017ad0b
mov rdi, qword [r15 + 0x10]
cmp rbx, rdi
je 0x14017ad02
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14017acf0
mov rcx, qword [r15 + 8]
call sub.MFC80U.DLL_Ordinal_776
mov qword [r15 + 8], r13
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x14017ad4b
mov rdi, qword [rbp + 0x10]
cmp rbx, rdi
je 0x14017ad42
nop
nop
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14017ad30
mov rcx, qword [rbp + 8]
call sub.MFC80U.DLL_Ordinal_776
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], r13
xor al, al
jmp 0x14017ae19
test rbx, rbx
je 0x14017ad8f
cmp rbx, rdi
je 0x14017ad87
nop
nop
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14017ad70
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call sub.MFC80U.DLL_Ordinal_776
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x48], r13
mov qword [rsp + 0x50], r13
mov rbx, qword [r15 + 8]
test rbx, rbx
je 0x14017adcb
mov rdi, qword [r15 + 0x10]
cmp rbx, rdi
je 0x14017adc2
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14017adb0
mov rcx, qword [r15 + 8]
call sub.MFC80U.DLL_Ordinal_776
mov qword [r15 + 8], r13
mov qword [r15 + 0x10], r13
mov qword [r15 + 0x18], r13
mov rbx, qword [rbp + 8]
test rbx, rbx
je 0x14017ae0b
mov rdi, qword [rbp + 0x10]
cmp rbx, rdi
je 0x14017ae02
nop
nop
mov rcx, rbx
call qword [sym.imp.MSVCP80.dll_public:_void___cdecl_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void____ptr64]
add rbx, 0x28
cmp rbx, rdi
jne 0x14017adf0
mov rcx, qword [rbp + 8]
call sub.MFC80U.DLL_Ordinal_776
mov qword [rbp + 8], r13
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], r13
mov al, 1
mov rcx, qword [rsp + 0x190]
xor rcx, rsp
call fcn.140161080
mov rbx, qword [rsp + 0x1e0]
add rsp, 0x1a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret