Function at 0x14019af10
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 [0x1402bd5c0]
xor rax, rsp
mov qword [rsp + 0xc98], rax
mov rax, qword [rsp + 0xcb8]
mov qword [rsp + 0xb88], rax
cmp qword [rsp + 0xb88], 0x8037
je 0x14019b87f
cmp qword [rsp + 0xb88], 0x803c
je 0x14019af9a
cmp qword [rsp + 0xb88], 0x806a
je 0x14019ba8d
cmp qword [rsp + 0xb88], 0x80af
je 0x14019afc5
jmp 0x14019bb8a
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 0x14019bb8f
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.1401764a0
nop
lea rcx, [rsp + 0x30]
call fcn.1400830e4
cmp rax, 1
jne 0x14019b85e
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, [0x14025bb90]
mov rdx, qword [rsp + 0xb98]
lea rcx, [rsp + 0xab0]
call fcn.1400010b0
mov qword [rsp + 0xba0], rax
mov rcx, qword [rsp + 0xba0]
call fcn.140050200
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, [0x14025bbd0]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0xab0]
call fcn.140007060
nop
lea rcx, [rsp + 0xaa8]
call fcn.140007060
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x278]
call fcn.140002050
nop
lea r9, [rsp + 0xa90]
lea r8, [0x14025b894]
lea rdx, [rsp + 0xab8]
lea rcx, [rsp + 0x278]
call fcn.140006620
mov qword [rsp + 0xba8], rax
mov rcx, qword [rsp + 0xba8]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xab8]
call fcn.140007060
lea r9, [rsp + 0xa90]
lea r8, [0x14025b8ac]
lea rdx, [rsp + 0xac0]
lea rcx, [rsp + 0x278]
call fcn.140006620
mov qword [rsp + 0xbb0], rax
mov rcx, qword [rsp + 0xbb0]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xac0]
call fcn.140007060
lea r9, [rsp + 0xa90]
lea r8, [0x14025b8bc]
lea rdx, [rsp + 0xac8]
lea rcx, [rsp + 0x278]
call fcn.140006620
mov qword [rsp + 0xbb8], rax
mov rcx, qword [rsp + 0xbb8]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0xac8]
call fcn.140007060
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.140121590
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, [0x14025bbf0]
mov rdx, qword [rsp + 0xbc8]
lea rcx, [rsp + 0xad8]
call fcn.1400010b0
mov qword [rsp + 0xbd0], rax
mov rcx, qword [rsp + 0xbd0]
call fcn.140050200
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, [0x14025bc30]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0xad8]
call fcn.140007060
nop
lea rcx, [rsp + 0xad0]
call fcn.140007060
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x278]
call fcn.140002020
lea r9, [rsp + 0xa90]
lea r8, [0x14025b904]
lea rdx, [rsp + 0xae0]
lea rcx, [rsp + 0x278]
call fcn.140006620
mov qword [rsp + 0xbd8], rax
mov rcx, qword [rsp + 0xbd8]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xae0]
call fcn.140007060
lea r9, [rsp + 0xa90]
lea r8, [0x14025b914]
lea rdx, [rsp + 0xae8]
lea rcx, [rsp + 0x278]
call fcn.140006620
mov qword [rsp + 0xbe0], rax
mov rcx, qword [rsp + 0xbe0]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xae8]
call fcn.140007060
lea r9, [rsp + 0xa90]
lea r8, [0x14025b924]
lea rdx, [rsp + 0xaf0]
lea rcx, [rsp + 0x278]
call fcn.140006620
mov qword [rsp + 0xbe8], rax
mov rcx, qword [rsp + 0xbe8]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0xaf0]
call fcn.140007060
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.140121590
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, [0x14025bc50]
mov rdx, qword [rsp + 0xbf8]
lea rcx, [rsp + 0xb00]
call fcn.1400010b0
mov qword [rsp + 0xc00], rax
mov rcx, qword [rsp + 0xc00]
call fcn.140050200
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x290]
lea r8, str.0_255_255
lea rdx, [0x14025bc80]
lea rcx, [0x14025bc98]
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0xb00]
call fcn.140007060
nop
lea rcx, [rsp + 0xaf8]
call fcn.140007060
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x278]
call fcn.140002020
lea r9, [rsp + 0xa90]
lea r8, [0x14025b944]
lea rdx, [rsp + 0xb08]
lea rcx, [rsp + 0x278]
call fcn.140006620
mov qword [rsp + 0xc08], rax
mov rcx, qword [rsp + 0xc08]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xb08]
call fcn.140007060
lea r9, [rsp + 0xa90]
lea r8, [0x14025b95c]
lea rdx, [rsp + 0xb10]
lea rcx, [rsp + 0x278]
call fcn.140006620
mov qword [rsp + 0xc10], rax
mov rcx, qword [rsp + 0xc10]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xb10]
call fcn.140007060
lea r9, [rsp + 0xa90]
lea r8, [0x14025b96c]
lea rdx, [rsp + 0xb18]
lea rcx, [rsp + 0x278]
call fcn.140006620
mov qword [rsp + 0xc18], rax
mov rcx, qword [rsp + 0xc18]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0xb18]
call fcn.140007060
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.140121590
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, [0x14025bcb8]
mov rdx, qword [rsp + 0xc28]
lea rcx, [rsp + 0xb28]
call fcn.1400010b0
mov qword [rsp + 0xc30], rax
mov rcx, qword [rsp + 0xc30]
call fcn.140050200
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0x400
lea r9, [rsp + 0x290]
lea r8, str.255_255_0
lea rdx, str.Write_RGB
lea rcx, str.Chart_Option
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea rcx, [rsp + 0xb28]
call fcn.140007060
nop
lea rcx, [rsp + 0xb20]
call fcn.140007060
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x278]
call fcn.140002020
lea r9, [rsp + 0xa90]
lea r8, [0x14025b97c]
lea rdx, [rsp + 0xb30]
lea rcx, [rsp + 0x278]
call fcn.140006620
mov qword [rsp + 0xc38], rax
mov rcx, qword [rsp + 0xc38]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xb30]
call fcn.140007060
lea r9, [rsp + 0xa90]
lea r8, [0x14025b9a4]
lea rdx, [rsp + 0xb38]
lea rcx, [rsp + 0x278]
call fcn.140006620
mov qword [rsp + 0xc40], rax
mov rcx, qword [rsp + 0xc40]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xb38]
call fcn.140007060
lea r9, [rsp + 0xa90]
lea r8, [0x14025b9bc]
lea rdx, [rsp + 0xb40]
lea rcx, [rsp + 0x278]
call fcn.140006620
mov qword [rsp + 0xc48], rax
mov rcx, qword [rsp + 0xc48]
call fcn.140050200
mov rcx, rax
call fcn.1400aac5c
mov dword [rsp + 0x270], eax
lea rcx, [rsp + 0xb40]
call fcn.140007060
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.140121590
nop
lea rcx, [rsp + 0x278]
call fcn.140007060
mov dword [rsp + 0xb48], 0
lea rcx, [rsp + 0x30]
call fcn.140176420
mov eax, dword [rsp + 0xb48]
jmp 0x14019bb8f
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xdc8
call fcn.14000dc10
test eax, eax
je 0x14019b926
lea rcx, [rsp + 0xb50]
call fcn.140001000
mov qword [rsp + 0xc50], rax
mov rax, qword [rsp + 0xc50]
mov qword [rsp + 0xc58], rax
lea r8, [0x14025bd20]
mov rdx, qword [rsp + 0xc58]
lea rcx, [rsp + 0xb58]
call fcn.1400010b0
mov qword [rsp + 0xc60], rax
mov rcx, qword [rsp + 0xc60]
call fcn.140050200
mov r9, rax
xor r8d, r8d
lea rdx, [0x14025bd38]
lea rcx, [0x14025bd50]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0xb58]
call fcn.140007060
nop
lea rcx, [rsp + 0xb50]
call fcn.140007060
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xe70
call fcn.14000dc10
test eax, eax
je 0x14019b9cd
lea rcx, [rsp + 0xb60]
call fcn.140001000
mov qword [rsp + 0xc68], rax
mov rax, qword [rsp + 0xc68]
mov qword [rsp + 0xc70], rax
lea r8, [0x14025bd68]
mov rdx, qword [rsp + 0xc70]
lea rcx, [rsp + 0xb68]
call fcn.1400010b0
mov qword [rsp + 0xc78], rax
mov rcx, qword [rsp + 0xc78]
call fcn.140050200
mov r9, rax
xor r8d, r8d
lea rdx, [0x14025bd80]
lea rcx, [0x14025bd98]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0xb68]
call fcn.140007060
nop
lea rcx, [rsp + 0xb60]
call fcn.140007060
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xf18
call fcn.14000dc10
test eax, eax
je 0x14019ba74
lea rcx, [rsp + 0xb70]
call fcn.140001000
mov qword [rsp + 0xc80], rax
mov rax, qword [rsp + 0xc80]
mov qword [rsp + 0xc88], rax
lea r8, [0x14025bdb0]
mov rdx, qword [rsp + 0xc88]
lea rcx, [rsp + 0xb78]
call fcn.1400010b0
mov qword [rsp + 0xc90], rax
mov rcx, qword [rsp + 0xc90]
call fcn.140050200
mov r9, rax
xor r8d, r8d
lea rdx, [0x14025bdc8]
lea rcx, [0x14025bde0]
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea rcx, [rsp + 0xb78]
call fcn.140007060
nop
lea rcx, [rsp + 0xb70]
call fcn.140007060
mov edx, 1
mov rcx, qword [rsp + 0xcb0]
call fcn.140199e80
xor eax, eax
jmp 0x14019bb8f
mov qword [rsp + 0xa98], 0
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xe70
call fcn.14000dc10
test eax, eax
je 0x14019bac7
mov rax, qword [rsp + 0xcb0]
add rax, 0xe70
mov qword [rsp + 0xa98], rax
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xdc8
call fcn.14000dc10
test eax, eax
je 0x14019baf5
mov rax, qword [rsp + 0xcb0]
add rax, 0xdc8
mov qword [rsp + 0xa98], rax
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xf18
call fcn.14000dc10
test eax, eax
je 0x14019bb23
mov rax, qword [rsp + 0xcb0]
add rax, 0xf18
mov qword [rsp + 0xa98], rax
cmp qword [rsp + 0xa98], 0
jne 0x14019bb30
jmp 0x14019bb8a
mov dword [rsp + 0xaa0], 0
jmp 0x14019bb4e
mov eax, dword [rsp + 0xaa0]
add eax, 1
mov dword [rsp + 0xaa0], eax
mov rcx, qword [rsp + 0xa98]
call fcn.14000dba0
cmp dword [rsp + 0xaa0], eax
jge 0x14019bb86
mov r9d, 2
mov r8d, 2
mov edx, dword [rsp + 0xaa0]
mov rcx, qword [rsp + 0xa98]
call fcn.140083b74
jmp 0x14019bb3d
xor eax, eax
jmp 0x14019bb8f
mov eax, 1
mov rcx, qword [rsp + 0xc98]
xor rcx, rsp
call fcn.1400a9820
add rsp, 0xca0
pop rdi
ret