Function at 0x14002d5f0
Capabilities:
Read .ini file

Disassembly:
mov r11, rsp
push rbx
push rdi
push r12
push r14
push r15
sub rsp, 0x280
mov rax, qword [0x140067010]
xor rax, rsp
mov qword [rsp + 0x270], rax
mov rbx, qword [rsp + 0x2d0]
xor r12d, r12d
movdqa xmm0, xmmword [0x14005e080]
test edx, edx
mov eax, r12d
mov qword [rsp + 0x44], 0xffffffffffffffff
setne al
mov qword [rsp + 0x50], 0xffffffffffffffff
add eax, 0xb
mov qword [rsp + 0x58], 0xffffffffffffffff
mov dword [rsp + 0x30], eax
mov r15d, ecx
mov ecx, 0xffffffff
mov r14d, edx
mov dword [rsp + 0x4c], ecx
movdqu xmmword [rsp + 0x34], xmm0
test rbx, rbx
je 0x14002d854
mov qword [r11 + 8], rbp
lea edi, [rcx + 2]
mov qword [r11 + 0x18], rsi
test edx, edx
jne 0x14002d6a7
lea rsi, [rbx + 0x1c]
xor edx, edx
mov rcx, rsi
call fcn.14002bfb0
xor r8d, r8d
mov edx, edi
mov rcx, rbx
call fcn.14002cbf0
mov ebp, eax
test eax, eax
jne 0x14002d6df
cmp dword [rbx], r12d
jmp 0x14002d82c
cmp dword [rbx + 8], r12d
jne 0x14002d824
cmp dword [rbx + 0xc], r12d
jne 0x14002d824
cmp dword [rbx + 0x10], r12d
jne 0x14002d824
cmp dword [rbx], r12d
je 0x14002d824
mov eax, dword [rbx + 0x18]
test eax, eax
je 0x14002d827
mov ebp, edi
lea rsi, [rbx + 0x1c]
lea rax, str.CPanelMode
test r14d, r14d
lea rdx, str.Mode
mov r9, rsi
cmovne rdx, rax
lea rcx, str.Main
mov r8d, 0x1e
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
cmp eax, 0x1e
ja 0x14002d719
mov ecx, 0x400000e6
bt ecx, eax
jb 0x14002d71b
mov eax, edi
mov dword [rsp + 0x34], eax
lea rdx, str.ColorTemperature
lea rax, str.CPanelColorTemperature
test r14d, r14d
mov r9, rsi
lea rcx, str.Main
cmovne rdx, rax
mov r8d, 0x32
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
mov ecx, 0x64
lea rdx, str.EyeCareLevel
test eax, eax
mov r9, rsi
cmovs eax, r12d
cmp eax, ecx
lea r8d, [rcx - 0x62]
cmovg eax, ecx
test r14d, r14d
mov dword [rsp + 0x4c], eax
lea rcx, str.Main
lea rax, str.CPanelEyeCareLevel
cmovne rdx, rax
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
mov ecx, 4
mov r8d, 0x208
test eax, eax
cmovs eax, r12d
cmp eax, ecx
cmovg eax, ecx
xor edx, edx
lea rcx, [rsp + 0x60]
mov dword [rsp + 0x50], eax
call fcn.140034ac0
lea rax, str.GMMP_CP_
mov qword [rsp + 0x28], rsi
test r14d, r14d
mov dword [rsp + 0x20], 0x104
lea rdx, str.GMMP
cmovne rdx, rax
lea r9, [rsp + 0x60]
lea r8, [0x14005693c]
lea rcx, str.ICMTag
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x60]
cmp ax, word [0x14005693c]
je 0x14002d82e
test r14d, r14d
lea rax, str.CPanelColorSpaceMode
lea rdx, str.ColorSpaceMode
mov r9, rsi
cmovne rdx, rax
lea rcx, str.Main
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileIntW]
mov dword [rsp + 0x54], eax
jmp 0x14002d82e
mov eax, dword [rbx + 0x18]
mov ebp, r12d
test eax, eax
je 0x14002d831
mov edi, r12d
mov r9d, r15d
lea r8, [rsp + 0x30]
mov edx, edi
mov ecx, ebp
call fcn.140007850
mov rsi, qword [rsp + 0x2c0]
mov rbp, qword [rsp + 0x2b0]
jmp 0x14002d8a5
test r8d, r8d
je 0x14002d88e
cmp r8d, 1
je 0x14002d887
lea eax, [r8 - 2]
cmp eax, 1
jbe 0x14002d86c
xor eax, eax
jmp 0x14002d8a5
cmp r8d, 2
jne 0x14002d879
mov dword [rsp + 0x50], r9d
jmp 0x14002d893
cmp r8d, 3
cmove ecx, r9d
mov dword [rsp + 0x54], ecx
jmp 0x14002d893
mov dword [rsp + 0x4c], r9d
jmp 0x14002d893
mov dword [rsp + 0x34], r9d
xor edx, edx
lea r8, [rsp + 0x30]
mov r9d, r15d
lea ecx, [rdx + 1]
call fcn.140007850
mov rcx, qword [rsp + 0x270]
xor rcx, rsp
call fcn.140032e60
add rsp, 0x280
pop r15
pop r14
pop r12
pop rdi
pop rbx
ret