Function at 0x1400181d0
Capabilities:
Read .ini file

Disassembly:
mov r11, rsp
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x1c0
mov qword [r11 - 0x110], 0xfffffffffffffffe
mov qword [r11 + 0x18], rbx
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rsp + 0x1b8], rax
mov rdi, rdx
mov r15, rcx
mov qword [r11 - 0x108], rdx
xor eax, eax
mov qword [r11 - 0x100], rax
mov qword [r11 - 0xf8], rax
mov qword [r11 - 0xf0], rax
mov qword [r11 - 0xe8], rax
mov qword [r11 - 0xe0], rax
mov qword [r11 - 0xd8], rax
cmp qword [rdx + 0x18], 8
jb 0x140018246
mov rdx, qword [rdx]
mov qword [rsp + 0x100], 7
xor ebx, ebx
mov qword [rsp + 0xf8], rbx
mov word [rsp + 0xe8], bx
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x110], rbx
lea rcx, [rsp + 0xe8]
call fcn.1400076b0
nop
lea rdx, str.MultiInstall
lea rcx, [rsp + 0x138]
call fcn.1400072b0
nop
lea rdx, str.InstallCount
lea rcx, [rsp + 0x118]
call fcn.1400072b0
lea r9, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae r9, qword [rsp + 0xe8]
lea rdx, [rsp + 0x118]
cmp qword [rsp + 0x130], 8
cmovae rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x138]
cmp qword [rsp + 0x150], 8
cmovae rcx, qword [rsp + 0x138]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov r12d, eax
mov r8, qword [rsp + 0x130]
cmp r8, 8
jb 0x14001832b
inc r8
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x118]
call fcn.1400037a0
mov qword [rsp + 0x130], 7
mov qword [rsp + 0x128], rbx
mov word [rsp + 0x118], bx
mov r8, qword [rsp + 0x150]
cmp r8, 8
jb 0x14001836d
inc r8
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x138]
call fcn.1400037a0
test r12d, r12d
jne 0x14001844c
lea r9d, [r12 + 0x30]
lea r8, [0x14028c560]
lea rdx, str.InstallCounts_value_is_empty
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp qword [rsp + 0xf8], 0
je 0x1400183c3
lea r9, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae r9, qword [rsp + 0xe8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov qword [rsp + 0xf8], rbx
lea rax, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rax, qword [rsp + 0xe8]
mov word [rax], bx
mov rcx, qword [rsp + 0x108]
call fcn.14002bcb8
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x110], rbx
lea rcx, [rsp + 0xe8]
call fcn.140007600
nop
cmp qword [rdi + 0x18], 8
jb 0x14001842c
mov r8, qword [rdi + 0x18]
inc r8
mov rdx, qword [rdi]
mov rcx, rdi
call fcn.1400037a0
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 8
jb 0x140018442
mov rdi, qword [rdi]
mov word [rdi], bx
xor al, al
jmp 0x140018e77
lea rdx, str.MultiInstall
lea rcx, [rsp + 0x138]
call fcn.1400072b0
nop
lea rdx, str.PrimaryInstall
lea rcx, [rsp + 0x118]
call fcn.1400072b0
lea r9, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae r9, qword [rsp + 0xe8]
lea rdx, [rsp + 0x118]
cmp qword [rsp + 0x130], 8
cmovae rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x138]
cmp qword [rsp + 0x150], 8
cmovae rcx, qword [rsp + 0x138]
mov r8d, 0xffff
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [r15 + 0x80], eax
mov r8, qword [rsp + 0x130]
cmp r8, 8
jb 0x1400184fc
inc r8
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x118]
call fcn.1400037a0
mov qword [rsp + 0x130], 7
mov qword [rsp + 0x128], rbx
mov word [rsp + 0x118], bx
mov r8, qword [rsp + 0x150]
cmp r8, 8
jb 0x14001853e
inc r8
mov rdx, qword [rsp + 0x138]
lea rcx, [rsp + 0x138]
call fcn.1400037a0
mov eax, dword [r15 + 0x80]
cmp eax, 0xffff
je 0x140018cad
cmp eax, r12d
ja 0x140018cad
mov qword [rsp + 0x1b0], SafeArrayGetDim
mov qword [rsp + 0x1a8], rbx
mov byte [rsp + 0x198], 0
mov rdx, rdi
lea rcx, [rsp + 0x98]
call fcn.1400097e0
nop
mov rdx, rax
lea rcx, [rsp + 0x158]
call fcn.140015a80
nop
mov r8, qword [rsp + 0xb0]
cmp r8, 8
jb 0x1400185bd
inc r8
mov rdx, qword [rsp + 0x98]
lea rcx, [rsp + 0x98]
call fcn.1400037a0
mov qword [rsp + 0xb0], 7
mov qword [rsp + 0xa8], rbx
mov word [rsp + 0x98], bx
mov r14d, 1
nop
cmp r14d, r12d
ja 0x140018c07
mov edx, r14d
lea rcx, [rsp + 0xb8]
call fcn.14001f4e0
nop
mov r8, rax
lea rdx, str.Path
lea rcx, [rsp + 0x138]
call fcn.140016100
nop
mov rax, qword [rsp + 0xd0]
cmp rax, 0x10
jb 0x140018670
inc rax
mov rcx, qword [rsp + 0xb8]
cmp rax, 0x1000
jb 0x14001866b
test cl, 0x1f
je 0x14001863e
call fcn.1401e9ae4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14001864d
call fcn.1401e9ae4
int3
sub rcx, rax
cmp rcx, 8
jae 0x14001865c
call fcn.1401e9ae4
int3
cmp rcx, 0x27
jbe 0x140018668
call fcn.1401e9ae4
int3
mov rcx, rax
call fcn.14002bcb8
mov qword [rsp + 0xd0], SafeArrayGetDim
mov qword [rsp + 0xc8], rbx
mov byte [rsp + 0xb8], 0
lea r8, [rsp + 0x138]
cmp qword [rsp + 0x150], 0x10
cmovae r8, qword [rsp + 0x138]
lea rax, [rsp + 0x198]
mov qword [rsp + 0x20], rax
lea r9, [0x14028bed0]
lea rdx, str.MultiInstall
lea rcx, [rsp + 0xe8]
call fcn.1400077b0
cmp qword [rsp + 0x1a8], 0
je 0x140018ba1
mov r9d, 1
lea rdx, [0x14028cff8]
lea rcx, [rsp + 0x198]
call fcn.140007100
mov rsi, rax
lea rdx, [rsp + 0x198]
lea rcx, [rsp + 0x30]
cmp rax, 0xffffffffffffffff
je 0x140018a37
mov qword [rsp + 0x48], SafeArrayGetDim
mov qword [rsp + 0x40], rbx
mov byte [rsp + 0x30], 0
or r9, 0xffffffffffffffff
xor r8d, r8d
call fcn.140002670
lea r8, [rsi + 1]
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x70]
call fcn.14001b110
nop
cmp qword [rax + 0x18], 0x10
jb 0x14001874e
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140015ca0
nop
cmp qword [rax + 0x18], 0x10
jb 0x140018766
mov rax, qword [rax]
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.1400072b0
nop
mov rax, qword [rsp + 0x68]
cmp rax, 0x10
jb 0x1400187cf
inc rax
mov rcx, qword [rsp + 0x50]
cmp rax, 0x1000
jb 0x1400187ca
test cl, 0x1f
je 0x14001879d
call fcn.1401e9ae4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400187ac
call fcn.1401e9ae4
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400187bb
call fcn.1401e9ae4
int3
cmp rcx, 0x27
jbe 0x1400187c7
call fcn.1401e9ae4
int3
mov rcx, rax
call fcn.14002bcb8
mov qword [rsp + 0x68], SafeArrayGetDim
mov qword [rsp + 0x60], rbx
mov byte [rsp + 0x50], 0
mov rax, qword [rsp + 0x88]
cmp rax, 0x10
jb 0x14001883d
inc rax
mov rcx, qword [rsp + 0x70]
cmp rax, 0x1000
jb 0x140018838
test cl, 0x1f
je 0x14001880b
call fcn.1401e9ae4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14001881a
call fcn.1401e9ae4
int3
sub rcx, rax
cmp rcx, 8
jae 0x140018829
call fcn.1401e9ae4
int3
cmp rcx, 0x27
jbe 0x140018835
call fcn.1401e9ae4
int3
mov rcx, rax
call fcn.14002bcb8
mov qword [rsp + 0x88], SafeArrayGetDim
mov qword [rsp + 0x80], rbx
mov byte [rsp + 0x70], 0
lea r8, [rsp + 0x118]
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x178]
call fcn.14001af30
nop
mov qword [rsp + 0x48], 7
mov qword [rsp + 0x40], rbx
mov word [rsp + 0x30], bx
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rsp + 0x178]
lea rcx, [rsp + 0x30]
call fcn.140003830
lea rdx, [rsp + 0x30]
call fcn.140018ea0
test al, al
jne 0x1400189b1
mov r8, qword [rsp + 0x190]
cmp r8, 8
jb 0x1400188d8
inc r8
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0x178]
call fcn.1400037a0
mov qword [rsp + 0x190], 7
mov qword [rsp + 0x188], rbx
mov word [rsp + 0x178], bx
mov r8, qword [rsp + 0x130]
cmp r8, 8
jb 0x14001891a
inc r8
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x118]
call fcn.1400037a0
mov qword [rsp + 0x130], 7
mov qword [rsp + 0x128], rbx
mov word [rsp + 0x118], bx
lea rcx, [rsp + 0x138]
call fcn.1400023f0
nop
mov r8, qword [rsp + 0x170]
cmp r8, 8
jb 0x14001896a
inc r8
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x158]
call fcn.1400037a0
mov qword [rsp + 0x170], 7
mov qword [rsp + 0x168], rbx
mov word [rsp + 0x158], bx
lea rcx, [rsp + 0x198]
call fcn.1400023f0
nop
lea rcx, [rsp + 0xe8]
call fcn.140007600
nop
mov rcx, rdi
call fcn.140003580
xor al, al
jmp 0x140018e77
lea rcx, [r15 + 0x88]
lea rdx, [rsp + 0x178]
call fcn.14001ae40
nop
mov r8, qword [rsp + 0x190]
cmp r8, 8
jb 0x1400189ec
inc r8
mov rdx, qword [rsp + 0x178]
lea rcx, [rsp + 0x178]
call fcn.1400037a0
mov qword [rsp + 0x190], 7
mov qword [rsp + 0x188], rbx
mov word [rsp + 0x178], bx
mov r8, qword [rsp + 0x130]
cmp r8, 8
jb 0x140018ba1
inc r8
mov rdx, qword [rsp + 0x118]
lea rcx, [rsp + 0x118]
call fcn.1400037a0
jmp 0x140018ba1
cmp qword [rsp + 0x1b0], 0x10
cmovae rdx, qword [rsp + 0x198]
call fcn.1400072b0
nop
mov rdx, rax
lea rcx, [rsp + 0x50]
call fcn.140015a80
nop
mov r8, rax
lea rdx, [rsp + 0x158]
lea rcx, [rsp + 0x70]
call fcn.14001afd0
nop
lea r8, str.AsusSetup.ini
mov rdx, rax
lea rcx, [rsp + 0x118]
call fcn.140016160
mov rdx, rax
mov rcx, r15
call fcn.1400193b0
test al, al
sete sil
mov r8, qword [rsp + 0x88]
cmp r8, 8
jb 0x140018abb
inc r8
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x70]
call fcn.1400037a0
mov qword [rsp + 0x88], 7
mov qword [rsp + 0x80], rbx
mov word [rsp + 0x70], bx
mov r8, qword [rsp + 0x68]
cmp r8, 8
jb 0x140018af1
inc r8
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.1400037a0
mov qword [rsp + 0x68], 7
mov qword [rsp + 0x60], rbx
mov word [rsp + 0x50], bx
mov r8, qword [rsp + 0x48]
cmp r8, 8
jb 0x140018b21
inc r8
mov rdx, qword [rsp + 0x30]
lea rcx, [rsp + 0x30]
call fcn.1400037a0
test sil, sil
je 0x140018ba1
lea rcx, [rsp + 0x138]
call fcn.1400023f0
nop
mov r8, qword [rsp + 0x170]
cmp r8, 8
jb 0x140018b5a
inc r8
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x158]
call fcn.1400037a0
mov qword [rsp + 0x170], 7
mov qword [rsp + 0x168], rbx
mov word [rsp + 0x158], bx
lea rcx, [rsp + 0x198]
call fcn.1400023f0
nop
lea rcx, [rsp + 0xe8]
call fcn.140007600
nop
mov rcx, rdi
call fcn.140003580
xor al, al
jmp 0x140018e77
mov rax, qword [rsp + 0x150]
cmp rax, 0x10
jb 0x140018bff
inc rax
mov rcx, qword [rsp + 0x138]
cmp rax, 0x1000
jb 0x140018bfa
test cl, 0x1f
je 0x140018bcd
call fcn.1401e9ae4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140018bdc
call fcn.1401e9ae4
int3
sub rcx, rax
cmp rcx, 8
jae 0x140018beb
call fcn.1401e9ae4
int3
cmp rcx, 0x27
jbe 0x140018bf7
call fcn.1401e9ae4
int3
mov rcx, rax
call fcn.14002bcb8
inc r14d
jmp 0x1400185e0
mov r8, qword [rsp + 0x170]
cmp r8, 8
jb 0x140018c2d
inc r8
mov rdx, qword [rsp + 0x158]
lea rcx, [rsp + 0x158]
call fcn.1400037a0
mov qword [rsp + 0x170], 7
mov qword [rsp + 0x168], rbx
mov word [rsp + 0x158], bx
mov rax, qword [rsp + 0x1b0]
cmp rax, 0x10
jb 0x140018ca8
inc rax
mov rcx, qword [rsp + 0x198]
cmp rax, 0x1000
jb 0x140018ca2
test cl, 0x1f
je 0x140018c75
call fcn.1401e9ae4
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x140018c84
call fcn.1401e9ae4
int3
sub rcx, rax
cmp rcx, 8
jae 0x140018c93
call fcn.1401e9ae4
int3
cmp rcx, 0x27
jbe 0x140018c9f
call fcn.1401e9ae4
int3
mov rcx, rax
call fcn.14002bcb8
nop
jmp 0x140018d8e
mov r9d, reloc.OLEAUT32.dll_SafeArrayGetDim
lea r8, [0x14028c560]
lea rdx, str.Invalid_PrimaryInstall
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
cmp qword [rsp + 0xf8], 0
je 0x140018cfb
lea r9, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae r9, qword [rsp + 0xe8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov qword [rsp + 0xf8], rbx
lea rax, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rax, qword [rsp + 0xe8]
mov word [rax], bx
mov rcx, qword [rsp + 0x108]
call fcn.14002bcb8
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x110], rbx
lea rcx, [rsp + 0xe8]
call fcn.140007600
nop
cmp qword [rdi + 0x18], 8
jb 0x140018d64
mov r8, qword [rdi + 0x18]
inc r8
mov rdx, qword [rdi]
mov rcx, rdi
call fcn.1400037a0
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 8
jb 0x140018d7a
mov rdi, qword [rdi]
mov word [rdi], bx
xor al, al
jmp 0x140018e77
cmp qword [rsp + 0xf8], 0
je 0x140018dc0
lea r9, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae r9, qword [rsp + 0xe8]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov qword [rsp + 0xf8], rbx
lea rax, [rsp + 0xe8]
cmp qword [rsp + 0x100], 8
cmovae rax, qword [rsp + 0xe8]
mov word [rax], bx
mov rcx, qword [rsp + 0x108]
call fcn.14002bcb8
mov qword [rsp + 0x108], rbx
mov qword [rsp + 0x110], rbx
mov r8, qword [rsp + 0x100]
cmp r8, 8
jb 0x140018e28
inc r8
mov rdx, qword [rsp + 0xe8]
lea rcx, [rsp + 0xe8]
call fcn.1400037a0
mov qword [rsp + 0x100], 7
mov qword [rsp + 0xf8], rbx
mov word [rsp + 0xe8], bx
mov r8, qword [rdi + 0x18]
cmp r8, 8
jb 0x140018e5c
inc r8
mov rdx, qword [rdi]
mov rcx, rdi
call fcn.1400037a0
mov qword [rdi + 0x18], 7
mov qword [rdi + 0x10], rbx
cmp qword [rdi + 0x18], 8
jb 0x140018e72
mov rdi, qword [rdi]
mov word [rdi], bx
mov al, 1
mov rcx, qword [rsp + 0x1b8]
xor rcx, rsp
call fcn.1401e30a0
mov rbx, qword [rsp + 0x200]
add rsp, 0x1c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
ret