Function at 0x14018eb20
Capabilities:
Manipulate boot configuration
Read .ini file

Disassembly:
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xca0
mov qword [rsp + 0xb80], 0xfffffffffffffffe
mov rax, qword [0x1402a15c0]
xor rax, rsp
mov qword [rsp + 0xc98], rax
mov rax, qword [rsp + 0xcb8]
mov qword [rsp + 0xb88], rax
cmp qword [rsp + 0xb88], 0x8037
je 0x14018f48f
cmp qword [rsp + 0xb88], 0x803c
je 0x14018ebaa
cmp qword [rsp + 0xb88], 0x806a
je 0x14018f69d
cmp qword [rsp + 0xb88], 0x80af
je 0x14018ebd5
jmp 0x14018f79a
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xfc0
mov rax, qword [rsp + 0xcb0]
mov rax, qword [rax + 0xfc0]
call qword [rax + 0x298]
xor eax, eax
jmp 0x14018f79f
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14016c1d0
nop
lea rcx, [rsp + 0x30]
call fcn.140081900
cmp rax, 1
jne 0x14018f46e
mov dword [rsp + 0x284], 0
mov dword [rsp + 0x280], 0
mov dword [rsp + 0x270], 0
mov dword [rsp + 0xa90], 0
xor eax, eax
mov word [rsp + 0x290], ax
lea rdi, [rsp + 0x292]
xor eax, eax
mov ecx, 0x7fe
rep stosb byte [rdi], al
lea rcx, [rsp + 0xaa8]
call fcn.140001000
mov qword [rsp + 0xb90], rax
mov rax, qword [rsp + 0xb90]
mov qword [rsp + 0xb98], rax
lea r8, [0x140244a40]
mov rdx, qword [rsp + 0xb98]
lea rcx, [rsp + 0xab0]
call fcn.1400010b0
mov qword [rsp + 0xba0], rax
mov rcx, qword [rsp + 0xba0]
call fcn.140023510
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x290]
lea r8, str.255_0_0
lea rdx, str.Idle_RGB
lea rcx, [0x140244a80]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0xab0]
call fcn.140001490
nop
lea rcx, [rsp + 0xaa8]
call fcn.140001490
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x278]
call fcn.1400020d0
nop
lea r9, [rsp + 0xa90]
lea r8, [0x140242724]
lea rdx, [rsp + 0xab8]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xba8], rax
mov rcx, qword [rsp + 0xba8]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xab8]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x140242734]
lea rdx, [rsp + 0xac0]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xbb0], rax
mov rcx, qword [rsp + 0xbb0]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xac0]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x1402427fc]
lea rdx, [rsp + 0xac8]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xbb8], rax
mov rcx, qword [rsp + 0xbb8]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0xac8]
call fcn.140001490
movzx r8d, byte [rsp + 0x284]
movzx eax, byte [rsp + 0x280]
shl eax, 8
or r8d, eax
movzx eax, byte [rsp + 0x270]
shl eax, 0x10
or r8d, eax
mov rcx, qword [rsp + 0xcb0]
add rcx, 0x980
mov dword [rsp + 0x20], 0
mov r9d, 0x64
xor edx, edx
call fcn.140118760
mov dword [rsp + 0xa90], 0
lea rcx, [rsp + 0xad0]
call fcn.140001000
mov qword [rsp + 0xbc0], rax
mov rax, qword [rsp + 0xbc0]
mov qword [rsp + 0xbc8], rax
lea r8, [0x140244aa0]
mov rdx, qword [rsp + 0xbc8]
lea rcx, [rsp + 0xad8]
call fcn.1400010b0
mov qword [rsp + 0xbd0], rax
mov rcx, qword [rsp + 0xbd0]
call fcn.140023510
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x290]
lea r8, str.0_255_0
lea rdx, str.Cache_RGB
lea rcx, [0x140244ae0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0xad8]
call fcn.140001490
nop
lea rcx, [rsp + 0xad0]
call fcn.140001490
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x278]
call fcn.1400020a0
lea r9, [rsp + 0xa90]
lea r8, [0x140242a14]
lea rdx, [rsp + 0xae0]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xbd8], rax
mov rcx, qword [rsp + 0xbd8]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xae0]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x140242a2c]
lea rdx, [rsp + 0xae8]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xbe0], rax
mov rcx, qword [rsp + 0xbe0]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xae8]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x140242c4c]
lea rdx, [rsp + 0xaf0]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xbe8], rax
mov rcx, qword [rsp + 0xbe8]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0xaf0]
call fcn.140001490
movzx r8d, byte [rsp + 0x284]
movzx eax, byte [rsp + 0x280]
shl eax, 8
or r8d, eax
movzx eax, byte [rsp + 0x270]
shl eax, 0x10
or r8d, eax
mov rcx, qword [rsp + 0xcb0]
add rcx, 0x980
mov dword [rsp + 0x20], 0
mov r9d, 0x64
mov edx, 1
call fcn.140118760
mov dword [rsp + 0xa90], 0
lea rcx, [rsp + 0xaf8]
call fcn.140001000
mov qword [rsp + 0xbf0], rax
mov rax, qword [rsp + 0xbf0]
mov qword [rsp + 0xbf8], rax
lea r8, [0x140244b00]
mov rdx, qword [rsp + 0xbf8]
lea rcx, [rsp + 0xb00]
call fcn.1400010b0
mov qword [rsp + 0xc00], rax
mov rcx, qword [rsp + 0xc00]
call fcn.140023510
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x290]
lea r8, str.0_255_255
lea rdx, str.Read_RGB
lea rcx, str.Chart_Option
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0xb00]
call fcn.140001490
nop
lea rcx, [rsp + 0xaf8]
call fcn.140001490
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x278]
call fcn.1400020a0
lea r9, [rsp + 0xa90]
lea r8, [0x140242c8c]
lea rdx, [rsp + 0xb08]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xc08], rax
mov rcx, qword [rsp + 0xc08]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xb08]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x140242cac]
lea rdx, [rsp + 0xb10]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xc10], rax
mov rcx, qword [rsp + 0xc10]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xb10]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x140242ea4]
lea rdx, [rsp + 0xb18]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xc18], rax
mov rcx, qword [rsp + 0xc18]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0xb18]
call fcn.140001490
movzx r8d, byte [rsp + 0x284]
movzx eax, byte [rsp + 0x280]
shl eax, 8
or r8d, eax
movzx eax, byte [rsp + 0x270]
shl eax, 0x10
or r8d, eax
mov rcx, qword [rsp + 0xcb0]
add rcx, 0x980
mov dword [rsp + 0x20], 0
mov r9d, 0x64
mov edx, 2
call fcn.140118760
mov dword [rsp + 0xa90], 0
lea rcx, [rsp + 0xb20]
call fcn.140001000
mov qword [rsp + 0xc20], rax
mov rax, qword [rsp + 0xc20]
mov qword [rsp + 0xc28], rax
lea r8, [0x140244b68]
mov rdx, qword [rsp + 0xc28]
lea rcx, [rsp + 0xb28]
call fcn.1400010b0
mov qword [rsp + 0xc30], rax
mov rcx, qword [rsp + 0xc30]
call fcn.140023510
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x290]
lea r8, str.255_255_0
lea rdx, [0x140244b98]
lea rcx, [0x140244bb0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0xb28]
call fcn.140001490
nop
lea rcx, [rsp + 0xb20]
call fcn.140001490
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x278]
call fcn.1400020a0
lea r9, [rsp + 0xa90]
lea r8, [0x140242f04]
lea rdx, [rsp + 0xb30]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xc38], rax
mov rcx, qword [rsp + 0xc38]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xb30]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x140242f5c]
lea rdx, [rsp + 0xb38]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xc40], rax
mov rcx, qword [rsp + 0xc40]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xb38]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x140242fcc]
lea rdx, [rsp + 0xb40]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xc48], rax
mov rcx, qword [rsp + 0xc48]
call fcn.140023510
mov rcx, rax
call fcn.1400a948c
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0xb40]
call fcn.140001490
movzx r8d, byte [rsp + 0x284]
movzx eax, byte [rsp + 0x280]
shl eax, 8
or r8d, eax
movzx eax, byte [rsp + 0x270]
shl eax, 0x10
or r8d, eax
mov rcx, qword [rsp + 0xcb0]
add rcx, 0x980
mov dword [rsp + 0x20], 0
mov r9d, 0x64
mov edx, 3
call fcn.140118760
nop
lea rcx, [rsp + 0x278]
call fcn.140001490
mov dword [rsp + 0xb48], 0
lea rcx, [rsp + 0x30]
call fcn.14016c150
mov eax, dword [rsp + 0xb48]
jmp 0x14018f79f
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xdc8
call fcn.14000ec60
test eax, eax
je 0x14018f536
lea rcx, [rsp + 0xb50]
call fcn.140001000
mov qword [rsp + 0xc50], rax
mov rax, qword [rsp + 0xc50]
mov qword [rsp + 0xc58], rax
lea r8, [0x140244bd0]
mov rdx, qword [rsp + 0xc58]
lea rcx, [rsp + 0xb58]
call fcn.1400010b0
mov qword [rsp + 0xc60], rax
mov rcx, qword [rsp + 0xc60]
call fcn.140023510
mov r9, rax
xor r8d, r8d
lea rdx, [0x140244be8]
lea rcx, [0x140244c00]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0xb58]
call fcn.140001490
nop
lea rcx, [rsp + 0xb50]
call fcn.140001490
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xe70
call fcn.14000ec60
test eax, eax
je 0x14018f5dd
lea rcx, [rsp + 0xb60]
call fcn.140001000
mov qword [rsp + 0xc68], rax
mov rax, qword [rsp + 0xc68]
mov qword [rsp + 0xc70], rax
lea r8, [0x140244c18]
mov rdx, qword [rsp + 0xc70]
lea rcx, [rsp + 0xb68]
call fcn.1400010b0
mov qword [rsp + 0xc78], rax
mov rcx, qword [rsp + 0xc78]
call fcn.140023510
mov r9, rax
xor r8d, r8d
lea rdx, [0x140244c30]
lea rcx, [0x140244c48]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0xb68]
call fcn.140001490
nop
lea rcx, [rsp + 0xb60]
call fcn.140001490
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xf18
call fcn.14000ec60
test eax, eax
je 0x14018f684
lea rcx, [rsp + 0xb70]
call fcn.140001000
mov qword [rsp + 0xc80], rax
mov rax, qword [rsp + 0xc80]
mov qword [rsp + 0xc88], rax
lea r8, [0x140244c60]
mov rdx, qword [rsp + 0xc88]
lea rcx, [rsp + 0xb78]
call fcn.1400010b0
mov qword [rsp + 0xc90], rax
mov rcx, qword [rsp + 0xc90]
call fcn.140023510
mov r9, rax
xor r8d, r8d
lea rdx, [0x140244c78]
lea rcx, [0x140244c90]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0xb78]
call fcn.140001490
nop
lea rcx, [rsp + 0xb70]
call fcn.140001490
mov edx, 1
mov rcx, qword [rsp + 0xcb0]
call fcn.14018da90
xor eax, eax
jmp 0x14018f79f
mov qword [rsp + 0xa98], 0
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xe70
call fcn.14000ec60
test eax, eax
je 0x14018f6d7
mov rax, qword [rsp + 0xcb0]
add rax, 0xe70
mov qword [rsp + 0xa98], rax
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xdc8
call fcn.14000ec60
test eax, eax
je 0x14018f705
mov rax, qword [rsp + 0xcb0]
add rax, 0xdc8
mov qword [rsp + 0xa98], rax
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xf18
call fcn.14000ec60
test eax, eax
je 0x14018f733
mov rax, qword [rsp + 0xcb0]
add rax, 0xf18
mov qword [rsp + 0xa98], rax
cmp qword [rsp + 0xa98], 0
jne 0x14018f740
jmp 0x14018f79a
mov dword [rsp + 0xaa0], 0
jmp 0x14018f75e
mov eax, dword [rsp + 0xaa0]
add eax, 1
mov dword [rsp + 0xaa0], eax
mov rcx, qword [rsp + 0xa98]
call fcn.14000ebf0
cmp dword [rsp + 0xaa0], eax
jge 0x14018f796
mov r9d, 2
mov r8d, 2
mov edx, dword [rsp + 0xaa0]
mov rcx, qword [rsp + 0xa98]
call fcn.140082390
jmp 0x14018f74d
xor eax, eax
jmp 0x14018f79f
mov eax, 1
mov rcx, qword [rsp + 0xc98]
xor rcx, rsp
call fcn.1400a8050
add rsp, 0xca0
pop rdi
ret