Function at 0x14000b070
Capabilities:
Copy file
Create directory

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x4a8
mov r14, r8
mov rbx, rdx
mov rsi, rcx
mov r12, qword [0x14003da78]
mov rax, qword [r12]
xor rax, rsp
mov qword [rsp + 0x4a0], rax
lea rdx, [rsp + 0x50]
call fcn.1400187b0
test eax, eax
je 0x14000b119
mov edi, eax
movzx eax, byte [0x14005b818]
test al, al
je 0x14000b389
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x14005c900]
lea rdx, str.ensure_copy_recursive:_path_doesnt_exist:__S__rv:__d__err:__d
mov r8, rsi
mov r9d, edi
call fcn.140016400
mov edi, 6
mov rax, qword [rsp + 0x4a0]
xor rax, rsp
mov rcx, qword [r12]
cmp rcx, rax
jne 0x14000b384
mov eax, edi
add rsp, 0x4a8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
movzx eax, word [rsp + 0x56]
and eax, 0xf000
cmp eax, 0x4000
jne 0x14000b2c3
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_filesystem_l1_1_0.dll__wmkdir]
mov edi, eax
test eax, eax
jns 0x14000b14c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
cmp dword [rax], 0x11
jne 0x14000b346
mov rcx, rsi
call fcn.140017050
test rax, rax
je 0x14000b318
mov r15, rax
mov rcx, rax
call fcn.1400170f0
test rax, rax
je 0x14000b2af
mov r13, rax
mov qword [rsp + 0x30], rbx
lea r12, [r14 + 0x208]
lea rax, [r14 + 0x410]
mov qword [rsp + 0x48], rax
lea rax, [r14 + 0x618]
mov qword [rsp + 0x40], rax
lea rax, [r14 + 0x820]
mov qword [rsp + 0x38], rax
lea rbp, [0x14003dc6e]
lea rbx, [rsp + 0x290]
jmp 0x14000b1d4
mov rcx, r15
call fcn.1400170f0
mov r13, rax
test rax, rax
je 0x14000b2af
mov rcx, r13
mov rdx, rbp
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x14000b1c0
mov rcx, r13
lea rdx, [0x14003e1ca]
call sub.api_ms_win_crt_string_l1_1_0.dll_wcscmp
test eax, eax
je 0x14000b1c0
mov qword [rsp + 0x20], r13
mov edx, 0x104
mov rcx, rbx
lea r8, str._s__s
mov r9, rsi
call fcn.140004fe0
mov rcx, r14
mov rdx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
je 0x14000b1c0
mov rcx, r12
mov rdx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
je 0x14000b1c0
mov rcx, qword [rsp + 0x48]
mov rdx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
je 0x14000b1c0
mov rcx, qword [rsp + 0x40]
mov rdx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
je 0x14000b1c0
mov rcx, qword [rsp + 0x38]
mov rdx, rbx
call sub.api_ms_win_crt_string_l1_1_0.dll__wcsicmp
test eax, eax
je 0x14000b1c0
mov qword [rsp + 0x20], r13
mov edx, 0x104
lea rdi, [rsp + 0x80]
mov rcx, rdi
lea r8, str._s__s
mov r9, qword [rsp + 0x30]
call fcn.140004fe0
mov rcx, rbx
mov rdx, rdi
mov r8, r14
call fcn.14000b070
xor edi, edi
test eax, eax
je 0x14000b1c0
mov edi, eax
mov rcx, r15
call fcn.1400170c0
mov r12, qword [0x14003da78]
jmp 0x14000b0eb
xor edi, edi
mov rcx, rsi
mov rdx, rbx
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x14000b0eb
movzx eax, byte [0x14005b818]
test al, al
je 0x14000b3d3
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x20], eax
lea rcx, [0x14005c900]
lea rdx, str.ensure_copy:_failed_to_copy_the_file__S_over_to__S__lasterr:__lx
mov r8, rsi
mov r9, rbx
call fcn.140016400
mov edi, 0x3d
jmp 0x14000b0eb
movzx eax, byte [0x14005b818]
test al, al
je 0x14000b41d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x14005c900]
lea rdx, str.ensure_copy_recursive:_path_is_not_a_directory:__S__rv:__d__err:__d
jmp 0x14000b0db
movzx eax, byte [0x14005b818]
test al, al
je 0x14000b467
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov eax, dword [rax]
mov dword [rsp + 0x20], eax
lea rcx, [0x14005c900]
lea rdx, str.ensure_copy_recursive:_could_not_create_destination_directory:__S__rv:__d__err:__d
mov r8, rsi
mov r9d, edi
call fcn.140016400
mov edi, 7
jmp 0x14000b0eb
call fcn.140018700
lea rcx, [0x14005b818]
call fcn.1400174a0
test eax, eax
je 0x14000b0c1
lea rbx, [0x14005c900]
mov rcx, rbx
call fcn.140016350
lea rcx, [0x14000ad20]
lea r8, [0x14005b770]
mov rdx, rbx
call fcn.1400182f0
lea rcx, [0x14005b818]
call fcn.14001757b
jmp 0x14000b0c1
lea rcx, [0x14005b818]
call fcn.1400174a0
test eax, eax
je 0x14000b2eb
lea rdi, [0x14005c900]
mov rcx, rdi
call fcn.140016350
lea rcx, [0x14000ad20]
lea r8, [0x14005b770]
mov rdx, rdi
call fcn.1400182f0
lea rcx, [0x14005b818]
call fcn.14001757b
jmp 0x14000b2eb
lea rcx, [0x14005b818]
call fcn.1400174a0
test eax, eax
je 0x14000b327
lea rbx, [0x14005c900]
mov rcx, rbx
call fcn.140016350
lea rcx, [0x14000ad20]
lea r8, [0x14005b770]
mov rdx, rbx
call fcn.1400182f0
lea rcx, [0x14005b818]
call fcn.14001757b
jmp 0x14000b327
lea rcx, [0x14005b818]
call fcn.1400174a0
test eax, eax
je 0x14000b355
lea rbx, [0x14005c900]
mov rcx, rbx
call fcn.140016350
lea rcx, [0x14000ad20]
lea r8, [0x14005b770]
mov rdx, rbx
call fcn.1400182f0
lea rcx, [0x14005b818]
call fcn.14001757b
jmp 0x14000b355