Function at 0x14007d4c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x5a0]
sub rsp, 0x6a0
mov rdi, rcx
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
xor ebx, ebx
mov dword [rsp + 0x50], ebx
mov dword [rsp + 0x54], 0x104
mov word [rsp + 0x58], bx
lea rcx, [0x1401b7690]
mov qword [rsp + 0x40], rcx
lea rax, [rbp + 0x398]
mov qword [rbp + 0x388], rax
mov dword [rbp + 0x390], ebx
mov dword [rbp + 0x394], 0x104
mov word [rbp + 0x398], bx
mov qword [rbp + 0x380], rcx
lea rax, [rbp + 0x178]
mov qword [rbp + 0x168], rax
mov dword [rbp + 0x170], ebx
mov dword [rbp + 0x174], 0x104
mov word [rbp + 0x178], bx
mov qword [rbp + 0x160], rcx
xor sil, sil
lea r8, str.Create_desktop_shortcut
lea rdx, str.Install
lea rcx, [0x140229810]
call fcn.140092000
mov r8, qword [rdi + 0xa8]
mov ecx, dword [r8 + 8]
lea eax, [rcx - 3]
test eax, 0xfffffff5
jne 0x14007d5e3
cmp ecx, 5
je 0x14007d5e3
add r8, 0x29c
lea rdx, str._s_terminal.ico
lea rcx, [rbp + 0x160]
call fcn.1400038c0
mov rcx, qword [rbp + 0x168]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x14007d5e3
mov dword [rbp + 0x170], ebx
mov rax, qword [rbp + 0x168]
test rax, rax
je 0x14007d5e3
mov word [rax], bx
mov r8, qword [rdi + 0xa8]
lea r9, [r8 + 0x4a4]
add r8, 0x29c
lea rdx, [0x1401c0df0]
lea rcx, [rbp + 0x380]
call fcn.1400038c0
mov rbx, qword [rbp + 0x168]
mov r14d, dword [rsp + 0x54]
mov r15, qword [rsp + 0x48]
mov rax, qword [rdi + 0xa8]
lea rcx, [rax + 0x94]
mov qword [rbp + 0x5d0], rcx
mov r12, qword [rbp + 0x388]
lea r13, [rax + 0x29c]
test r13, r13
je 0x14007d712
test r12, r12
je 0x14007d712
test r15, r15
je 0x14007d712
test r14d, r14d
je 0x14007d712
test rbx, rbx
je 0x14007d712
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], rcx
mov r9, r12
mov r8, r13
mov edx, 0x19
call fcn.140093720
test eax, eax
jne 0x14007d6c9
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r15
mov rax, qword [rbp + 0x5d0]
mov qword [rsp + 0x20], rax
mov r9, r12
mov r8, r13
mov edx, reloc.WS2_32.dll_recv
call fcn.140093720
test eax, eax
jne 0x14007d6c9
xor ecx, ecx
mov eax, ecx
jmp 0x14007d6d0
mov eax, 1
xor ecx, ecx
test eax, eax
je 0x14007d70b
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14007d6f5
mov edx, dword [rsp + 0x54]
mov rcx, rax
call fcn.14003c814
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x48]
jmp 0x14007d6f9
mov dword [rsp + 0x50], ecx
lea rcx, [rdi + 0x8f0]
mov rdx, rax
call fcn.14001ce50
movzx esi, al
mov rbx, qword [rbp + 0x168]
mov rax, qword [rdi + 0xa8]
mov ecx, dword [rax + 8]
sub ecx, 3
test ecx, 0xfffffff7
jne 0x14007d88f
xor eax, eax
mov dword [rbp + 0x170], eax
test rbx, rbx
je 0x14007d73b
mov word [rbx], ax
mov r8, qword [rdi + 0xa8]
lea rax, [0x1401c5804]
lea r9, [0x1401b76c0]
cmp dword [r8 + 4], 2
cmove r9, rax
add r8, 0x29c
lea rdx, str._smetaeditor_s.exe
lea rcx, [rbp + 0x380]
call fcn.1400038c0
mov rcx, qword [rbp + 0x388]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x14007d88f
mov rbx, qword [rbp + 0x168]
mov r14d, dword [rsp + 0x54]
mov r15, qword [rsp + 0x48]
mov rax, qword [rdi + 0xa8]
lea rcx, str.MetaEditor_4
lea r13, str.MetaEditor_5
cmp dword [rax + 8], 0xb
cmove r13, rcx
mov r12, qword [rbp + 0x388]
add rax, 0x29c
mov qword [rbp + 0x5d0], rax
je 0x14007d88f
test r12, r12
je 0x14007d88f
test r15, r15
je 0x14007d88f
test r14d, r14d
je 0x14007d88f
test rbx, rbx
je 0x14007d88f
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r13
mov r9, r12
mov r8, rax
mov edx, 0x19
call fcn.140093720
test eax, eax
jne 0x14007d84d
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], r14d
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r13
mov r9, r12
mov r8, qword [rbp + 0x5d0]
lea edx, [rax + 0x10]
call fcn.140093720
test eax, eax
jne 0x14007d84d
xor ecx, ecx
mov eax, ecx
jmp 0x14007d854
mov eax, 1
xor ecx, ecx
test eax, eax
je 0x14007d88f
mov rax, qword [rsp + 0x48]
test rax, rax
je 0x14007d879
mov edx, dword [rsp + 0x54]
mov rcx, rax
call fcn.14003c814
mov dword [rsp + 0x50], eax
mov rax, qword [rsp + 0x48]
jmp 0x14007d87d
mov dword [rsp + 0x50], ecx
lea rcx, [rdi + 0x8f0]
mov rdx, rax
call fcn.14001ce50
movzx esi, al
lea rax, str.done
lea r9, str.failed
test sil, sil
cmovne r9, rax
lea r8, str.Create_desktop_shortcut__s
lea rdx, str.Install
lea rcx, [0x140229810]
call fcn.140092000
nop
movzx eax, sil
lea r11, [rsp + 0x6a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret