Function at 0x14000b480
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.14001c1a8
test eax, eax
je 0x14000b534
mov edi, eax
mov eax, dword [0x140048558]
mov ecx, dword [0x140045e44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b79b
call fcn.14001ba74
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x140048348]
lea rdx, str.ensure_copy_recursive:_path_doesnt_exist:__S__rv:__d__err:__d
mov r8, rsi
mov r9d, edi
call fcn.14000ed50
mov r13d, 6
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140023fe0
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 0x14000b691
mov rcx, rbp
call fcn.14001f65c
mov r13d, eax
test eax, eax
jns 0x14000b566
call fcn.14001ba74
cmp dword [rax], 0x11
jne 0x14000b747
mov rcx, rsi
call fcn.14000ffa0
test rax, rax
je 0x14000b6fe
mov rdi, rax
mov rcx, rax
call fcn.140010040
test rax, rax
je 0x14000b684
mov r12, rax
mov qword [rsp + 0x30], rbp
lea r15, [rbx + 0x208]
lea rax, [rbx + 0x410]
mov qword [rsp + 0x38], rax
lea rbp, [0x14003d9ee]
lea r14, [rsp + 0x280]
jmp 0x14000b5d4
mov rcx, rdi
call fcn.140010040
mov r12, rax
test rax, rax
je 0x14000b684
mov rcx, r12
mov rdx, rbp
call fcn.140022094
test eax, eax
je 0x14000b5c0
mov rcx, r12
lea rdx, [0x14003d9ec]
call fcn.140022094
test eax, eax
je 0x14000b5c0
mov qword [rsp + 0x20], r12
mov edx, 0x104
mov rcx, r14
lea r8, str._s__s
mov r9, rsi
call fcn.1400042e0
mov rcx, rbx
mov rdx, r14
call fcn.14001ef18
test eax, eax
je 0x14000b5c0
mov rcx, r15
mov rdx, r14
call fcn.14001ef18
test eax, eax
je 0x14000b5c0
mov rcx, qword [rsp + 0x38]
mov rdx, r14
call fcn.14001ef18
test eax, eax
je 0x14000b5c0
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.1400042e0
mov rcx, r14
mov rdx, r12
mov r8, rbx
call fcn.14000b480
xor r13d, r13d
test eax, eax
je 0x14000b5c0
mov r13d, eax
mov rcx, rdi
call fcn.140010010
jmp 0x14000b50d
xor r13d, r13d
mov rcx, rsi
mov rdx, rbp
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000b50d
mov eax, dword [0x140048558]
mov ecx, dword [0x140045e44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b7dc
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rcx, [0x140048348]
lea rdx, str.ensure_copy:_failed_to_copy_the_file__S_over_to__S__lasterr:__x
mov r8, rsi
mov r9, rbp
call fcn.14000ed50
mov r13d, 0x3d
jmp 0x14000b50d
mov eax, dword [0x140048558]
mov ecx, dword [0x140045e44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b81d
call fcn.14001ba74
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x140048348]
lea rdx, str.ensure_copy_recursive:_path_is_not_a_directory:__S__rv:__d__err:__d
mov r8, rsi
mov r9d, r13d
jmp 0x14000b502
mov eax, dword [0x140048558]
mov ecx, dword [0x140045e44]
mov rdx, qword gs:[0x58]
mov rcx, qword [rdx + rcx*8]
cmp eax, dword [rcx + 4]
jg 0x14000b85e
call fcn.14001ba74
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x140048348]
lea rdx, str.ensure_copy_recursive:_could_not_create_destination_directory:__S__rv:__d__err:__d
mov r8, rsi
mov r9d, r13d
call fcn.14000ed50
mov r13d, 7
jmp 0x14000b50d
lea rcx, [0x140048558]
call fcn.140014020
cmp dword [0x140048558], 0xffffffff
jne 0x14000b4e3
mov qword [0x140048348], 0
lea rcx, [0x14000ac50]
call fcn.1400141d8
lea rcx, [0x140048558]
call fcn.140014088
jmp 0x14000b4e3
lea rcx, [0x140048558]
call fcn.140014020
cmp dword [0x140048558], 0xffffffff
jne 0x14000b6d0
mov qword [0x140048348], 0
lea rcx, [0x14000ac50]
call fcn.1400141d8
lea rcx, [0x140048558]
call fcn.140014088
jmp 0x14000b6d0
lea rcx, [0x140048558]
call fcn.140014020
cmp dword [0x140048558], 0xffffffff
jne 0x14000b723
mov qword [0x140048348], 0
lea rcx, [0x14000ac50]
call fcn.1400141d8
lea rcx, [0x140048558]
call fcn.140014088
jmp 0x14000b723
lea rcx, [0x140048558]
call fcn.140014020
cmp dword [0x140048558], 0xffffffff
jne 0x14000b76c
mov qword [0x140048348], 0
lea rcx, [0x14000ac50]
call fcn.1400141d8
lea rcx, [0x140048558]
call fcn.140014088
jmp 0x14000b76c