Function at 0x501c60
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, 0x53b7a8
call fcn.00466b30
lea eax, [edi + 0x32c]
push str.PrntSettingPage_ThumbnailWnd_VLineLeft
call fcn.004fcf00
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x501c98
mov ecx, 0x538640
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor eax, eax
cmp dword [esi + 8], eax
jle 0x501cc5
test ecx, ecx
je 0x501cc5
cmp word [ecx], ax
je 0x501cc5
mov eax, dword [esi + 4]
test eax, eax
jne 0x501cba
mov eax, 0x538640
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 0x501cd9
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x501d00
test ecx, ecx
je 0x501d00
cmp word [ecx], ax
je 0x501d00
mov eax, dword [esi + 4]
test eax, eax
jne 0x501cf5
mov eax, 0x538640
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 0x501d14
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x501d3b
test ecx, ecx
je 0x501d3b
cmp word [ecx], ax
je 0x501d3b
mov eax, dword [esi + 4]
test eax, eax
jne 0x501d30
mov eax, 0x538640
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.004fcf00
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x501d5f
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x501d86
test ecx, ecx
je 0x501d86
cmp word [ecx], ax
je 0x501d86
mov eax, dword [esi + 4]
test eax, eax
jne 0x501d7b
mov eax, 0x538640
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 0x501d9a
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x501dc1
test ecx, ecx
je 0x501dc1
cmp word [ecx], ax
je 0x501dc1
mov eax, dword [esi + 4]
test eax, eax
jne 0x501db6
mov eax, 0x538640
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 0x501dd5
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x501dfc
test ecx, ecx
je 0x501dfc
cmp word [ecx], ax
je 0x501dfc
mov eax, dword [esi + 4]
test eax, eax
jne 0x501df1
mov eax, 0x538640
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.004fcf00
mov eax, dword [esi + 0x10]
mov ecx, eax
test eax, eax
jne 0x501e20
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x501e47
test ecx, ecx
je 0x501e47
cmp word [ecx], ax
je 0x501e47
mov eax, dword [esi + 4]
test eax, eax
jne 0x501e3c
mov eax, 0x538640
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 0x501e5b
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x501e82
test ecx, ecx
je 0x501e82
cmp word [ecx], ax
je 0x501e82
mov eax, dword [esi + 4]
test eax, eax
jne 0x501e77
mov eax, 0x538640
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 0x501e96
mov ecx, 0x538640
xor eax, eax
cmp dword [esi + 8], eax
jle 0x501ebd
test ecx, ecx
je 0x501ebd
cmp word [ecx], ax
je 0x501ebd
mov eax, dword [esi + 4]
test eax, eax
jne 0x501eb2
mov eax, 0x538640
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.005109b0
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 0x501f3a
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.00502780
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.004fe830
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
pop ebp
ret 0x10