Function at 0x140026400
Capabilities:
Copy file

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x90
mov qword [rbp + 0x17], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400cfdf0]
xor rax, rsp
mov qword [rbp + 0x3f], rax
mov r14, rcx
call fcn.14002b500
test eax, eax
jne 0x140026495
lea rdx, [rbp - 0x19]
mov rcx, r14
call fcn.14002ae40
nop
mov rdx, rax
mov rcx, r14
call fcn.14002bf30
nop
mov r14, qword [rbp - 0x19]
mov esi, 0xffffffff
lock xadd dword [r14 - 8], esi
sub esi, 1
jg 0x14002648b
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
mov eax, 2
jmp 0x14002668b
lea rdx, str.Intel_R__Graphics_Control_Panel
xor ecx, ecx
call qword [sym.imp.USER32.dll_FindWindowW]
test rax, rax
je 0x1400264b3
mov eax, 1
jmp 0x14002668b
mov qword [rbp + 0x37], rax
lea rdx, [rbp + 0x37]
mov rcx, r14
call fcn.140029cd0
nop
mov qword [rbp + 0x2f], 0
lea r8, [0x1400992e0]
mov rdx, qword [rbp + 0x37]
lea rcx, [rbp + 0x2f]
call fcn.140068b14
mov esi, 0xffffffff
mov rcx, qword [rbp + 0x2f]
test rcx, rcx
je 0x14002665d
call fcn.140068f88
lea rdx, [rbp - 0x11]
mov rcx, r14
call fcn.14002a7f0
nop
mov rdx, rax
mov rcx, r14
call fcn.14002bf30
nop
mov r15, qword [rbp - 0x11]
mov eax, esi
lock xadd dword [r15 - 8], eax
sub eax, 1
jg 0x14002653e
mov rdi, qword [r15 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r15 - 0x18]
mov rcx, rdi
call rbx
lea rax, [rbp - 0x29]
mov qword [rbp + 0x1f], rax
xor eax, eax
mov qword [rbp - 0x29], rax
mov rcx, qword [0x1400d3828]
add rcx, 0xffffffffffffffe8
call fcn.14001e050
add rax, 0x18
mov qword [rbp - 0x21], rax
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x29]
call fcn.14004bfd0
nop
lea rdx, [rbp - 9]
mov rcx, r14
call fcn.14002b020
nop
lea r8, [rbp - 0x29]
mov rdx, rax
mov rcx, r14
call fcn.1400266c0
lea rdx, [rbp + 7]
mov rcx, r14
call fcn.140029960
mov rbx, rax
lea rdx, [rbp - 1]
mov rcx, r14
call fcn.14002ad70
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_CopyFileW]
mov r15, qword [rbp - 1]
mov eax, esi
lock xadd dword [r15 - 8], eax
sub eax, 1
jg 0x1400265e7
mov rdi, qword [r15 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r15 - 0x18]
mov rcx, rdi
call rbx
nop
mov r15, qword [rbp + 7]
mov eax, esi
lock xadd dword [r15 - 8], eax
sub eax, 1
jg 0x140026615
mov rdi, qword [r15 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r15 - 0x18]
mov rcx, rdi
call rbx
lea rdx, [rbp + 0xf]
mov rcx, r14
call fcn.14002ae40
nop
mov rdx, rax
mov rcx, r14
call fcn.14002bf30
nop
mov r14, qword [rbp + 0xf]
mov eax, esi
lock xadd dword [r14 - 8], eax
sub eax, 1
jg 0x14002665d
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
nop
mov r14, qword [rbp + 0x37]
lock xadd dword [r14 - 8], esi
sub esi, 1
jg 0x140026689
mov rdi, qword [r14 - 0x18]
mov rax, qword [rdi]
mov rbx, qword [rax + 8]
mov rcx, rbx
call qword [fcn.14000dba0]
lea rdx, [r14 - 0x18]
mov rcx, rdi
call rbx
xor eax, eax
mov rcx, qword [rbp + 0x3f]
xor rcx, rsp
call fcn.14004e4a0
lea r11, [rsp + 0x90]
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