Function at 0x1401952c0
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 [0x1402aa5c0]
xor rax, rsp
mov qword [rsp + 0xc98], rax
mov rax, qword [rsp + 0xcb8]
mov qword [rsp + 0xb88], rax
cmp qword [rsp + 0xb88], 0x8037
je 0x140195c2f
cmp qword [rsp + 0xb88], 0x803c
je 0x14019534a
cmp qword [rsp + 0xb88], 0x806a
je 0x140195e3d
cmp qword [rsp + 0xb88], 0x80af
je 0x140195375
jmp 0x140195f3a
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 0x140195f3f
xor edx, edx
lea rcx, [rsp + 0x30]
call fcn.140171a50
nop
lea rcx, [rsp + 0x30]
call fcn.140082174
cmp rax, 1
jne 0x140195c0e
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, [0x14024a948]
mov rdx, qword [rsp + 0xb98]
lea rcx, [rsp + 0xab0]
call fcn.1400010b0
mov qword [rsp + 0xba0], rax
mov rcx, qword [rsp + 0xba0]
call fcn.14000f8f0
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, [0x14024a988]
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.140002100
nop
lea r9, [rsp + 0xa90]
lea r8, [0x14024826c]
lea rdx, [rsp + 0xab8]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xba8], rax
mov rcx, qword [rsp + 0xba8]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xab8]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x1402482cc]
lea rdx, [rsp + 0xac0]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xbb0], rax
mov rcx, qword [rsp + 0xbb0]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xac0]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x14024832c]
lea rdx, [rsp + 0xac8]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xbb8], rax
mov rcx, qword [rsp + 0xbb8]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
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.14011fae0
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, [0x14024a9a8]
mov rdx, qword [rsp + 0xbc8]
lea rcx, [rsp + 0xad8]
call fcn.1400010b0
mov qword [rsp + 0xbd0], rax
mov rcx, qword [rsp + 0xbd0]
call fcn.14000f8f0
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, [0x14024a9e8]
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.1400020d0
lea r9, [rsp + 0xa90]
lea r8, [0x14024833c]
lea rdx, [rsp + 0xae0]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xbd8], rax
mov rcx, qword [rsp + 0xbd8]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xae0]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x14024839c]
lea rdx, [rsp + 0xae8]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xbe0], rax
mov rcx, qword [rsp + 0xbe0]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xae8]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x14024845c]
lea rdx, [rsp + 0xaf0]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xbe8], rax
mov rcx, qword [rsp + 0xbe8]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
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.14011fae0
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, [0x14024aa08]
mov rdx, qword [rsp + 0xbf8]
lea rcx, [rsp + 0xb00]
call fcn.1400010b0
mov qword [rsp + 0xc00], rax
mov rcx, qword [rsp + 0xc00]
call fcn.14000f8f0
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, [0x14024aa50]
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.1400020d0
lea r9, [rsp + 0xa90]
lea r8, [0x140248494]
lea rdx, [rsp + 0xb08]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xc08], rax
mov rcx, qword [rsp + 0xc08]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xb08]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x1402484a4]
lea rdx, [rsp + 0xb10]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xc10], rax
mov rcx, qword [rsp + 0xc10]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xb10]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x14024856c]
lea rdx, [rsp + 0xb18]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xc18], rax
mov rcx, qword [rsp + 0xc18]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
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.14011fae0
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, [0x14024aa70]
mov rdx, qword [rsp + 0xc28]
lea rcx, [rsp + 0xb28]
call fcn.1400010b0
mov qword [rsp + 0xc30], rax
mov rcx, qword [rsp + 0xc30]
call fcn.14000f8f0
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.140001490
nop
lea rcx, [rsp + 0xb20]
call fcn.140001490
lea rdx, [rsp + 0x290]
lea rcx, [rsp + 0x278]
call fcn.1400020d0
lea r9, [rsp + 0xa90]
lea r8, [0x140248784]
lea rdx, [rsp + 0xb30]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xc38], rax
mov rcx, qword [rsp + 0xc38]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
mov dword [rsp + 0x284], eax
lea rcx, [rsp + 0xb30]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x14024879c]
lea rdx, [rsp + 0xb38]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xc40], rax
mov rcx, qword [rsp + 0xc40]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
mov dword [rsp + 0x280], eax
lea rcx, [rsp + 0xb38]
call fcn.140001490
lea r9, [rsp + 0xa90]
lea r8, [0x1402489bc]
lea rdx, [rsp + 0xb40]
lea rcx, [rsp + 0x278]
call fcn.1400065a0
mov qword [rsp + 0xc48], rax
mov rcx, qword [rsp + 0xc48]
call fcn.14000f8f0
mov rcx, rax
call fcn.1400a99f8
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.14011fae0
nop
lea rcx, [rsp + 0x278]
call fcn.140001490
mov dword [rsp + 0xb48], 0
lea rcx, [rsp + 0x30]
call fcn.1401719d0
mov eax, dword [rsp + 0xb48]
jmp 0x140195f3f
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xdc8
call fcn.14000ce00
test eax, eax
je 0x140195cd6
lea rcx, [rsp + 0xb50]
call fcn.140001000
mov qword [rsp + 0xc50], rax
mov rax, qword [rsp + 0xc50]
mov qword [rsp + 0xc58], rax
lea r8, [0x14024aad8]
mov rdx, qword [rsp + 0xc58]
lea rcx, [rsp + 0xb58]
call fcn.1400010b0
mov qword [rsp + 0xc60], rax
mov rcx, qword [rsp + 0xc60]
call fcn.14000f8f0
mov r9, rax
xor r8d, r8d
lea rdx, [0x14024aaf0]
lea rcx, [0x14024ab08]
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.14000ce00
test eax, eax
je 0x140195d7d
lea rcx, [rsp + 0xb60]
call fcn.140001000
mov qword [rsp + 0xc68], rax
mov rax, qword [rsp + 0xc68]
mov qword [rsp + 0xc70], rax
lea r8, [0x14024ab20]
mov rdx, qword [rsp + 0xc70]
lea rcx, [rsp + 0xb68]
call fcn.1400010b0
mov qword [rsp + 0xc78], rax
mov rcx, qword [rsp + 0xc78]
call fcn.14000f8f0
mov r9, rax
xor r8d, r8d
lea rdx, [0x14024ab38]
lea rcx, [0x14024ab50]
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.14000ce00
test eax, eax
je 0x140195e24
lea rcx, [rsp + 0xb70]
call fcn.140001000
mov qword [rsp + 0xc80], rax
mov rax, qword [rsp + 0xc80]
mov qword [rsp + 0xc88], rax
lea r8, [0x14024ab68]
mov rdx, qword [rsp + 0xc88]
lea rcx, [rsp + 0xb78]
call fcn.1400010b0
mov qword [rsp + 0xc90], rax
mov rcx, qword [rsp + 0xc90]
call fcn.14000f8f0
mov r9, rax
xor r8d, r8d
lea rdx, [0x14024ab80]
lea rcx, [0x14024ab98]
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.140194230
xor eax, eax
jmp 0x140195f3f
mov qword [rsp + 0xa98], 0
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xe70
call fcn.14000ce00
test eax, eax
je 0x140195e77
mov rax, qword [rsp + 0xcb0]
add rax, 0xe70
mov qword [rsp + 0xa98], rax
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xdc8
call fcn.14000ce00
test eax, eax
je 0x140195ea5
mov rax, qword [rsp + 0xcb0]
add rax, 0xdc8
mov qword [rsp + 0xa98], rax
mov rcx, qword [rsp + 0xcb0]
add rcx, 0xf18
call fcn.14000ce00
test eax, eax
je 0x140195ed3
mov rax, qword [rsp + 0xcb0]
add rax, 0xf18
mov qword [rsp + 0xa98], rax
cmp qword [rsp + 0xa98], 0
jne 0x140195ee0
jmp 0x140195f3a
mov dword [rsp + 0xaa0], 0
jmp 0x140195efe
mov eax, dword [rsp + 0xaa0]
add eax, 1
mov dword [rsp + 0xaa0], eax
mov rcx, qword [rsp + 0xa98]
call fcn.14000cd90
cmp dword [rsp + 0xaa0], eax
jge 0x140195f36
mov r9d, 2
mov r8d, 2
mov edx, dword [rsp + 0xaa0]
mov rcx, qword [rsp + 0xa98]
call fcn.140082c04
jmp 0x140195eed
xor eax, eax
jmp 0x140195f3f
mov eax, 1
mov rcx, qword [rsp + 0xc98]
xor rcx, rsp
call fcn.1400a8790
add rsp, 0xca0
pop rdi
ret