Function at 0x140001cf0
Capabilities:
Copy file
Create directory

Disassembly:
jmp 0x140001cf0
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x120
lea rdi, [rsp + 0x20]
mov ecx, 0x40
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rcx, qword [rsp + 0x130]
mov rax, qword [section..data]
xor rax, rsp
mov qword [rsp + 0x118], rax
lea rcx, [rsp + 0x28]
call fcn.14000135c
nop
lea r8, str.Edge
lea rdx, [rsp + 0x28]
lea rcx, [rsp + 0x68]
call fcn.1400013f2
nop
lea r8, str.edge.exe
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0xa8]
call fcn.1400013f2
nop
lea rcx, [rsp + 0x68]
call fcn.140001375
movzx eax, al
test eax, eax
jne 0x140001e08
lea rcx, [rsp + 0x68]
call fcn.14000106e
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x140001e08
lea rdx, str.Failed_to_create_directory:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000109b
lea rdx, [rsp + 0x68]
mov rcx, rax
call fcn.14000149c
mov qword [rsp + 0xe8], rax
lea rdx, [0x14000101e]
mov rcx, qword [rsp + 0xe8]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov byte [rsp + 0xe0], 0
lea rcx, [rsp + 0xa8]
call fcn.1400010f5
nop
lea rcx, [rsp + 0x68]
call fcn.1400010f5
nop
lea rcx, [rsp + 0x28]
call fcn.1400010f5
movzx eax, byte [rsp + 0xe0]
jmp 0x140001fef
lea rcx, [rsp + 0xa8]
call fcn.1400013e3
movzx eax, al
test eax, eax
je 0x140001e95
lea rdx, str.edge.exe_already_exists_at:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000109b
lea rdx, [rsp + 0xa8]
mov rcx, rax
call fcn.14000149c
mov qword [rsp + 0xf0], rax
lea rdx, [0x14000101e]
mov rcx, qword [rsp + 0xf0]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov byte [rsp + 0xe1], 1
lea rcx, [rsp + 0xa8]
call fcn.1400010f5
nop
lea rcx, [rsp + 0x68]
call fcn.1400010f5
nop
lea rcx, [rsp + 0x28]
call fcn.1400010f5
movzx eax, byte [rsp + 0xe1]
jmp 0x140001fef
lea rcx, [rsp + 0xa8]
call fcn.14000106e
mov qword [rsp + 0xf8], rax
mov rcx, qword [rsp + 0x130]
call fcn.14000106e
mov qword [rsp + 0x100], rax
xor r8d, r8d
mov rdx, qword [rsp + 0xf8]
mov rcx, qword [rsp + 0x100]
call qword [sym.imp.KERNEL32.dll_CopyFileA]
test eax, eax
je 0x140001f57
lea rdx, str.Successfully_copied_to:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000109b
lea rdx, [rsp + 0xa8]
mov rcx, rax
call fcn.14000149c
mov qword [rsp + 0x108], rax
lea rdx, [0x14000101e]
mov rcx, qword [rsp + 0x108]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov byte [rsp + 0xe2], 1
lea rcx, [rsp + 0xa8]
call fcn.1400010f5
nop
lea rcx, [rsp + 0x68]
call fcn.1400010f5
nop
lea rcx, [rsp + 0x28]
call fcn.1400010f5
movzx eax, byte [rsp + 0xe2]
jmp 0x140001fef
lea rdx, str.Failed_to_copy_file_to:
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14000109b
lea rdx, [rsp + 0xa8]
mov rcx, rax
call fcn.14000149c
mov qword [rsp + 0x110], rax
lea rdx, [0x14000101e]
mov rcx, qword [rsp + 0x110]
call qword [sym.imp.MSVCP140D.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
nop
mov byte [rsp + 0xe3], 0
lea rcx, [rsp + 0xa8]
call fcn.1400010f5
nop
lea rcx, [rsp + 0x68]
call fcn.1400010f5
nop
lea rcx, [rsp + 0x28]
call fcn.1400010f5
movzx eax, byte [rsp + 0xe3]
jmp 0x140001fef
mov rdi, rax
mov rcx, rsp
lea rdx, [0x140010170]
call fcn.140001424
mov rax, rdi
mov rcx, qword [rsp + 0x118]
xor rcx, rsp
call fcn.140001276
add rsp, 0x120
pop rdi
ret