Function at 0x14000b700
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 rdi, r8
mov rbp, rdx
mov rsi, rcx
mov rax, qword [0x140047010]
xor rax, rsp
mov qword [rsp + 0x490], rax
lea rdx, [rsp + 0x40]
call fcn.14001bb88
test eax, eax
je 0x14000b791
mov ebx, eax
mov eax, dword [0x14004a098]
mov ecx, dword [0x140047e4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b9bc
call fcn.14001b454
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x140049e88]
lea rdx, str.ensure_copy_recursive:_path_doesnt_exist:__S__rv:__d__err:__d
mov r8, rsi
mov r9d, ebx
call fcn.1400116a0
mov edi, 6
jmp 0x14000b8a1
movzx eax, word [rsp + 0x46]
and eax, 0xf000
cmp eax, 0x4000
jne 0x14000b815
mov rcx, rbp
call fcn.14001fb70
mov ebx, eax
test eax, eax
jns 0x14000b879
call fcn.14001b454
cmp dword [rax], 0x11
je 0x14000b879
mov eax, dword [0x14004a098]
mov ecx, dword [0x140047e4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b9fd
call fcn.14001b454
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x140049e88]
lea rdx, str.ensure_copy_recursive:_could_not_create_destination_directory:__S__rv:__d__err:__d
mov r8, rsi
mov r9d, ebx
call fcn.1400116a0
mov edi, 7
jmp 0x14000b8a1
xor edi, edi
mov rcx, rsi
mov rdx, rbp
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000b8a1
mov eax, dword [0x14004a098]
mov ecx, dword [0x140047e4c]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000ba3e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rcx, [0x140049e88]
lea rdx, str.ensure_copy:_failed_to_copy_the_file__S_over_to__S__lasterr:__lx
mov r8, rsi
mov r9, rbp
call fcn.1400116a0
mov edi, 0x3d
jmp 0x14000b8a1
mov dword [rsp + 0x2c], ebx
mov rcx, rsi
call fcn.140035600
mov rbx, rax
mov rcx, rax
call fcn.1400356a0
test rax, rax
jne 0x14000b8c7
mov rcx, rbx
call fcn.140035670
mov edi, dword [rsp + 0x2c]
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.1400246e0
mov eax, edi
add rsp, 0x498
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov r15, rax
mov qword [rsp + 0x30], rbp
lea rbp, [rdi + 0x208]
lea rax, [rdi + 0x410]
mov qword [rsp + 0x38], rax
lea r13, [0x14003fb06]
lea r14, [0x14003fb04]
lea r12, [rsp + 0x280]
mov rcx, r15
mov rdx, r13
call fcn.140022964
test eax, eax
je 0x14000b961
mov rcx, r15
mov rdx, r14
call fcn.140022964
test eax, eax
je 0x14000b961
mov qword [rsp + 0x20], r15
mov edx, 0x104
mov rcx, r12
lea r8, str._s__s
mov r9, rsi
call fcn.140004870
mov rcx, rdi
mov rdx, r12
call fcn.14001f494
test eax, eax
je 0x14000b961
mov rcx, rbp
mov rdx, r12
call fcn.14001f494
test eax, eax
je 0x14000b961
mov rcx, qword [rsp + 0x38]
mov rdx, r12
call fcn.14001f494
test eax, eax
jne 0x14000b976
mov rcx, rbx
call fcn.1400356a0
mov r15, rax
test rax, rax
jne 0x14000b8f8
jmp 0x14000b895
mov qword [rsp + 0x20], r15
mov edx, 0x104
lea r15, [rsp + 0x70]
mov rcx, r15
lea r8, str._s__s
mov r9, qword [rsp + 0x30]
call fcn.140004870
mov rcx, r12
mov rdx, r15
mov r8, rdi
call fcn.14000b700
mov dword [rsp + 0x2c], 0
test eax, eax
je 0x14000b961
mov dword [rsp + 0x2c], eax
jmp 0x14000b895
lea rcx, [0x14004a098]
call fcn.140013b60
cmp dword [0x14004a098], 0xffffffff
jne 0x14000b763
mov qword [0x140049e88], 0
lea rcx, [0x14000add0]
call fcn.140013d18
lea rcx, [0x14004a098]
call fcn.140013bc8
jmp 0x14000b763
lea rcx, [0x14004a098]
call fcn.140013b60
cmp dword [0x14004a098], 0xffffffff
jne 0x14000b7e7
mov qword [0x140049e88], 0
lea rcx, [0x14000add0]
call fcn.140013d18
lea rcx, [0x14004a098]
call fcn.140013bc8
jmp 0x14000b7e7
lea rcx, [0x14004a098]
call fcn.140013b60
cmp dword [0x14004a098], 0xffffffff
jne 0x14000b84f
mov qword [0x140049e88], 0
lea rcx, [0x14000add0]
call fcn.140013d18
lea rcx, [0x14004a098]
call fcn.140013bc8
jmp 0x14000b84f