Function at 0x14000b3b0
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.14001c048
test eax, eax
je 0x14000b464
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 0x14000b6cb
call fcn.14001b914
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.14000ec80
mov r13d, 6
mov rcx, qword [rsp + 0x490]
xor rcx, rsp
call fcn.140023e80
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 0x14000b5c1
mov rcx, rbp
call fcn.14001f4fc
mov r13d, eax
test eax, eax
jns 0x14000b496
call fcn.14001b914
cmp dword [rax], 0x11
jne 0x14000b677
mov rcx, rsi
call fcn.14000fed0
test rax, rax
je 0x14000b62e
mov rdi, rax
mov rcx, rax
call fcn.14000ff70
test rax, rax
je 0x14000b5b4
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 0x14000b504
mov rcx, rdi
call fcn.14000ff70
mov r12, rax
test rax, rax
je 0x14000b5b4
mov rcx, r12
mov rdx, rbp
call fcn.140021f34
test eax, eax
je 0x14000b4f0
mov rcx, r12
lea rdx, [0x14003d9ec]
call fcn.140021f34
test eax, eax
je 0x14000b4f0
mov qword [rsp + 0x20], r12
mov edx, 0x104
mov rcx, r14
lea r8, str._s__s
mov r9, rsi
call fcn.140004260
mov rcx, rbx
mov rdx, r14
call fcn.14001edb8
test eax, eax
je 0x14000b4f0
mov rcx, r15
mov rdx, r14
call fcn.14001edb8
test eax, eax
je 0x14000b4f0
mov rcx, qword [rsp + 0x38]
mov rdx, r14
call fcn.14001edb8
test eax, eax
je 0x14000b4f0
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.140004260
mov rcx, r14
mov rdx, r12
mov r8, rbx
call fcn.14000b3b0
xor r13d, r13d
test eax, eax
je 0x14000b4f0
mov r13d, eax
mov rcx, rdi
call fcn.14000ff40
jmp 0x14000b43d
xor r13d, r13d
mov rcx, rsi
mov rdx, rbp
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000b43d
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 0x14000b70c
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.14000ec80
mov r13d, 0x3d
jmp 0x14000b43d
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 0x14000b74d
call fcn.14001b914
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 0x14000b432
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 0x14000b78e
call fcn.14001b914
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.14000ec80
mov r13d, 7
jmp 0x14000b43d
lea rcx, [0x140048558]
call fcn.140013ec0
cmp dword [0x140048558], 0xffffffff
jne 0x14000b413
mov qword [0x140048348], 0
lea rcx, [0x14000ab80]
call fcn.140014078
lea rcx, [0x140048558]
call fcn.140013f28
jmp 0x14000b413
lea rcx, [0x140048558]
call fcn.140013ec0
cmp dword [0x140048558], 0xffffffff
jne 0x14000b600
mov qword [0x140048348], 0
lea rcx, [0x14000ab80]
call fcn.140014078
lea rcx, [0x140048558]
call fcn.140013f28
jmp 0x14000b600
lea rcx, [0x140048558]
call fcn.140013ec0
cmp dword [0x140048558], 0xffffffff
jne 0x14000b653
mov qword [0x140048348], 0
lea rcx, [0x14000ab80]
call fcn.140014078
lea rcx, [0x140048558]
call fcn.140013f28
jmp 0x14000b653
lea rcx, [0x140048558]
call fcn.140013ec0
cmp dword [0x140048558], 0xffffffff
jne 0x14000b69c
mov qword [0x140048348], 0
lea rcx, [0x14000ab80]
call fcn.140014078
lea rcx, [0x140048558]
call fcn.140013f28
jmp 0x14000b69c