Function at 0x14018ea90
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 [0x1402a25c0]
xor rax, rsp
mov qword [rsp + 0xc98], rax
mov rax, qword [rsp + 0xcb8]
mov qword [rsp + 0xb88], rax
cmp qword [rsp + 0xb88], 0x8037
je 0x14018f3ff
cmp qword [rsp + 0xb88], 0x803c
je 0x14018eb1a
cmp qword [rsp + 0xb88], 0x806a
je 0x14018f60d
cmp qword [rsp + 0xb88], 0x80af
je 0x14018eb45
jmp 0x14018f70a
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 0x14018f70f
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.14016c100
nop
lea rcx, [rsp + 0x30]
call fcn.1400819f8
cmp rax, 1
jne 0x14018f3de
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, [0x140245800]
mov rdx, qword [rsp + 0xb98]
lea rcx, [rsp + 0xab0]
call fcn.1400010b0
mov qword [rsp + 0xba0], rax
mov rcx, qword [rsp + 0xba0]
call fcn.1400012c0
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, [0x140245840]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0xab0]
call fcn.140001470
nop
lea rcx, [rsp + 0xaa8]
call fcn.140001470
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x278]
call fcn.140002090
nop
lea r9, [rsp + 0xa90]
lea r8, [0x140243724]
lea rdx, [rsp + 0xab8]
lea rcx, [rsp + 0x278]
call fcn.140006540
mov qword [rsp + 0xba8], rax
mov rcx, qword [rsp + 0xba8]
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xab8]
call fcn.140001470
lea r9, [rsp + 0xa90]
lea r8, [0x140243734]
lea rdx, [rsp + 0xac0]
lea rcx, [rsp + 0x278]
call fcn.140006540
mov qword [rsp + 0xbb0], rax
mov rcx, qword [rsp + 0xbb0]
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xac0]
call fcn.140001470
lea r9, [rsp + 0xa90]
lea r8, [0x1402437fc]
lea rdx, [rsp + 0xac8]
lea rcx, [rsp + 0x278]
call fcn.140006540
mov qword [rsp + 0xbb8], rax
mov rcx, qword [rsp + 0xbb8]
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0xac8]
call fcn.140001470
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.1401186f0
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, [0x140245860]
mov rdx, qword [rsp + 0xbc8]
lea rcx, [rsp + 0xad8]
call fcn.1400010b0
mov qword [rsp + 0xbd0], rax
mov rcx, qword [rsp + 0xbd0]
call fcn.1400012c0
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, [0x1402458a0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0xad8]
call fcn.140001470
nop
lea rcx, [rsp + 0xad0]
call fcn.140001470
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x278]
call fcn.140002060
lea r9, [rsp + 0xa90]
lea r8, [0x140243a14]
lea rdx, [rsp + 0xae0]
lea rcx, [rsp + 0x278]
call fcn.140006540
mov qword [rsp + 0xbd8], rax
mov rcx, qword [rsp + 0xbd8]
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xae0]
call fcn.140001470
lea r9, [rsp + 0xa90]
lea r8, [0x140243a2c]
lea rdx, [rsp + 0xae8]
lea rcx, [rsp + 0x278]
call fcn.140006540
mov qword [rsp + 0xbe0], rax
mov rcx, qword [rsp + 0xbe0]
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xae8]
call fcn.140001470
lea r9, [rsp + 0xa90]
lea r8, [0x140243c4c]
lea rdx, [rsp + 0xaf0]
lea rcx, [rsp + 0x278]
call fcn.140006540
mov qword [rsp + 0xbe8], rax
mov rcx, qword [rsp + 0xbe8]
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0xaf0]
call fcn.140001470
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.1401186f0
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, [0x1402458c0]
mov rdx, qword [rsp + 0xbf8]
lea rcx, [rsp + 0xb00]
call fcn.1400010b0
mov qword [rsp + 0xc00], rax
mov rcx, qword [rsp + 0xc00]
call fcn.1400012c0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x290]
lea r8, str.0_255_255
lea rdx, [0x1402458f0]
lea rcx, str.Chart_Option
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0xb00]
call fcn.140001470
nop
lea rcx, [rsp + 0xaf8]
call fcn.140001470
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x278]
call fcn.140002060
lea r9, [rsp + 0xa90]
lea r8, [0x140243c8c]
lea rdx, [rsp + 0xb08]
lea rcx, [rsp + 0x278]
call fcn.140006540
mov qword [rsp + 0xc08], rax
mov rcx, qword [rsp + 0xc08]
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xb08]
call fcn.140001470
lea r9, [rsp + 0xa90]
lea r8, [0x140243cac]
lea rdx, [rsp + 0xb10]
lea rcx, [rsp + 0x278]
call fcn.140006540
mov qword [rsp + 0xc10], rax
mov rcx, qword [rsp + 0xc10]
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xb10]
call fcn.140001470
lea r9, [rsp + 0xa90]
lea r8, [0x140243ea4]
lea rdx, [rsp + 0xb18]
lea rcx, [rsp + 0x278]
call fcn.140006540
mov qword [rsp + 0xc18], rax
mov rcx, qword [rsp + 0xc18]
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0xb18]
call fcn.140001470
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.1401186f0
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, [0x140245928]
mov rdx, qword [rsp + 0xc28]
lea rcx, [rsp + 0xb28]
call fcn.1400010b0
mov qword [rsp + 0xc30], rax
mov rcx, qword [rsp + 0xc30]
call fcn.1400012c0
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x290]
lea r8, str.255_255_0
lea rdx, [0x140245958]
lea rcx, [0x140245970]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0xb28]
call fcn.140001470
nop
lea rcx, [rsp + 0xb20]
call fcn.140001470
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x278]
call fcn.140002060
lea r9, [rsp + 0xa90]
lea r8, [0x140243f04]
lea rdx, [rsp + 0xb30]
lea rcx, [rsp + 0x278]
call fcn.140006540
mov qword [rsp + 0xc38], rax
mov rcx, qword [rsp + 0xc38]
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xb30]
call fcn.140001470
lea r9, [rsp + 0xa90]
lea r8, [0x140243f5c]
lea rdx, [rsp + 0xb38]
lea rcx, [rsp + 0x278]
call fcn.140006540
mov qword [rsp + 0xc40], rax
mov rcx, qword [rsp + 0xc40]
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xb38]
call fcn.140001470
lea r9, [rsp + 0xa90]
lea r8, [0x140243fcc]
lea rdx, [rsp + 0xb40]
lea rcx, [rsp + 0x278]
call fcn.140006540
mov qword [rsp + 0xc48], rax
mov rcx, qword [rsp + 0xc48]
call fcn.1400012c0
mov rcx, rax
call fcn.1400a947c
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0xb40]
call fcn.140001470
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.1401186f0
nop
lea rcx, [rsp + 0x278]
call fcn.140001470
mov dword [rsp + 0xb48], 0
lea rcx, [rsp + 0x30]
call fcn.14016c080
mov eax, dword [rsp + 0xb48]
jmp 0x14018f70f
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xdc8
call fcn.14000f570
test eax, eax
je 0x14018f4a6
lea rcx, [rsp + 0xb50]
call fcn.140001000
mov qword [rsp + 0xc50], rax
mov rax, qword [rsp + 0xc50]
mov qword [rsp + 0xc58], rax
lea r8, [0x140245990]
mov rdx, qword [rsp + 0xc58]
lea rcx, [rsp + 0xb58]
call fcn.1400010b0
mov qword [rsp + 0xc60], rax
mov rcx, qword [rsp + 0xc60]
call fcn.1400012c0
mov r9, rax
xor r8d, r8d
lea rdx, [0x1402459a8]
lea rcx, [0x1402459c0]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0xb58]
call fcn.140001470
nop
lea rcx, [rsp + 0xb50]
call fcn.140001470
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xe70
call fcn.14000f570
test eax, eax
je 0x14018f54d
lea rcx, [rsp + 0xb60]
call fcn.140001000
mov qword [rsp + 0xc68], rax
mov rax, qword [rsp + 0xc68]
mov qword [rsp + 0xc70], rax
lea r8, [0x1402459d8]
mov rdx, qword [rsp + 0xc70]
lea rcx, [rsp + 0xb68]
call fcn.1400010b0
mov qword [rsp + 0xc78], rax
mov rcx, qword [rsp + 0xc78]
call fcn.1400012c0
mov r9, rax
xor r8d, r8d
lea rdx, [0x1402459f0]
lea rcx, [0x140245a08]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0xb68]
call fcn.140001470
nop
lea rcx, [rsp + 0xb60]
call fcn.140001470
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xf18
call fcn.14000f570
test eax, eax
je 0x14018f5f4
lea rcx, [rsp + 0xb70]
call fcn.140001000
mov qword [rsp + 0xc80], rax
mov rax, qword [rsp + 0xc80]
mov qword [rsp + 0xc88], rax
lea r8, [0x140245a20]
mov rdx, qword [rsp + 0xc88]
lea rcx, [rsp + 0xb78]
call fcn.1400010b0
mov qword [rsp + 0xc90], rax
mov rcx, qword [rsp + 0xc90]
call fcn.1400012c0
mov r9, rax
xor r8d, r8d
lea rdx, [0x140245a38]
lea rcx, [0x140245a50]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0xb78]
call fcn.140001470
nop
lea rcx, [rsp + 0xb70]
call fcn.140001470
mov edx, 1
mov rcx, qword [rsp + 0xcb0]
call fcn.14018da00
xor eax, eax
jmp 0x14018f70f
mov qword [rsp + 0xa98], 0
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xe70
call fcn.14000f570
test eax, eax
je 0x14018f647
mov rax, qword [rsp + 0xcb0]
add rax, 0xe70
mov qword [rsp + 0xa98], rax
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xdc8
call fcn.14000f570
test eax, eax
je 0x14018f675
mov rax, qword [rsp + 0xcb0]
add rax, 0xdc8
mov qword [rsp + 0xa98], rax
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xf18
call fcn.14000f570
test eax, eax
je 0x14018f6a3
mov rax, qword [rsp + 0xcb0]
add rax, 0xf18
mov qword [rsp + 0xa98], rax
cmp qword [rsp + 0xa98], 0
jne 0x14018f6b0
jmp 0x14018f70a
mov dword [rsp + 0xaa0], 0
jmp 0x14018f6ce
mov eax, dword [rsp + 0xaa0]
add eax, 1
mov dword [rsp + 0xaa0], eax
mov rcx, qword [rsp + 0xa98]
call fcn.14000f500
cmp dword [rsp + 0xaa0], eax
jge 0x14018f706
mov r9d, 2
mov r8d, 2
mov edx, dword [rsp + 0xaa0]
mov rcx, qword [rsp + 0xa98]
call fcn.140082488
jmp 0x14018f6bd
xor eax, eax
jmp 0x14018f70f
mov eax, 1
mov rcx, qword [rsp + 0xc98]
xor rcx, rsp
call fcn.1400a8040
add rsp, 0xca0
pop rdi
ret