Function at 0x14004bf68
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x78]
sub rsp, 0x150
mov qword [rbp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x20], rsi
mov r14, rdx
mov rdi, rcx
lea rsi, [0x14012da68]
mov rcx, rsi
xor ebx, ebx
cmp qword [rdx + 8], rbx
cmovne rcx, qword [rdx + 8]
call qword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
mov r15d, eax
cmp eax, 0xffffffff
je 0x14004c489
and r15d, 1
lea r13, vtable.mc::MyConfirmOverwriteDialog.0
and eax, 6
jne 0x14004bfdd
test r15d, r15d
jne 0x14004c242
jmp 0x14004c487
cmp dword [rdi + 0x138], 0x3e9
jne 0x14004c21f
mov r8, qword [rdi + 0x58]
mov edx, 0x7dcb
lea rcx, [rsp + 0x40]
call fcn.140037888
mov qword [rsp + 0x40], r13
lea rax, vtable.micro::utils::QString.0
mov qword [rbp - 0x68], rax
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rbx
mov rdx, r14
lea rcx, [rbp - 0x68]
call fcn.1400e7b9c
or r8d, 0xffffffff
lea rdx, str.is_hidden_or_system__overwrite_anyway_
lea rcx, [rsp + 0x30]
call fcn.1400e6fc8
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp - 0x58]
call fcn.1400e7b9c
nop
lea r13, vtable.micro::utils::QString.0
mov qword [rsp + 0x30], r13
lea rcx, [rsp + 0x30]
call fcn.1400e712c
movzx eax, word [rsp + 0x58]
mov qword [rbp + 0x90], rax
mov r13, qword [rsp + 0x50]
test r13, r13
je 0x14004c07f
mov r13, qword [r13 + 8]
jmp 0x14004c082
mov r13, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov rcx, rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1400ecad8]
mov r8, r13
mov rdx, qword [rbp + 0x90]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
sub rax, 2
je 0x14004c1e6
sub rax, 0x419
je 0x14004c1c1
dec rax
je 0x14004c192
sub rax, 0x52
je 0x14004c11c
cmp rax, 2
jne 0x14004c0e3
mov dword [rdi + 0x138], 0x3eb
lea r13, vtable.micro::utils::QString.0
mov qword [rbp - 0x58], r13
lea rcx, [rbp - 0x58]
call fcn.1400e712c
nop
mov qword [rbp - 0x68], r13
lea rcx, [rbp - 0x68]
call fcn.1400e712c
nop
lea rcx, [rsp + 0x40]
call fcn.140037948
lea r13, vtable.mc::MyConfirmOverwriteDialog.0
jmp 0x14004c21f
cmp qword [r14 + 8], rbx
cmovne rsi, qword [r14 + 8]
mov edx, 0x80
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
nop
test eax, eax
jne 0x14004c160
lea rdi, vtable.micro::utils::QString.0
mov qword [rbp - 0x58], rdi
lea rcx, [rbp - 0x58]
call fcn.1400e712c
nop
mov qword [rbp - 0x68], rdi
lea rcx, [rbp - 0x68]
call fcn.1400e712c
nop
jmp 0x14004c210
lea rbx, vtable.micro::utils::QString.0
mov qword [rbp - 0x58], rbx
lea rcx, [rbp - 0x58]
call fcn.1400e712c
nop
mov qword [rbp - 0x68], rbx
lea rcx, [rbp - 0x68]
call fcn.1400e712c
nop
lea rcx, [rsp + 0x40]
call fcn.140037948
jmp 0x14004c487
mov dword [rdi + 0x138], 0x3ea
lea rdi, vtable.micro::utils::QString.0
mov qword [rbp - 0x58], rdi
lea rcx, [rbp - 0x58]
call fcn.1400e712c
nop
mov qword [rbp - 0x68], rdi
lea rcx, [rbp - 0x68]
call fcn.1400e712c
nop
jmp 0x14004c210
lea rdi, vtable.micro::utils::QString.0
mov qword [rbp - 0x58], rdi
lea rcx, [rbp - 0x58]
call fcn.1400e712c
nop
mov qword [rbp - 0x68], rdi
lea rcx, [rbp - 0x68]
call fcn.1400e712c
nop
jmp 0x14004c210
mov byte [rdi + 0x142], 1
lea rdi, vtable.micro::utils::QString.0
mov qword [rbp - 0x58], rdi
lea rcx, [rbp - 0x58]
call fcn.1400e712c
nop
mov qword [rbp - 0x68], rdi
lea rcx, [rbp - 0x68]
call fcn.1400e712c
nop
lea rcx, [rsp + 0x40]
call fcn.140037948
jmp 0x14004c489
mov ecx, dword [rdi + 0x138]
sub ecx, 0x3ea
je 0x14004c489
dec ecx
je 0x14004c46c
test r15d, r15d
je 0x14004c489
cmp dword [rdi + 0x134], 0x3e9
jne 0x14004c45a
mov r8, qword [rdi + 0x58]
mov edx, 0x7dcb
lea rcx, [rbp - 0x40]
call fcn.140037888
mov qword [rbp - 0x40], r13
lea r15, vtable.micro::utils::QString.0
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], r15
mov qword [rbp + 0x30], rbx
mov rdx, r14
lea rcx, [rbp + 0x18]
call fcn.1400e7b9c
or r8d, 0xffffffff
lea rdx, str.is_readonly__overwrite_anyway_
lea rcx, [rsp + 0x30]
call fcn.1400e6fc8
nop
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x28]
call fcn.1400e7b9c
nop
mov qword [rsp + 0x30], r15
lea rcx, [rsp + 0x30]
call fcn.1400e712c
movzx r13d, word [rbp - 0x28]
mov r15, qword [rbp - 0x30]
test r15, r15
je 0x14004c2d3
mov r15, qword [r15 + 8]
jmp 0x14004c2d6
mov r15, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.DLL_GetModuleHandleW]
mov rcx, rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x20], rax
lea r9, [0x1400ecad8]
mov r8, r15
mov rdx, r13
call qword [sym.imp.USER32.dll_DialogBoxParamW]
sub rax, 2
je 0x14004c427
sub rax, 0x419
je 0x14004c402
dec rax
je 0x14004c3d3
sub rax, 0x52
je 0x14004c363
cmp rax, 2
jne 0x14004c332
mov dword [rdi + 0x134], 0x3eb
lea r13, vtable.micro::utils::QString.0
mov qword [rbp + 0x28], r13
lea rcx, [rbp + 0x28]
call fcn.1400e712c
nop
mov qword [rbp + 0x18], r13
lea rcx, [rbp + 0x18]
call fcn.1400e712c
nop
lea rcx, [rbp - 0x40]
call fcn.140037948
jmp 0x14004c45a
cmp qword [r14 + 8], rbx
cmovne rsi, qword [r14 + 8]
mov edx, 0x80
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
nop
test eax, eax
jne 0x14004c3a7
lea rdi, vtable.micro::utils::QString.0
mov qword [rbp + 0x28], rdi
lea rcx, [rbp + 0x28]
call fcn.1400e712c
nop
mov qword [rbp + 0x18], rdi
lea rcx, [rbp + 0x18]
call fcn.1400e712c
nop
jmp 0x14004c451
lea rbx, vtable.micro::utils::QString.0
mov qword [rbp + 0x28], rbx
lea rcx, [rbp + 0x28]
call fcn.1400e712c
nop
mov qword [rbp + 0x18], rbx
lea rcx, [rbp + 0x18]
call fcn.1400e712c
nop
lea rcx, [rbp - 0x40]
jmp 0x14004c188
mov dword [rdi + 0x134], 0x3ea
lea rdi, vtable.micro::utils::QString.0
mov qword [rbp + 0x28], rdi
lea rcx, [rbp + 0x28]
call fcn.1400e712c
nop
mov qword [rbp + 0x18], rdi
lea rcx, [rbp + 0x18]
call fcn.1400e712c
nop
jmp 0x14004c451
lea rdi, vtable.micro::utils::QString.0
mov qword [rbp + 0x28], rdi
lea rcx, [rbp + 0x28]
call fcn.1400e712c
nop
mov qword [rbp + 0x18], rdi
lea rcx, [rbp + 0x18]
call fcn.1400e712c
nop
jmp 0x14004c451
mov byte [rdi + 0x142], 1
lea rdi, vtable.micro::utils::QString.0
mov qword [rbp + 0x28], rdi
lea rcx, [rbp + 0x28]
call fcn.1400e712c
nop
mov qword [rbp + 0x18], rdi
lea rcx, [rbp + 0x18]
call fcn.1400e712c
nop
lea rcx, [rbp - 0x40]
jmp 0x14004c215
mov ecx, dword [rdi + 0x134]
sub ecx, 0x3ea
je 0x14004c489
dec ecx
jne 0x14004c489
cmp qword [r14 + 8], rbx
cmovne rsi, qword [r14 + 8]
mov edx, 0x80
mov rcx, rsi
call qword [sym.imp.KERNEL32.DLL_SetFileAttributesW]
test eax, eax
je 0x14004c489
mov bl, 1
lea rax, vtable.micro::utils::QString.0
mov qword [r14], rax
mov rcx, r14
call fcn.1400e712c
mov al, bl
lea r11, [rsp + 0x150]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret