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

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x9f8]
sub rsp, 0xae0
xor r15d, r15d
lea rax, [rbp + 0x7d8]
mov edx, 0x104
mov qword [rbp + 0x7c8], rax
mov rbx, rcx
mov dword [rbp + 0x7d4], edx
lea rcx, [0x0048d7e0]
mov dword [rbp + 0x5b4], edx
mov dword [rbp + 0x394], edx
lea rax, [rbp + 0x5b8]
mov qword [rbp + 0x5a8], rax
lea rax, [rbp + 0x398]
mov r9d, dword [rbx + 0x8294]
mov r8, qword [rbx + 0x8288]
mov qword [rbp + 0x388], rax
lea rax, [rbp + 0x178]
mov dword [rbp + 0x174], edx
mov dword [rsp + 0x54], edx
mov rdx, qword [rbx + 0xa8]
mov qword [rbp + 0x168], rax
add rdx, 0x6ac
lea rax, [rsp + 0x58]
mov dword [rbp + 0x7d0], r15d
mov qword [rsp + 0x48], rax
mov word [rbp + 0x7d8], r15w
mov qword [rbp + 0x7c0], rcx
mov dword [rbp + 0x5b0], r15d
mov word [rbp + 0x5b8], r15w
mov qword [rbp + 0x5a0], rcx
mov dword [rbp + 0x390], r15d
mov word [rbp + 0x398], r15w
mov qword [rbp + 0x380], rcx
mov dword [rbp + 0x170], r15d
mov word [rbp + 0x178], r15w
mov qword [rbp + 0x160], rcx
mov dword [rsp + 0x50], r15d
mov word [rsp + 0x58], r15w
mov qword [rsp + 0x40], rcx
call fcn.00461e44
test eax, eax
je 0x46b5af
mov rcx, qword [rbx + 0x8288]
test rcx, rcx
je 0x46b31c
mov edx, dword [rbx + 0x8294]
call fcn.004293f8
jmp 0x46b31f
mov eax, r15d
mov r14d, 1
mov dword [rbx + 0x8290], eax
mov esi, r14d
mov r12d, 0x29c
mov r8d, esi
lea rdx, str.link_name__u
lea rcx, [rbp + 0x160]
call fcn.004012e8
mov rdx, qword [rbp + 0x168]
lea r8, [rsp + 0x40]
mov rcx, qword [rbx + 0xb0]
call fcn.00474ed4
test al, al
je 0x46b5c5
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x46b407
cmp word [str.PROGRAM], r15w
je 0x46b407
lea rdx, str.PROGRAM
mov rcx, rdi
call fcn.00423b70
test rax, rax
je 0x46b402
sub rax, rdi
sar rax, 1
test eax, eax
jne 0x46b402
mov rcx, qword [rbx + 0xb0]
lea r8, [rsp + 0x40]
lea rdx, str.company_program_brief
call fcn.00474ed4
test al, al
je 0x46b5c5
mov rdi, qword [rsp + 0x48]
test rdi, rdi
je 0x46b407
mov ecx, dword [rsp + 0x50]
lea eax, [rcx + 4]
cmp eax, dword [rsp + 0x54]
jae 0x46b407
mov eax, ecx
movabs rcx, 0x6b006e006c002e
mov qword [rdi + rax*2], rcx
mov eax, dword [rsp + 0x50]
add eax, 4
mov dword [rsp + 0x50], eax
mov ecx, eax
mov rax, qword [rsp + 0x48]
mov word [rax + rcx*2], r15w
mov rdi, qword [rsp + 0x48]
mov r8, qword [rbx + 0x8288]
lea rdx, [0x00491de8]
mov r9, rdi
lea rcx, [rbp + 0x7c0]
call fcn.004012e8
mov r8d, esi
lea rdx, str.file_name__u
lea rcx, [rbp + 0x160]
call fcn.004012e8
mov rdx, qword [rbp + 0x168]
lea r8, [rsp + 0x40]
mov rcx, qword [rbx + 0xb0]
call fcn.00474ed4
test al, al
je 0x46b5c5
mov r9, qword [rsp + 0x48]
cmp word [r9], 0x23
jne 0x46b487
mov rcx, qword [rbx + 0xa8]
lea r8, [rsp + 0x40]
mov rdx, r9
call fcn.004696c0
test al, al
je 0x46b5c5
mov r9, qword [rsp + 0x48]
mov r8, qword [rbx + 0xa8]
lea rdx, [0x00491de8]
add r8, r12
lea rcx, [rbp + 0x380]
call fcn.004012e8
mov r8d, esi
lea rdx, str.icon_file__u
lea rcx, [rbp + 0x160]
call fcn.004012e8
mov rdx, qword [rbp + 0x168]
lea r8, [rsp + 0x40]
mov rcx, qword [rbx + 0xb0]
call fcn.00474ed4
test al, al
je 0x46b5c5
mov r9, qword [rsp + 0x48]
cmp word [r9], 0x23
jne 0x46b507
mov rcx, qword [rbx + 0xa8]
lea r8, [rsp + 0x40]
mov rdx, r9
call fcn.004696c0
test al, al
je 0x46b5c5
mov r9, qword [rsp + 0x48]
mov r8, qword [rbx + 0xa8]
lea rdx, [0x00491de8]
add r8, r12
lea rcx, [rbp + 0x5a0]
call fcn.004012e8
mov r8d, esi
lea rdx, str.icon_index__u
lea rcx, [rbp + 0x160]
call fcn.004012e8
mov rdx, qword [rbp + 0x168]
lea r8, [rsp + 0x40]
mov rcx, qword [rbx + 0xb0]
call fcn.00474ed4
test al, al
je 0x46b5c5
mov rcx, qword [rsp + 0x48]
call fcn.00436ec0
mov rcx, qword [rbp + 0x388]
mov edi, eax
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x46b5a1
mov rdx, qword [rbx + 0xa8]
mov rax, qword [rbp + 0x5a8]
add rdx, r12
mov r9, qword [rbp + 0x7c8]
mov r8, qword [rbp + 0x388]
mov dword [rsp + 0x38], edi
mov qword [rsp + 0x30], rax
call fcn.0046165c
add esi, r14d
cmp esi, 0x40
jb 0x46b334
jmp 0x46b5c5
lea rdx, str.Install_Fail_Create_Group
lea rcx, [0x004dbde0]
call fcn.0044c458
mov r14b, r15b
lea r11, [rsp + 0xae0]
mov al, r14b
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret