Function at 0x50cdc0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, eax
lea esi, [edi + 0x31c]
push esi
mov ecx, 0x554c58
call fcn.00470370
lea eax, [edi + 0x32c]
push str.PrntSettingPage_ThumbnailWnd_VLineLeft
call fcn.005080c0
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x50cdf8
mov ecx, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50ce25
test ecx, ecx
je 0x50ce25
cmp word [ecx], ax
je 0x50ce25
mov eax, dword [esi + 4]
test eax, eax
jne 0x50ce1a
mov eax, 0x54ee24
push eax
push 0
push str.ColorR
push ecx
call ebx
mov dword [edi + 0x8e4], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x50ce39
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50ce60
test ecx, ecx
je 0x50ce60
cmp word [ecx], ax
je 0x50ce60
mov eax, dword [esi + 4]
test eax, eax
jne 0x50ce55
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call ebx
mov dword [edi + 0x8e8], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x50ce74
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50ce9b
test ecx, ecx
je 0x50ce9b
cmp word [ecx], ax
je 0x50ce9b
mov eax, dword [esi + 4]
test eax, eax
jne 0x50ce90
mov eax, 0x54ee24
push eax
push 0
push str.ColorB
push ecx
call ebx
mov dword [edi + 0x8ec], eax
push str.PrntSettingPage_ThumbnailWnd_VLineRight
lea eax, [edi + 0x32c]
call fcn.005080c0
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x50cebf
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50cee6
test ecx, ecx
je 0x50cee6
cmp word [ecx], ax
je 0x50cee6
mov eax, dword [esi + 4]
test eax, eax
jne 0x50cedb
mov eax, 0x54ee24
push eax
push 0
push str.ColorR
push ecx
call ebx
mov dword [edi + 0x8f0], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x50cefa
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50cf21
test ecx, ecx
je 0x50cf21
cmp word [ecx], ax
je 0x50cf21
mov eax, dword [esi + 4]
test eax, eax
jne 0x50cf16
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call ebx
mov dword [edi + 0x8f4], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x50cf35
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50cf5c
test ecx, ecx
je 0x50cf5c
cmp word [ecx], ax
je 0x50cf5c
mov eax, dword [esi + 4]
test eax, eax
jne 0x50cf51
mov eax, 0x54ee24
push eax
push 0
push str.ColorB
push ecx
call ebx
mov dword [edi + 0x8f8], eax
push str.PrntSettingPage_ThumbnailWnd_HLineBottom
lea eax, [edi + 0x32c]
call fcn.005080c0
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x50cf80
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50cfa7
test ecx, ecx
je 0x50cfa7
cmp word [ecx], ax
je 0x50cfa7
mov eax, dword [esi + 4]
test eax, eax
jne 0x50cf9c
mov eax, 0x54ee24
push eax
push 0
push str.ColorR
push ecx
call ebx
mov dword [edi + 0x8fc], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x50cfbb
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50cfe2
test ecx, ecx
je 0x50cfe2
cmp word [ecx], ax
je 0x50cfe2
mov eax, dword [esi + 4]
test eax, eax
jne 0x50cfd7
mov eax, 0x54ee24
push eax
push 0
push str.ColorG
push ecx
call ebx
mov dword [edi + 0x900], eax
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x50cff6
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50d01d
test ecx, ecx
je 0x50d01d
cmp word [ecx], ax
je 0x50d01d
mov eax, dword [esi + 4]
test eax, eax
jne 0x50d012
mov eax, 0x54ee24
push eax
push 0
push str.ColorB
push ecx
call ebx
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
push edi
push 0x232c
mov dword [edi + 0x904], eax
mov eax, dword [ebp + 0xc]
push eax
push ecx
mov ecx, dword [ebp + 8]
push ebx
push 0
push 0
push 0
push 0x50000000
push 0
mov eax, str.ControlCenter4_wChildWndCls
mov edx, edi
call fcn.0051bcc0
mov edx, dword [ebp + 0xc]
mov esi, eax
mov dword [edi + 0x30], esi
mov dword [edi + 0x34], edx
mov byte [edi + 0x38], 1
test esi, esi
je 0x50d09a
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0x14]
push ebx
push esi
push ecx
push edi
mov dword [edi + 0x8d4], eax
call fcn.0050d8e0
mov edx, dword [ebp + 0x14]
dec edx
push edx
mov edx, dword [ebp + 8]
lea ecx, [eax + eax]
sub ebx, ecx
push ebx
mov dword [edi + 0x8d8], eax
push edx
mov edx, eax
add edi, 0x3c
mov eax, esi
call fcn.005099b0
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10