Function at 0x4a8591
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4fa016
call fcn.00475fe0
sub esp, 0x128
push ebx
push esi
push edi
mov esi, ecx
and byte [ebp - 0x134], 0
push 0x40
pop ecx
xor eax, eax
lea edi, [ebp - 0x133]
and dword [ebp - 4], 0
rep stosd dword es:[edi], eax
and dword [ebp - 0x2c], 0
lea ecx, [ebp - 0x10]
stosw word es:[edi], ax
stosb byte es:[edi], al
call sub.MFC42.DLL_CString::CString_4
mov ebx, dword [ebp + 0xc]
mov edi, 0x551760
push ebx
lea eax, [ebp - 0x10]
push edi
push eax
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::Format
xor eax, eax
add esp, 0xc
cmp dword [ebp + 8], eax
jne 0x4a8a52
push dword [esi + 0x808]
push eax
push str.panelid
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4a8b6d
cmp eax, ebx
jne 0x4a8b6d
and dword [ebp - 0x14], 0
lea eax, [esi + 0x824]
push eax
push ebx
mov ecx, esi
call fcn.004a8b96
test eax, eax
mov dword [ebp - 0x28], eax
jle 0x4a8654
mov ecx, dword [esi + 0x82c]
dec ecx
cmp eax, ecx
jg 0x4a8654
mov ecx, dword [esi + 0x828]
push 1
mov ecx, dword [ecx + eax*4]
pop eax
cmp dword [ecx + 0x14], eax
je 0x4a8b6d
mov dword [ebp - 0x14], eax
and dword [ebp - 0x18], 0
lea eax, [esi + 0x838]
push eax
push ebx
mov ecx, esi
call fcn.004a8b96
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x24], edi
jle 0x4a8695
mov eax, dword [esi + 0x840]
dec eax
cmp edi, eax
jg 0x4a8695
mov eax, dword [esi + 0x83c]
push 1
mov ecx, dword [eax + edi*4]
pop eax
cmp dword [ecx + 0x14], eax
je 0x4a8b6d
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ebx
mov eax, dword [esi + 0x238]
lea edx, [ebp - 0x20]
push edx
push 0x5030d8
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 2
call dword [ecx]
test eax, eax
je 0x4a86c2
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
cmp eax, ebx
jmp 0x4a8a41
cmp dword [ebp - 0x14], ebx
mov dword [ebp + 8], ebx
je 0x4a86d8
mov eax, dword [esi + 0x828]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + ecx*4]
jmp 0x4a870a
cmp dword [ebp - 0x18], ebx
je 0x4a86e8
mov eax, dword [esi + 0x83c]
mov eax, dword [eax + edi*4]
jmp 0x4a870a
push 0x50
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x4a8704
mov ecx, eax
call fcn.0049e7ed
jmp 0x4a8706
xor eax, eax
mov byte [ebp - 4], 2
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push ecx
lea eax, [ebp - 0x10]
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call sub.MFC42.DLL_CString::CString_3
lea ebx, [esi + 0x654]
mov byte [ebp - 4], 2
mov ecx, ebx
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CDataProcessing::SetPanelBasicInfoByIniID_class_CString__struct_PANEL_INFO___]
lea eax, [ebp + 8]
mov ecx, ebx
push eax
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CDataProcessing::SetPanelExInfoDisk_struct_PANEL_INFO___]
push dword [esi + 0x808]
lea eax, [ebp - 0x134]
push 0x104
push eax
push 0x50229c
push str.name
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x134]
lea ecx, [ebp - 0x30]
push eax
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp + 8]
push ecx
add eax, 0x38
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x2a0]
mov byte [ebp - 4], 5
push dword [eax]
call fcn.004ad028
mov eax, dword [ebp + 8]
push 0x10
mov edi, dword [sym.imp.USER32.dll_LoadImageA]
pop ebx
mov eax, dword [eax + 0x30]
push ebx
push ebx
push ebx
push 1
push eax
push 0
call edi
test eax, eax
mov dword [ebp - 0x18], eax
jne 0x4a87d5
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push 0
push ebx
push ebx
push 1
push 0x196
push eax
call edi
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x14], 0
jne 0x4a8866
and dword [ebp - 0x1c], 0
mov byte [ebp - 4], 7
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
lea edx, [ebp - 0x1c]
mov edi, 0x502e58
push edx
mov eax, dword [eax + 0xd4]
push edi
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
test eax, eax
mov eax, dword [ebp - 0x1c]
jl 0x4a8810
test eax, eax
jne 0x4a884a
test eax, eax
je 0x4a881e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
and dword [ebp - 0x1c], 0
call sub.MFC42.DLL_AfxGetAppModuleState
mov eax, dword [eax + 4]
lea edx, [ebp - 0x1c]
push edx
push edi
mov eax, dword [eax + 0xd4]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
mov eax, dword [ebp - 0x1c]
jl 0x4a8a1e
test eax, eax
je 0x4a8a1e
push dword [ebp + 0xc]
mov ecx, dword [eax]
push 1
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 5
test eax, eax
je 0x4a8866
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov edx, dword [esi + 0x5c]
and dword [ebp - 0x1c], 0
mov eax, dword [ebp + 8]
test edx, edx
jle 0x4a888a
mov edi, dword [eax]
mov ecx, dword [esi + 0x58]
mov ebx, dword [ecx]
cmp edi, dword [ebx]
je 0x4a889a
inc dword [ebp - 0x1c]
add ecx, 4
cmp dword [ebp - 0x1c], edx
jl 0x4a8879
mov ecx, dword [esi]
push 0
push dword [eax]
push esi
call dword [ecx + 0x13c]
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [ebp - 0x14], ecx
je 0x4a88db
mov eax, dword [esi + 0x238]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
push dword [ebp - 0x18]
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0x18]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x20]
mov eax, dword [eax + 0x24]
mov edx, dword [ecx]
push eax
push dword [ebp - 0x28]
push 2
push ecx
call dword [edx + 0x20]
jmp 0x4a8996
cmp dword [esi + 0x82c], 0xe
jge 0x4a8935
cmp dword [ebp + 0x14], ecx
jne 0x4a8935
push eax
lea ecx, [esi + 0x824]
call fcn.004acdbd
mov eax, dword [esi + 0x238]
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc8]
mov eax, dword [ebp - 0x20]
or dword [ebp - 0x14], 0xffffffff
lea edx, [ebp - 0x14]
mov ecx, dword [eax]
push edx
push dword [ebp - 0x18]
push 2
push eax
call dword [ecx + 0xc]
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x28], edx
mov eax, dword [eax + 0x24]
mov edi, dword [ecx]
push eax
push edx
push 2
push ecx
call dword [edi + 0x20]
jmp 0x4a8996
mov dword [eax + 0x10], ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x654]
mov dword [ebp - 0x2c], 1
push dword [eax]
call dword [sym.imp.QQBaseClassInDll.dll_public:_void___thiscall_CDataProcessing::HideIniPanel_unsigned_long_int_]
mov eax, dword [esi + 0x5c]
and dword [ebp - 0x14], 0
mov edx, dword [ebp + 8]
test eax, eax
jle 0x4a8974
mov edi, dword [edx]
mov ecx, dword [esi + 0x58]
mov ebx, dword [ecx]
cmp edi, dword [ebx]
je 0x4a8984
inc dword [ebp - 0x14]
add ecx, 4
cmp dword [ebp - 0x14], eax
jl 0x4a8963
mov eax, dword [esi]
push 1
push dword [edx]
push esi
call dword [eax + 0x13c]
mov edx, dword [ebp + 8]
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4a8996
push edx
lea ecx, [esi + 0x838]
call fcn.004acdbd
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_DestroyIcon]
xor edi, edi
cmp dword [ebp - 0x2c], edi
jne 0x4a89ef
mov eax, dword [esi + 0x238]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb8]
cmp eax, 1
jne 0x4a89cb
push 0x40
push 0x558
push 0x8491
jmp 0x4a8a00
cmp eax, edi
je 0x4a8a07
mov eax, dword [ebp - 0x20]
push dword [ebp - 0x28]
mov ecx, dword [eax]
push 2
push eax
call dword [ecx + 0x2c]
mov esi, dword [esi + 0x238]
push edi
push esi
mov eax, dword [esi]
call dword [eax + 0x90]
jmp 0x4a8a07
cmp dword [ebp + 0x14], edi
jne 0x4a8a07
push 0x40
push 0x558
push 0x851c
mov ecx, esi
call fcn.004a7575
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
cmp eax, edi
jmp 0x4a8a41
test eax, eax
mov byte [ebp - 4], 5
je 0x4a8a2c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
test eax, eax
je 0x4a8b6d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4a8b6d
cmp dword [ebp + 8], 1
jne 0x4a8a65
push ebx
mov ecx, esi
call fcn.004aa4f1
jmp 0x4a8b6d
mov ecx, dword [esi + 0x5c]
mov dword [ebp + 0xc], eax
cmp ecx, eax
jle 0x4a8a87
mov eax, dword [esi + 0x58]
mov edx, dword [eax]
cmp ebx, dword [edx]
je 0x4a8b6d
inc dword [ebp + 0xc]
add eax, 4
cmp dword [ebp + 0xc], ecx
jl 0x4a8a72
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString_4
push 0x843d
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::LoadStringA
lea ecx, [ebp + 0x14]
call sub.MFC42.DLL_CString::CString_4
push ebx
lea eax, [ebp + 0x14]
push edi
push eax
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea eax, [ebp + 0xc]
push 0x557448
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MFC42.DLL_operator_3
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0x24]
push eax
call sub.MFC42.DLL_operator_2
push eax
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 0xa
call sub.MFC42.DLL_CString::CString
push 0x558
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::LoadStringA
mov esi, dword [esi + 0x238]
lea ecx, [ebp - 0x2c]
push ecx
push esi
mov eax, dword [esi]
call dword [eax + 0x4c]
push 0x40
push dword [ebp + 8]
push dword [ebp + 0xc]
push dword [ebp - 0x2c]
call dword [sym.imp.USER32.dll_MessageBoxA]
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 8]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
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