Function at 0x14000b6d0
Capabilities:
Copy file
Create directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x498
mov r14, r8
mov r12, rdx
mov rsi, rcx
mov rax, qword [0x140049030]
xor rax, rsp
mov qword [rsp + 0x490], rax
lea rdx, [rsp + 0x40]
call fcn.14001b4a4
test eax, eax
je 0x14000b761
mov edi, eax
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b98c
call fcn.14001adb0
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x14004bfb8]
lea rdx, str.ensure_copy_recursive:_path_doesnt_exist:__S__rv:__d__err:__d
mov r8, rsi
mov r9d, edi
call fcn.1400117c0
mov edi, 6
jmp 0x14000b871
movzx eax, word [rsp + 0x46]
and eax, 0xf000
cmp eax, 0x4000
jne 0x14000b7e5
mov rcx, r12
call fcn.14001f454
mov edi, eax
test eax, eax
jns 0x14000b849
call fcn.14001adb0
cmp dword [rax], 0x11
je 0x14000b849
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b9cd
call fcn.14001adb0
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x14004bfb8]
lea rdx, str.ensure_copy_recursive:_could_not_create_destination_directory:__S__rv:__d__err:__d
mov r8, rsi
mov r9d, edi
call fcn.1400117c0
mov edi, 7
jmp 0x14000b871
xor edi, edi
mov rcx, rsi
mov rdx, r12
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000b871
mov eax, dword [0x14004c1c8]
mov ecx, dword [0x140049f80]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ba0e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rcx, [0x14004bfb8]
lea rdx, str.ensure_copy:_failed_to_copy_the_file__S_over_to__S__lasterr:__lx
mov r8, rsi
mov r9, r12
call fcn.1400117c0
mov edi, 0x3d
jmp 0x14000b871
mov dword [rsp + 0x2c], edi
mov rcx, rsi
call fcn.140035810
mov r15, rax
mov rcx, rax
call fcn.1400358b0
test rax, rax
jne 0x14000b897
mov rcx, r15
call fcn.140035880
mov edi, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140026460
mov eax, edi
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rbx, rax
mov qword [rsp + 0x30], r12
lea r12, [r14 + 0x208]
lea rax, [r14 + 0x410]
mov qword [rsp + 0x38], rax
lea rbp, [0x14004141c]
lea rdi, [0x14004141a]
lea r13, [rsp + 0x280]
mov rcx, rbx
mov rdx, rbp
call fcn.1400224ec
test eax, eax
je 0x14000b931
mov rcx, rbx
mov rdx, rdi
call fcn.1400224ec
test eax, eax
je 0x14000b931
mov qword [rsp + 0x20], rbx
mov edx, 0x104
mov rcx, r13
lea r8, str._s__s
mov r9, rsi
call fcn.140004870
mov rcx, r14
mov rdx, r13
call fcn.14001ed4c
test eax, eax
je 0x14000b931
mov rcx, r12
mov rdx, r13
call fcn.14001ed4c
test eax, eax
je 0x14000b931
mov rcx, qword [rsp + 0x38]
mov rdx, r13
call fcn.14001ed4c
test eax, eax
jne 0x14000b946
mov rcx, r15
call fcn.1400358b0
mov rbx, rax
test rax, rax
jne 0x14000b8c8
jmp 0x14000b865
mov qword [rsp + 0x20], rbx
mov edx, 0x104
lea rbx, [rsp + 0x70]
mov rcx, rbx
lea r8, str._s__s
mov r9, qword [rsp + 0x30]
call fcn.140004870
mov rcx, r13
mov rdx, rbx
mov r8, r14
call fcn.14000b6d0
mov dword [rsp + 0x2c], 0
test eax, eax
je 0x14000b931
mov dword [rsp + 0x2c], eax
jmp 0x14000b865
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x14000b733
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x14000b733
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x14000b7b7
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x14000b7b7
lea rcx, [0x14004c1c8]
call fcn.140013b60
cmp dword [0x14004c1c8], 0xffffffff
jne 0x14000b81f
mov qword [0x14004bfb8], 0
lea rcx, [0x14000ada0]
call fcn.140013cf8
lea rcx, [0x14004c1c8]
call fcn.140013bc8
jmp 0x14000b81f