Function at 0x4312ae
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4b3da8
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x88
push ebx
push esi
push edi
mov esi, ecx
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
mov eax, dword [esi + 0x34]
lea edx, [ebp - 0x14]
push edx
push 0x4c4670
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 1
call dword [ecx]
test eax, eax
jne 0x43175a
cmp dword [ebp + 8], edi
jne 0x43169b
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString_4
push dword [esi + 0x3c]
mov byte [ebp - 4], 2
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push str.PanelNum
push str.PanelInfo
call edi
push 1
mov dword [ebp - 0x20], eax
pop ecx
cmp eax, ecx
mov dword [ebp - 0x10], ecx
jl 0x431681
mov ebx, 0x4fa784
push dword [ebp - 0x10]
lea eax, [ebp + 8]
push ebx
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push dword [esi + 0x3c]
push 0
push str.panelid
push dword [ebp + 8]
call edi
test eax, eax
je 0x431353
mov edx, dword [ebp + 0xc]
cmp eax, edx
je 0x431363
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x20]
jle 0x431329
jmp 0x431681
cmp dword [ebp - 0x10], 0
jle 0x431681
mov eax, dword [esi + 0x3c8]
or dword [ebp - 0x20], 0xffffffff
push 1
dec eax
pop ecx
cmp eax, ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], ecx
jl 0x4313bc
mov ecx, dword [esi + 0x3c4]
add ecx, 4
mov edi, dword [ecx]
cmp dword [edi + 4], edx
jne 0x4313a7
cmp dword [edi + 0x10], 1
je 0x4313a3
mov edi, dword [ebp - 0x24]
mov dword [ebp - 0x20], edi
jmp 0x4313a7
and dword [ebp - 0x18], 0
inc dword [ebp - 0x24]
add ecx, 4
cmp dword [ebp - 0x24], eax
jle 0x43138e
cmp dword [ebp - 0x18], 0
je 0x431681
and byte [ebp - 0x94], 0
push 0x18
pop ecx
xor eax, eax
lea edi, [ebp - 0x93]
push dword [ebp - 0x10]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp + 8]
push ebx
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push dword [esi + 0x3c]
lea eax, [ebp - 0x94]
mov ebx, 0x4fa964
push 0x64
push eax
push ebx
push 0x4fa9b4
push dword [ebp + 8]
call edi
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x30]
push eax
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [ebp - 0x30]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString_3
push dword [ebp + 0xc]
lea ecx, [esi + 0x36c]
mov byte [ebp - 4], 3
call fcn.00431eb5
push dword [esi + 0x3c]
lea eax, [ebp - 0x94]
push 0x64
push eax
push ebx
push str.iconName
push dword [ebp + 8]
call edi
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 5
push eax
lea eax, [esi + 0x44]
push eax
lea eax, [ebp - 0x18]
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
push dword [esi + 0x3c]
lea eax, [ebp - 0x94]
push 0x64
push eax
push ebx
push str.tipsinfo
push dword [ebp + 8]
call edi
lea eax, [ebp - 0x94]
lea ecx, [ebp - 0x2c]
push eax
call sub.MFC42.DLL_CString::CString_2
push dword [esi + 0x3c]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov byte [ebp - 4], 7
push 0
push str.PanelIndex
push dword [ebp + 8]
call edi
push dword [esi + 0x3c]
mov ebx, eax
push 0
push str.grade
push dword [ebp + 8]
call edi
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
cmp ecx, 0xffffffff
je 0x431570
mov edx, dword [ebp + 0xc]
mov edi, ecx
mov ecx, dword [esi + 0x3c4]
shl edi, 2
mov ecx, dword [edi + ecx]
mov dword [ecx + 4], edx
mov ecx, dword [esi + 0x3c4]
mov edx, dword [ebp - 0x10]
mov ecx, dword [edi + ecx]
mov word [ecx], bx
mov ecx, dword [esi + 0x3c4]
mov ecx, dword [edi + ecx]
mov dword [ecx + 8], edx
mov ecx, dword [esi + 0x3c4]
mov ecx, dword [edi + ecx]
mov dword [ecx + 0xc], eax
mov eax, dword [esi + 0x3c4]
mov eax, dword [edi + eax]
mov dword [eax + 0x10], 3
mov eax, dword [esi + 0x3c4]
mov eax, dword [edi + eax]
and dword [eax + 0x14], 0
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [esi + 0x3c4]
mov ecx, dword [edi + eax]
add ecx, 0x1c
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x2c]
push eax
mov eax, dword [esi + 0x3c4]
mov ecx, dword [edi + eax]
add ecx, 0x18
call sub.MFC42.DLL_CString::operator_1
jmp 0x4315ef
push 0x28
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
mov dword [ebp - 0x20], edi
test edi, edi
mov byte [ebp - 4], 8
je 0x43159f
lea ecx, [edi + 0x18]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString_4
mov byte [ebp - 4], 8
jmp 0x4315a1
xor edi, edi
mov eax, dword [ebp + 0xc]
mov byte [ebp - 4], 7
mov dword [edi + 4], eax
mov eax, dword [ebp - 0x10]
and dword [edi + 0x14], 0
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x18]
lea ecx, [edi + 0x1c]
mov dword [edi + 0xc], eax
lea eax, [ebp - 0x1c]
push eax
mov word [edi], bx
mov dword [edi + 0x10], 3
call sub.MFC42.DLL_CString::operator_1
lea eax, [ebp - 0x2c]
lea ecx, [edi + 0x18]
push eax
call sub.MFC42.DLL_CString::operator_1
cmp dword [ebp + 0x14], 0
jne 0x431620
push edi
lea ecx, [esi + 0x3c0]
call fcn.00451c57
mov eax, dword [esi + 0x34]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x80]
cmp dword [ebp + 0x14], 0
jne 0x431620
mov eax, dword [esi + 0x34]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x84]
test eax, eax
je 0x431620
mov eax, dword [ebp - 0x14]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
and dword [ebp - 0x28], 0
mov esi, dword [esi + 0x38]
lea ecx, [ebp - 0x28]
push ecx
push 0x4cb348
mov eax, dword [esi]
push esi
mov byte [ebp - 4], 0xb
call dword [eax + 0x1c]
mov eax, dword [ebp - 0x28]
test eax, eax
je 0x43164f
push dword [ebp - 0x10]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp - 0x28]
test eax, eax
mov byte [ebp - 4], 7
je 0x43165d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
and byte [ebp - 4], 0
test eax, eax
jmp 0x431763
cmp dword [ebp + 8], 1
jne 0x4316fc
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString_4
push 0xd4e
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CString::LoadStringA
push 0x558
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::LoadStringA
push 0x40
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [esi + 0x368]
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
jmp 0x431755
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString_4
push 0xd4f
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CString::LoadStringA
push 0x558
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::LoadStringA
push 0x40
push dword [ebp + 0xc]
push dword [ebp + 0x14]
push dword [esi + 0x368]
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x14]
and byte [ebp - 4], 0
cmp eax, edi
je 0x43176b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10