Function at 0x50cd00
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, 0x554c48
call fcn.00470260
lea eax, [edi + 0x32c]
push str.PrntSettingPage_ThumbnailWnd_VLineLeft
call fcn.005080c0
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x50cd38
mov ecx, 0x54ee24
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50cd65
test ecx, ecx
je 0x50cd65
cmp word [ecx], ax
je 0x50cd65
mov eax, dword [esi + 4]
test eax, eax
jne 0x50cd5a
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 0x50cd79
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50cda0
test ecx, ecx
je 0x50cda0
cmp word [ecx], ax
je 0x50cda0
mov eax, dword [esi + 4]
test eax, eax
jne 0x50cd95
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 0x50cdb4
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50cddb
test ecx, ecx
je 0x50cddb
cmp word [ecx], ax
je 0x50cddb
mov eax, dword [esi + 4]
test eax, eax
jne 0x50cdd0
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 0x50cdff
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50ce26
test ecx, ecx
je 0x50ce26
cmp word [ecx], ax
je 0x50ce26
mov eax, dword [esi + 4]
test eax, eax
jne 0x50ce1b
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 0x50ce3a
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50ce61
test ecx, ecx
je 0x50ce61
cmp word [ecx], ax
je 0x50ce61
mov eax, dword [esi + 4]
test eax, eax
jne 0x50ce56
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 0x50ce75
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50ce9c
test ecx, ecx
je 0x50ce9c
cmp word [ecx], ax
je 0x50ce9c
mov eax, dword [esi + 4]
test eax, eax
jne 0x50ce91
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 0x50cec0
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50cee7
test ecx, ecx
je 0x50cee7
cmp word [ecx], ax
je 0x50cee7
mov eax, dword [esi + 4]
test eax, eax
jne 0x50cedc
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 0x50cefb
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50cf22
test ecx, ecx
je 0x50cf22
cmp word [ecx], ax
je 0x50cf22
mov eax, dword [esi + 4]
test eax, eax
jne 0x50cf17
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 0x50cf36
mov ecx, 0x54ee24
xor eax, eax
cmp dword [esi + 8], eax
jle 0x50cf5d
test ecx, ecx
je 0x50cf5d
cmp word [ecx], ax
je 0x50cf5d
mov eax, dword [esi + 4]
test eax, eax
jne 0x50cf52
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.0051bbf0
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 0x50cfda
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.0050d820
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