Function at 0x4d8865
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x515170
call fcn.00484660
sub esp, 0x130
push ebx
push esi
push edi
mov dword [ebp - 0x28], ecx
and byte [ebp - 0x13c], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x13b]
mov dword [ebp - 4], 1
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x20]
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_5
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_5
push dword [ebp + 0xc]
mov edi, 0x104
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x13c]
push edi
mov ebx, 0x51a314
push eax
push ebx
push str.syspanel
mov byte [ebp - 4], 3
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x20]
push eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.type
push dword [ebp + 8]
call esi
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x34]
push eax
call sub.MFC42.DLL_CString::operator_2
push str.TRUE
push dword [ebp - 0x20]
call dword [sym.imp.MSVCRT.dll__mbsicmp]
pop ecx
test eax, eax
pop ecx
je 0x4d8cde
push 0x1c
call sub.MFC42.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x30], ecx
test ecx, ecx
mov byte [ebp - 4], 4
je 0x4d8944
push 0xa
call fcn.004fbc60
mov dword [ebp - 0x10], eax
jmp 0x4d8948
and dword [ebp - 0x10], 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 3
push edi
push eax
push ebx
push str.userpanel
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d897f
mov ecx, dword [ebp - 0x10]
push str.TRUE
push str.userpanel
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.userpanelver
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d89b4
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.userpanelver
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.PanelIndex
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d89e9
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.PanelIndex
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.grade
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8a1e
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.grade
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.type
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8a53
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.type
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.name
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8a88
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.name
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.panelid
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8abd
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.panelid
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push 0x576284
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8af2
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push 0x576284
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.domainid
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8b27
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.domainid
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.tipsinfo
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8b5c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.tipsinfo
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.iconUrl
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8b91
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.iconUrl
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.iconName
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8bc6
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.iconName
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
mov ebx, str.iconver
push ebx
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8bf8
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push ebx
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
mov ebx, str.valid
push edi
push eax
push str.TRUE
push ebx
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8c2e
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push ebx
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
mov ebx, str.bForbid
push edi
push eax
push str.FALSE
push ebx
push dword [ebp + 8]
call esi
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push ebx
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
mov ebx, 0x56f7c0
push edi
push eax
mov edi, str.stream
push ebx
push edi
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8cc8
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::CString_3
mov esi, 0x56f7ec
mov byte [ebp - 4], 5
push esi
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x4d8cab
push esi
jmp 0x4d8cac
push ebx
mov ecx, dword [ebp - 0x10]
push edi
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x10]
lea ecx, [eax + 0xe4]
call fcn.004d994f
jmp 0x4d93b1
push str.TRUE
push dword [ebp - 0x20]
call dword [sym.imp.MSVCRT.dll__mbsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x4d9337
push 0x56f7ec
push dword [ebp - 0x34]
call dword [sym.imp.MSVCRT.dll__mbsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x4d9337
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString_5
push 0x1c
mov byte [ebp - 4], 6
call sub.MFC42.DLL_operatornew
pop ecx
mov ecx, eax
mov dword [ebp - 0x1c], ecx
test ecx, ecx
mov byte [ebp - 4], 7
je 0x4d8d3b
push 0xa
call fcn.004fbc60
mov dword [ebp - 0x10], eax
jmp 0x4d8d3f
and dword [ebp - 0x10], 0
push dword [ebp + 0xc]
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x13c]
mov byte [ebp - 4], 6
push edi
push eax
push ebx
push str.pushtime
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8f18
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x24]
push eax
call sub.MFC42.DLL_CString::operator_2
push 0
call dword [sym.imp.MSVCRT.dll_time]
push dword [ebp - 0x24]
mov dword [ebp - 0x1c], eax
call dword [sym.imp.MSVCRT.dll_atoi]
cmp dword [ebp - 0x1c], eax
pop ecx
pop ecx
push str.TRUE
jbe 0x4d8e36
mov ecx, dword [ebp - 0x10]
push str.userpanel
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp - 0x10]
push 0x56f7c0
push str.type
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp - 0x10]
push 0x56f7c0
push str.grade
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
push 0
push str.syspanel
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push dword [ebp + 0xc]
push 0
push str.pushtime
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push dword [ebp + 0xc]
push 0
push str.PanelIndex
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push dword [ebp + 0xc]
push 0
push str.bFlash
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x18], 1
jmp 0x4d8f18
mov ecx, dword [ebp - 0x10]
push str.syspanel
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp - 0x10]
push 0x56f7ec
push str.type
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [ebp - 0x10]
push 0x575b88
push str.grade
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp - 0x24]
mov ecx, dword [ebp - 0x10]
push str.pushtime
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.PanelIndex
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8ec8
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.PanelIndex
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push str.FALSE
push str.bFlash
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8f01
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.bFlash
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
push 0
push str.userpanel
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
and dword [ebp - 0x18], 0
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.userpanelver
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8f4d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.userpanelver
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.name
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8f82
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.name
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.panelid
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d8fb7
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.panelid
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x30]
push eax
call sub.MFC42.DLL_CString::CString_3
push dword [ebp - 0x30]
mov byte [ebp - 4], 8
call dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
mov dword [ebp - 0x2c], eax
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push 0x576284
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d900c
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push 0x576284
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.domainid
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d9041
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.domainid
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.tipsinfo
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d9076
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.tipsinfo
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.iconUrl
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d90ab
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.iconUrl
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
push str.iconName
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d90e0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push str.iconName
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push ebx
mov ebx, str.iconver
push ebx
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d9112
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push ebx
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
mov ebx, str.valid
push edi
push eax
push str.TRUE
push ebx
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d9148
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push ebx
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x38]
push eax
call sub.MFC42.DLL_CString::CString_3
and dword [ebp - 0x14], 0
push str.TRUE
push dword [ebp - 0x38]
mov byte [ebp - 4], 9
call dword [sym.imp.MSVCRT.dll__mbsicoll]
pop ecx
test eax, eax
pop ecx
jne 0x4d917a
mov dword [ebp - 0x14], 1
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
mov ebx, str.bForbid
push edi
push eax
push str.FALSE
push ebx
push dword [ebp + 8]
call esi
test eax, eax
je 0x4d91b0
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x13c]
push eax
push ebx
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
mov ebx, 0x56f7c0
push edi
push eax
mov edi, str.stream
push ebx
push edi
push dword [ebp + 8]
call esi
xor esi, esi
cmp eax, esi
je 0x4d921c
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::CString_3
mov esi, 0x56f7ec
mov byte [ebp - 4], 0xa
push esi
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x4d91fd
push esi
jmp 0x4d91fe
push ebx
mov ecx, dword [ebp - 0x10]
push edi
call sub.MFC42.DLL_CMapStringToString::operator__
mov ecx, eax
call sub.MFC42.DLL_CString::operator_2
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
xor esi, esi
cmp dword [ebp - 0x18], esi
je 0x4d9305
mov edi, dword [ebp - 0x28]
push 1
push dword [ebp - 0x10]
lea ecx, [edi + 0xe4]
push esi
call fcn.004d9975
mov dword [ebp - 0x18], esi
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x10], esi
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
lea edx, [ebp - 0x18]
push edx
push 0x52cf30
mov eax, dword [eax + 0xd4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
jne 0x4d92a3
mov eax, dword [ebp - 0x10]
cmp eax, esi
je 0x4d9278
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x10], esi
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x10]
push edx
push 0x52cf40
mov ecx, dword [eax]
push eax
call dword [ecx]
test eax, eax
jne 0x4d92a3
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x14], esi
mov ecx, dword [eax]
je 0x4d929a
push esi
jmp 0x4d929c
push 1
push dword [ebp - 0x2c]
push eax
call dword [ecx + 0xc]
push 8
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x1c], eax
cmp eax, esi
mov byte [ebp - 4], 0xd
je 0x4d92be
and byte [eax + 4], 0
mov dword [eax], esi
jmp 0x4d92c0
xor eax, eax
mov ecx, dword [ebp - 0x2c]
cmp dword [ebp - 0x14], esi
mov byte [ebp - 4], 0xc
mov dword [eax], ecx
je 0x4d92d4
and byte [eax + 4], 0
jmp 0x4d92d8
mov byte [eax + 4], 1
push eax
lea ecx, [edi + 0x24]
call fcn.00472b2c
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xb
cmp eax, esi
je 0x4d92f2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], 9
cmp eax, esi
je 0x4d9316
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4d9316
mov eax, dword [ebp - 0x28]
push dword [ebp - 0x10]
lea ecx, [eax + 0xf8]
call fcn.004d994f
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 6
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x24]
jmp 0x4d93ac
push dword [ebp + 0xc]
lea eax, [ebp - 0x13c]
push edi
push eax
push str.TRUE
push str.valid
push dword [ebp + 8]
call esi
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_5
lea eax, [ebp - 0x13c]
lea ecx, [ebp - 0x14]
push eax
mov byte [ebp - 4], 0xe
call sub.MFC42.DLL_CString::operator_2
push str.FALSE
push dword [ebp - 0x14]
call dword [sym.imp.MSVCRT.dll__mbsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x4d93a5
push dword [ebp + 0xc]
push eax
push str.panelid
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4d93a5
push eax
mov eax, dword [ebp - 0x28]
lea ecx, [eax + 0x10c]
call fcn.0046dc31
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 8