Function at 0x140017670
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x71], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1402d68f8]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
call fcn.14001a3a0
test al, al
je 0x140017bee
xor sil, sil
mov rcx, rdi
call fcn.140016db0
mov r14d, eax
mov rax, qword [rdi + 0x90]
sub rax, qword [rdi + 0x88]
sar rax, 5
cmp r14, rax
jae 0x140017bf2
mov r15d, r14d
shl r15, 5
xor r12d, r12d
nop word [rax + rax]
mov rdx, qword [rdi + 0x88]
add rdx, r15
mov qword [rbp + 0x27], 7
mov qword [rbp + 0x1f], r12
mov word [rbp + 0xf], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rcx, [rbp + 0xf]
call fcn.140003830
nop
xor eax, eax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], rax
lea rdx, [rbp + 0xf]
cmp qword [rbp + 0x27], 8
cmovae rdx, qword [rbp + 0xf]
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], r12
mov word [rbp - 0x61], r12w
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], r12
lea rcx, [rbp - 0x61]
call fcn.1400076b0
nop
lea rdx, str.InstAllInfo
lea rcx, [rbp - 0x31]
call fcn.1400072b0
nop
lea rdx, str.InstallMethod
lea rcx, [rbp - 0x11]
call fcn.1400072b0
lea r9, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae r9, qword [rbp - 0x61]
lea rdx, [rbp - 0x11]
cmp qword [rbp + 7], 8
cmovae rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x31]
cmp qword [rbp - 0x19], 8
cmovae rcx, qword [rbp - 0x31]
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ebx, eax
mov r8, qword [rbp + 7]
cmp r8, 8
jb 0x1400177c7
inc r8
mov rdx, qword [rbp - 0x11]
lea rcx, [rbp - 0x11]
call fcn.1400037a0
mov qword [rbp + 7], 7
mov qword [rbp - 1], r12
mov word [rbp - 0x11], r12w
mov r8, qword [rbp - 0x19]
cmp r8, 8
jb 0x1400177f2
inc r8
mov rdx, qword [rbp - 0x31]
lea rcx, [rbp - 0x31]
call fcn.1400037a0
cmp qword [rbp - 0x51], 0
je 0x140017814
lea r9, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae r9, qword [rbp - 0x61]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov qword [rbp - 0x51], r12
lea rax, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rax, qword [rbp - 0x61]
mov word [rax], r12w
mov rcx, qword [rbp - 0x41]
call fcn.14002bcb8
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], r12
mov ecx, 0x60
call fcn.14002bc64
cmp ebx, 1
mov rbx, rax
jne 0x14001789f
mov qword [rbp - 0x69], rax
test rax, rax
je 0x14001789a
xor edx, edx
lea r8d, [rdx + 0x60]
mov rcx, rax
call fcn.1401e7f40
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r12
mov word [rbp - 0x31], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x31]
call fcn.140003830
lea rdx, [rbp - 0x31]
mov rcx, rbx
call fcn.140012cd0
mov rbx, rax
jmp 0x14001789d
mov rbx, r12
jmp 0x1400178f4
mov qword [rsp + 0x28], rbx
test rax, rax
je 0x1400178f1
xor edx, edx
lea r8d, [rdx + 0x60]
mov rcx, rbx
call fcn.1401e7f40
mov qword [rbp - 0x79], 7
mov qword [rsp + 0x48], r12
mov word [rsp + 0x38], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xf]
lea rcx, [rsp + 0x38]
call fcn.140003830
lea rdx, [rsp + 0x38]
mov rcx, rbx
call fcn.1400105e0
mov rbx, rax
jmp 0x1400178f4
mov rbx, r12
mov rcx, rdi
call fcn.140017030
mov rcx, rbx
call fcn.1400103e0
movzx esi, al
test al, al
je 0x140017925
mov rcx, qword [rbx + 0x10]
cmp byte [rcx + 0x813], 0
je 0x140017925
cmp byte [rcx + 0x810], 0
jne 0x140017a5a
test rbx, rbx
je 0x140017937
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
lea rax, [rbp - 0x31]
mov qword [rbp - 0x19], 7
mov qword [rbp - 0x21], r12
mov word [rbp - 0x31], r12w
lea rcx, [rbp - 0x31]
test sil, sil
je 0x140017b14
mov qword [rsp + 0x20], rax
mov r8d, 0x15
lea rdx, str._file_execute_success
call fcn.140003650
nop
mov qword [rbp + 7], 7
mov qword [rbp - 1], r12
mov word [rbp - 0x11], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.140003830
nop
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.1400206e0
nop
cmp qword [rbp - 0x51], 0
je 0x1400179c7
lea r9, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae r9, qword [rbp - 0x61]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov qword [rbp - 0x51], r12
lea rax, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rax, qword [rbp - 0x61]
mov word [rax], r12w
mov rcx, qword [rbp - 0x41]
call fcn.14002bcb8
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], r12
mov r8, qword [rbp - 0x49]
cmp r8, 8
jb 0x140017a08
inc r8
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
call fcn.1400037a0
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], r12
mov word [rbp - 0x61], r12w
mov r8, qword [rbp + 0x27]
cmp r8, 8
jb 0x140017a33
inc r8
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp + 0xf]
call fcn.1400037a0
inc r14
add r15, 0x20
mov rax, qword [rdi + 0x90]
sub rax, qword [rdi + 0x88]
sar rax, 5
cmp r14, rax
jae 0x140017bf2
jmp 0x1400176f0
lea rdx, [r14 + 1]
mov rcx, rdi
call fcn.140017100
test eax, eax
je 0x140017a6f
call fcn.14001ad40
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
cmp qword [rbp - 0x51], 0
je 0x140017a9f
lea r9, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae r9, qword [rbp - 0x61]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov qword [rbp - 0x51], r12
lea rax, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rax, qword [rbp - 0x61]
mov word [rax], r12w
mov rcx, qword [rbp - 0x41]
call fcn.14002bcb8
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], r12
mov r8, qword [rbp - 0x49]
cmp r8, 8
jb 0x140017ae0
inc r8
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
call fcn.1400037a0
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], r12
mov word [rbp - 0x61], r12w
mov r8, qword [rbp + 0x27]
cmp r8, 8
jb 0x140017bf2
inc r8
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp + 0xf]
call fcn.1400037a0
jmp 0x140017bf2
mov qword [rsp + 0x30], rax
mov r8d, 0x13
lea rdx, str._file_execute_error
call fcn.140003650
nop
mov qword [rbp + 7], 7
mov qword [rbp - 1], r12
mov word [rbp - 0x11], r12w
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.140003830
nop
lea rdx, [rbp - 0x31]
lea rcx, [rbp - 0x11]
call fcn.1400206e0
nop
cmp qword [rbp - 0x51], 0
je 0x140017b82
lea r9, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae r9, qword [rbp - 0x61]
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov qword [rbp - 0x51], r12
lea rax, [rbp - 0x61]
cmp qword [rbp - 0x49], 8
cmovae rax, qword [rbp - 0x61]
mov word [rax], r12w
mov rcx, qword [rbp - 0x41]
call fcn.14002bcb8
mov qword [rbp - 0x41], r12
mov qword [rbp - 0x39], r12
mov r8, qword [rbp - 0x49]
cmp r8, 8
jb 0x140017bc3
inc r8
mov rdx, qword [rbp - 0x61]
lea rcx, [rbp - 0x61]
call fcn.1400037a0
mov qword [rbp - 0x49], 7
mov qword [rbp - 0x51], r12
mov word [rbp - 0x61], r12w
mov r8, qword [rbp + 0x27]
cmp r8, 8
jb 0x140017bee
inc r8
mov rdx, qword [rbp + 0xf]
lea rcx, [rbp + 0xf]
call fcn.1400037a0
xor eax, eax
jmp 0x140017bf6
movzx eax, sil
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1401e30a0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret