Function at 0x1400e9d60
Capabilities:
Copy file

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x1402be5c8]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov rdi, rcx
xor r8d, r8d
mov edx, 0x104
lea rcx, [rbp + 0x20]
call fcn.140023b20
nop
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
xor ecx, ecx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
xor r15d, r15d
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r15w
lea r8d, [r15 + 0x11]
lea rdx, str.AMDInstallUEP.exe
lea rcx, [rsp + 0x70]
call fcn.140018360
nop
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 8
cmovae rdx, qword [rbp + 0x20]
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r15w
mov r8, qword [rbp + 0x30]
lea rcx, [rsp + 0x50]
call fcn.140018360
nop
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x50]
call fcn.1400840e0
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140018e70
nop
lea rdx, [rsp + 0x70]
lea rcx, [rbp - 0x20]
call fcn.140057210
mov rdx, rax
lea rcx, [rbp - 0x40]
call fcn.140018e70
nop
lea rcx, [rbp - 0x20]
call fcn.1400272a0
nop
mov qword [rbp], r15
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], r15
lea r14, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae r14, qword [rbp - 0x40]
mov rsi, qword [rbp - 0x30]
cmp rsi, 8
jae 0x1400e9e9c
movups xmm0, xmmword [r14]
movups xmmword [rbp], xmm0
mov qword [rbp + 0x18], 7
jmp 0x1400e9edc
mov rbx, rsi
or rbx, 7
movabs rax, 0x7ffffffffffffffe
cmp rbx, rax
cmova rbx, rax
lea rdx, [rbx + 1]
lea rcx, [rbp]
call fcn.140023c30
mov qword [rbp], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.1401cf850
mov qword [rbp + 0x18], rbx
mov qword [rbp + 0x10], rsi
lea rcx, [rbp - 0x40]
call fcn.1400272a0
nop
lea rcx, [rbp - 0x68]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x50]
call fcn.1400272a0
nop
lea rcx, [rsp + 0x70]
call fcn.1400272a0
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400e9f16
mov rdx, qword [rdi]
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x40]
call fcn.140018360
nop
lea rdx, [rbp - 0x20]
lea rcx, [rbp - 0x40]
call fcn.1400840e0
mov rbx, rax
mov qword [rsp + 0x40], r15
lea rsi, [0x1402bf5e0]
mov qword [rsp + 0x48], rsi
lea rdx, [rsp + 0x40]
mov rcx, rax
call fcn.14006a7c0
cmp dword [rsp + 0x40], 0
jne 0x1400ea346
lea rcx, [rbp - 0x20]
call fcn.1400272a0
nop
lea rcx, [rbp - 0x40]
call fcn.1400272a0
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400e9f92
mov rdx, qword [rdi]
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x40]
call fcn.140018360
nop
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
mov r9d, 0xffffffff
mov r8d, 3
lea rdx, [rbp - 0x20]
call fcn.1401ab2e4
mov edx, eax
test eax, eax
jne 0x1400ea00f
mov ecx, dword [rbp - 0x10]
bt ecx, 0xa
jae 0x1400ea004
mov eax, dword [rbp - 0xc]
cmp eax, 0xa000000c
jne 0x1400e9ff6
lea ecx, [rdx + 4]
jmp 0x1400ea02b
cmp eax, 0xa0000003
jne 0x1400ea004
mov ecx, 0xa
jmp 0x1400ea02b
and ecx, 0x10
or ecx, 0x20
shr ecx, 4
jmp 0x1400ea02b
sub eax, 2
je 0x1400ea026
sub eax, 1
je 0x1400ea026
sub eax, 0x32
je 0x1400ea026
cmp eax, 0x46
mov ecx, r15d
jne 0x1400ea02b
mov ecx, 1
mov dword [rsp + 0x40], edx
mov qword [rsp + 0x48], rsi
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp - 0x20], xmm0
test ecx, ecx
je 0x1400ea320
cmp ecx, 1
setne bl
lea rcx, [rbp - 0x40]
call fcn.1400272a0
test bl, bl
je 0x1400ea0b2
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400ea066
mov rdx, qword [rdi]
mov qword [rbp - 0x40], r15
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x28], 7
mov word [rbp - 0x40], r15w
mov r8, qword [rdi + 0x10]
lea rcx, [rbp - 0x40]
call fcn.140018360
nop
lea rcx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rcx, qword [rbp - 0x40]
xor r8d, r8d
mov dl, 1
call fcn.1401aa988
test eax, eax
jne 0x1400ea35b
lea rcx, [rbp - 0x40]
call fcn.1400272a0
mov rdx, rdi
cmp qword [rdi + 0x18], 8
jb 0x1400ea0bf
mov rdx, qword [rdi]
lea rcx, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rcx, qword [rbp]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x1400ea2b2
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
xor r8d, r8d
mov edx, 0x3ff
lea rcx, [rbp - 0x40]
call fcn.140023b20
nop
mov qword [rbp - 0x48], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, ebx
xor edx, edx
mov ecx, 0x13ff
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov r8d, eax
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x10], r15
mov qword [rbp - 8], 7
mov rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x20]
call fcn.140018360
mov rcx, qword [rbp - 0x48]
call qword [sym.imp.KERNEL32.dll_LocalFree]
lea r8, [rbp - 0x20]
cmp qword [rbp - 8], 8
cmovae r8, qword [rbp - 0x20]
cmp qword [rdi + 0x18], 8
jb 0x1400ea164
mov rdi, qword [rdi]
lea rax, [rbp]
cmp qword [rbp + 0x18], 8
cmovae rax, qword [rbp]
lea rcx, [rbp - 0x40]
mov rdx, qword [rbp - 0x28]
cmp rdx, 8
cmovae rcx, qword [rbp - 0x40]
mov qword [rsp + 0x38], r8
mov dword [rsp + 0x30], ebx
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rax
lea r9, str.Unable_to_copy_file_from__s_to__s._Error_code:__d__s
mov r8, 0xffffffffffffffff
call fcn.14009d740
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x1400ea1e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400ea1e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400ea32b
call fcn.1401a9460
lea rbx, [rbp - 0x40]
cmp qword [rbp - 0x28], 8
cmovae rbx, qword [rbp - 0x40]
mov dword [rbp - 0x48], r15d
lea rax, [rbp - 0x48]
mov qword [rbp - 0x20], rax
lea rax, [rbp - 0x44]
mov qword [rbp - 0x18], rax
lea rax, [rsp + 0x70]
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x70], r15
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov r8d, 0x12
lea rdx, str.copyInstallUEPFile
lea rcx, [rsp + 0x70]
call fcn.140018360
nop
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x60], r15
mov qword [rsp + 0x68], 7
mov r8d, 0x77
lea rdx, str.c:constructicon_buildsgfx_six23.19installNeomaInstallNeomaIN_Apps_srcCoreInstallManAnalyticsDataCollector.cpp
lea rcx, [rsp + 0x50]
call fcn.140018360
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x20], xmm0
mov qword [rsp + 0x28], rbx
mov dword [rsp + 0x20], 3
lea r9, [rbp - 0x20]
mov r8d, 0x175
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.1400b0fe0
nop
mov r8, qword [rbp - 0x28]
cmp r8, 8
jb 0x1400ea2b2
inc r8
mov rdx, qword [rbp - 0x40]
lea rcx, [rbp - 0x40]
call fcn.140023c60
nop
mov r8, qword [rbp + 0x18]
cmp r8, 8
jb 0x1400ea2cc
inc r8
mov rdx, qword [rbp]
lea rcx, [rbp]
call fcn.140023c60
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], 7
mov word [rbp], r15w
mov r8, qword [rbp + 0x38]
cmp r8, 8
jb 0x1400ea2f7
inc r8
mov rdx, qword [rbp + 0x20]
lea rcx, [rbp + 0x20]
call fcn.140023c60
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1401a9440
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
xor bl, bl
test edx, edx
jne 0x1400ea331
jmp 0x1400ea04c
call fcn.1401e37cc
nop
lea r8, [rbp - 0x40]
lea rdx, [rbp - 0x20]
lea rcx, str.exists
call fcn.140067eb0
nop
mov r8, rbx
lea rdx, [rsp + 0x40]
lea rcx, str.create_directories
call fcn.140067eb0
nop
lea r8, [rbp - 0x40]
mov edx, eax
lea rcx, str.permissions
call fcn.140067fe0
int3