Function at 0x14000b6c0
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 rbx, r8
mov rbp, rdx
mov rsi, rcx
mov rax, qword [0x140045010]
xor rax, rsp
mov qword [rsp + 0x490], rax
lea rdx, [rsp + 0x40]
call fcn.14001bb08
test eax, eax
je 0x14000b774
mov edi, eax
mov eax, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b9c6
call fcn.14001b3d4
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x140047ea8]
lea rdx, str.ensure_copy_recursive:_path_doesnt_exist:__S__rv:__d__err:__d
mov r8, rsi
mov r9d, edi
call fcn.1400116d0
mov r13d, 6
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140023af0
mov eax, r13d
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, word [rsp + 0x46]
and eax, 0xf000
cmp eax, 0x4000
jne 0x14000b8bc
mov rcx, rbp
call fcn.14001f1d0
mov r13d, eax
test eax, eax
jns 0x14000b7a6
call fcn.14001b3d4
cmp dword [rax], 0x11
jne 0x14000b972
mov rcx, rsi
call fcn.140032bd0
test rax, rax
je 0x14000b929
mov rdi, rax
mov rcx, rax
call fcn.140032c70
test rax, rax
je 0x14000b8af
mov r12, rax
mov qword [rsp + 0x30], rbp
lea r15, [rbx + 0x208]
lea rax, [rbx + 0x410]
mov qword [rsp + 0x38], rax
lea rbp, [0x14003db74]
lea r14, [rsp + 0x280]
mov rcx, r12
mov rdx, rbp
call fcn.140021d74
test eax, eax
je 0x14000b862
mov rcx, r12
lea rdx, [0x14003db72]
call fcn.140021d74
test eax, eax
je 0x14000b862
mov qword [rsp + 0x20], r12
mov edx, 0x104
mov rcx, r14
lea r8, str._s__s
mov r9, rsi
call fcn.140004840
mov rcx, rbx
mov rdx, r14
call fcn.14001eaf4
test eax, eax
je 0x14000b862
mov rcx, r15
mov rdx, r14
call fcn.14001eaf4
test eax, eax
je 0x14000b862
mov rcx, qword [rsp + 0x38]
mov rdx, r14
call fcn.14001eaf4
test eax, eax
jne 0x14000b874
mov rcx, rdi
call fcn.140032c70
mov r12, rax
test rax, rax
jne 0x14000b7f5
jmp 0x14000b8af
mov qword [rsp + 0x20], r12
mov edx, 0x104
lea r12, [rsp + 0x70]
mov rcx, r12
lea r8, str._s__s
mov r9, qword [rsp + 0x30]
call fcn.140004840
mov rcx, r14
mov rdx, r12
mov r8, rbx
call fcn.14000b6c0
xor r13d, r13d
test eax, eax
je 0x14000b862
mov r13d, eax
mov rcx, rdi
call fcn.140032c40
jmp 0x14000b74d
xor r13d, r13d
mov rcx, rsi
mov rdx, rbp
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000b74d
mov eax, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ba07
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rcx, [0x140047ea8]
lea rdx, str.ensure_copy:_failed_to_copy_the_file__S_over_to__S__lasterr:__lx
mov r8, rsi
mov r9, rbp
call fcn.1400116d0
mov r13d, 0x3d
jmp 0x14000b74d
mov eax, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ba48
call fcn.14001b3d4
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x140047ea8]
lea rdx, str.ensure_copy_recursive:_path_is_not_a_directory:__S__rv:__d__err:__d
mov r8, rsi
mov r9d, r13d
jmp 0x14000b742
mov eax, dword [0x1400480b8]
mov ecx, dword [0x140045e5c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ba89
call fcn.14001b3d4
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x140047ea8]
lea rdx, str.ensure_copy_recursive:_could_not_create_destination_directory:__S__rv:__d__err:__d
mov r8, rsi
mov r9d, r13d
call fcn.1400116d0
mov r13d, 7
jmp 0x14000b74d
lea rcx, [0x1400480b8]
call fcn.140013ae0
cmp dword [0x1400480b8], 0xffffffff
jne 0x14000b723
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
jmp 0x14000b723
lea rcx, [0x1400480b8]
call fcn.140013ae0
cmp dword [0x1400480b8], 0xffffffff
jne 0x14000b8fb
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
jmp 0x14000b8fb
lea rcx, [0x1400480b8]
call fcn.140013ae0
cmp dword [0x1400480b8], 0xffffffff
jne 0x14000b94e
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
jmp 0x14000b94e
lea rcx, [0x1400480b8]
call fcn.140013ae0
cmp dword [0x1400480b8], 0xffffffff
jne 0x14000b997
mov qword [0x140047ea8], 0
lea rcx, [0x14000acf0]
call fcn.140013c98
lea rcx, [0x1400480b8]
call fcn.140013b48
jmp 0x14000b997