Function at 0x140039000
Capabilities:
Read .ini file

Disassembly:
mov r11, rsp
push rbp
push rbx
push rdi
push r12
push r13
push r15
lea rbp, [r11 - 0x1c8]
sub rsp, 0x298
mov rax, qword [0x140079010]
xor rax, rsp
mov qword [rbp + 0x180], rax
mov rbx, qword [rbp + 0x1f0]
xor r13d, r13d
movdqa xmm0, xmmword [0x14006e150]
test edx, edx
mov eax, r13d
mov qword [rsp + 0x44], 0xffffffffffffffff
setne al
mov qword [rsp + 0x50], 0xffffffffffffffff
add eax, 0xd
mov qword [rsp + 0x58], 0xffffffffffffffff
mov dword [rsp + 0x30], eax
mov r12d, ecx
mov qword [rsp + 0x60], 0xffffffffffffffff
mov ecx, 0xffffffff
mov dword [rsp + 0x4c], ecx
mov r15d, edx
movdqu xmmword [rsp + 0x34], xmm0
test rbx, rbx
je 0x140039276
mov qword [r11 + 8], rsi
lea edi, [rcx + 2]
mov qword [r11 - 0x38], r14
test edx, edx
jne 0x1400390c7
lea rsi, [rbx + 0x20]
xor edx, edx
mov rcx, rsi
call fcn.140037840
xor r8d, r8d
mov edx, edi
mov rcx, rbx
call fcn.1400384c0
mov r14d, eax
test eax, eax
jne 0x140039100
cmp dword [rbx], r13d
jmp 0x14003924d
cmp dword [rbx + 8], r13d
jne 0x140039245
cmp dword [rbx + 0xc], r13d
jne 0x140039245
cmp dword [rbx + 0x10], r13d
jne 0x140039245
cmp dword [rbx], r13d
je 0x140039245
mov eax, dword [rbx + 0x18]
test eax, eax
je 0x140039248
mov r14d, edi
lea rsi, [rbx + 0x20]
lea rax, str.CPanelMode
test r15d, r15d
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 0x14003913a
mov ecx, 0x400000e6
bt ecx, eax
jb 0x14003913c
mov eax, edi
mov dword [rsp + 0x34], eax
lea rdx, str.ColorTemperature
lea rax, str.CPanelColorTemperature
test r15d, r15d
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, r13d
cmp eax, ecx
lea r8d, [rcx - 0x62]
cmovg eax, ecx
test r15d, r15d
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, r13d
cmp eax, ecx
cmovg eax, ecx
xor edx, edx
lea rcx, [rsp + 0x70]
mov dword [rsp + 0x50], eax
call fcn.1400423d0
lea rax, str.GMMP_CP_
mov qword [rsp + 0x28], rsi
test r15d, r15d
mov dword [rsp + 0x20], 0x104
lea rdx, str.GMMP
cmovne rdx, rax
lea r9, [rsp + 0x70]
lea r8, [0x140064c30]
lea rcx, str.ICMTag
call qword [sym.imp.api_ms_win_core_privateprofile_l1_1_0.dll_GetPrivateProfileStringW]
movzx eax, word [rsp + 0x70]
cmp ax, word [0x140064c30]
je 0x14003924f
test r15d, r15d
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 0x14003924f
mov eax, dword [rbx + 0x18]
mov r14d, r13d
test eax, eax
je 0x140039252
mov edi, r13d
mov r9d, r12d
lea r8, [rsp + 0x30]
mov edx, edi
mov ecx, r14d
call fcn.140007d20
mov r14, qword [rsp + 0x290]
mov rsi, qword [rsp + 0x2d0]
jmp 0x1400392c7
test r8d, r8d
je 0x1400392b0
cmp r8d, 1
je 0x1400392a9
lea eax, [r8 - 2]
cmp eax, 1
jbe 0x14003928e
xor eax, eax
jmp 0x1400392c7
cmp r8d, 2
jne 0x14003929b
mov dword [rsp + 0x50], r9d
jmp 0x1400392b5
cmp r8d, 3
cmove ecx, r9d
mov dword [rsp + 0x54], ecx
jmp 0x1400392b5
mov dword [rsp + 0x4c], r9d
jmp 0x1400392b5
mov dword [rsp + 0x34], r9d
xor edx, edx
lea r8, [rsp + 0x30]
mov r9d, r12d
lea ecx, [rdx + 1]
call fcn.140007d20
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.1400406e0
add rsp, 0x298
pop r15
pop r13
pop r12
pop rdi
pop rbx
pop rbp
ret