Function at 0x404cb8
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x440da2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov dword [ebp - 0x78], ecx
mov ecx, dword [ebp - 0x78]
call sub.MFC42.DLL_CView::CView
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x78]
add ecx, 0x60
call fcn.0043fa26
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x78]
mov dword [eax], vtable.CFapiView.0
call fcn.00402560
mov ecx, dword [ebp - 0x78]
mov dword [eax + 0x118], ecx
push 0x45391c
push 0
push str.OwnColorProfile
push 0x453938
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
neg eax
sbb eax, eax
neg eax
mov edx, dword [ebp - 0x78]
mov dword [edx + 0x5c], eax
lea ecx, [ebp - 0x10]
call fcn.0043fa26
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x78]
cmp dword [eax + 0x5c], 0
je 0x404d52
push 0x453940
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
jmp 0x404d5f
push 0x453948
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
push 0x45394c
push 0x64
lea ecx, [ebp - 0x74]
push ecx
push 0x453958
push str.BackgroundColor
lea ecx, [ebp - 0x10]
call fcn.00402550
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x78]
add edx, 0x44
push edx
push 0x45396c
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0x44]
push edx
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [ebp - 0x78]
mov dword [ecx + 0x58], eax
push 0x453970
push 0x64
lea edx, [ebp - 0x74]
push edx
push 0x45397c
push str.LabelColor
lea ecx, [ebp - 0x10]
call fcn.00402550
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x78]
add eax, 0x4c
push eax
push 0x453990
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
push 0x453994
push 0x64
lea edx, [ebp - 0x74]
push edx
push str.ffff00
push str.ValueColor
lea ecx, [ebp - 0x10]
call fcn.00402550
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x78]
add eax, 0x48
push eax
push 0x4539b4
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
push 0x4539b8
push 0x64
lea edx, [ebp - 0x74]
push edx
push str.00ffff
push str.MessageColor
lea ecx, [ebp - 0x10]
call fcn.00402550
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [ebp - 0x78]
add eax, 0x54
push eax
push 0x4539dc
lea ecx, [ebp - 0x74]
push ecx
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
mov edx, dword [ebp - 0x78]
mov eax, dword [edx + 0x54]
push eax
call fcn.004058ac
add esp, 4
push 0x4539e0
push 0x64
lea ecx, [ebp - 0x74]
push ecx
push str.a00000
push str.MessageBackground
lea ecx, [ebp - 0x10]
call fcn.00402550
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov edx, dword [ebp - 0x78]
add edx, 0x50
push edx
push 0x453a08
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0xc
mov ecx, dword [ebp - 0x78]
mov edx, dword [ecx + 0x50]
push edx
call fcn.0040587a
add esp, 4
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret