Function at 0x4a7718
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4ebd0a
call fcn.00471450
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, 0x54ce68
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 0x4a7bd9
push dword [esi + 0x704]
push eax
push str.panelid
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4a7cf4
cmp eax, ebx
jne 0x4a7cf4
and dword [ebp - 0x14], 0
lea eax, [esi + 0x720]
push eax
push ebx
mov ecx, esi
call fcn.004a7d1d
test eax, eax
mov dword [ebp - 0x28], eax
jle 0x4a77db
mov ecx, dword [esi + 0x728]
dec ecx
cmp eax, ecx
jg 0x4a77db
mov ecx, dword [esi + 0x724]
push 1
mov ecx, dword [ecx + eax*4]
pop eax
cmp dword [ecx + 0x14], eax
je 0x4a7cf4
mov dword [ebp - 0x14], eax
and dword [ebp - 0x18], 0
lea eax, [esi + 0x734]
push eax
push ebx
mov ecx, esi
call fcn.004a7d1d
mov edi, eax
xor ebx, ebx
cmp edi, ebx
mov dword [ebp - 0x24], edi
jle 0x4a781c
mov eax, dword [esi + 0x73c]
dec eax
cmp edi, eax
jg 0x4a781c
mov eax, dword [esi + 0x738]
push 1
mov ecx, dword [eax + edi*4]
pop eax
cmp dword [ecx + 0x14], eax
je 0x4a7cf4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ebx
mov eax, dword [esi + 0x148]
lea edx, [ebp - 0x20]
push edx
push 0x4f5028
mov ecx, dword [eax]
push eax
mov byte [ebp - 4], 2
call dword [ecx]
test eax, eax
je 0x4a7849
mov eax, dword [ebp - 0x20]
mov byte [ebp - 4], 1
cmp eax, ebx
jmp 0x4a7bc8
cmp dword [ebp - 0x14], ebx
mov dword [ebp + 8], ebx
je 0x4a785f
mov eax, dword [esi + 0x724]
mov ecx, dword [ebp - 0x28]
mov eax, dword [eax + ecx*4]
jmp 0x4a7891
cmp dword [ebp - 0x18], ebx
je 0x4a786f
mov eax, dword [esi + 0x738]
mov eax, dword [eax + edi*4]
jmp 0x4a7891
push 0x50
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x4a788b
mov ecx, eax
call fcn.00499894
jmp 0x4a788d
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 + 0x550]
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 + 0x704]
lea eax, [ebp - 0x134]
push 0x104
push eax
push 0x4f423c
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 + 0x19c]
mov byte [ebp - 4], 5
push dword [eax]
call fcn.004ac6f9
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 0x4a795c
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 0x4a79ed
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, 0x4f4da8
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 0x4a7997
test eax, eax
jne 0x4a79d1
test eax, eax
je 0x4a79a5
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 0x4a7ba5
test eax, eax
je 0x4a7ba5
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 0x4a79ed
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 0x4a7a11
mov edi, dword [eax]
mov ecx, dword [esi + 0x58]
mov ebx, dword [ecx]
cmp edi, dword [ebx]
je 0x4a7a21
inc dword [ebp - 0x1c]
add ecx, 4
cmp dword [ebp - 0x1c], edx
jl 0x4a7a00
mov ecx, dword [esi]
push 0
push dword [eax]
push esi
call dword [ecx + 0x138]
mov eax, dword [ebp + 8]
xor ecx, ecx
cmp dword [ebp - 0x14], ecx
je 0x4a7a62
mov eax, dword [esi + 0x148]
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 0x4a7b1d
cmp dword [esi + 0x728], 0xe
jge 0x4a7abc
cmp dword [ebp + 0x14], ecx
jne 0x4a7abc
push eax
lea ecx, [esi + 0x720]
call fcn.0046c74f
mov eax, dword [esi + 0x148]
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 0x4a7b1d
mov dword [eax + 0x10], ecx
mov eax, dword [ebp + 8]
lea ecx, [esi + 0x550]
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 0x4a7afb
mov edi, dword [edx]
mov ecx, dword [esi + 0x58]
mov ebx, dword [ecx]
cmp edi, dword [ebx]
je 0x4a7b0b
inc dword [ebp - 0x14]
add ecx, 4
cmp dword [ebp - 0x14], eax
jl 0x4a7aea
mov eax, dword [esi]
push 1
push dword [edx]
push esi
call dword [eax + 0x138]
mov edx, dword [ebp + 8]
cmp dword [ebp - 0x24], 0xffffffff
jne 0x4a7b1d
push edx
lea ecx, [esi + 0x734]
call fcn.0046c74f
push dword [ebp - 0x18]
call dword [sym.imp.USER32.dll_DestroyIcon]
xor edi, edi
cmp dword [ebp - 0x2c], edi
jne 0x4a7b76
mov eax, dword [esi + 0x148]
push dword [ebp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 0xb8]
cmp eax, 1
jne 0x4a7b52
push 0x40
push 0x558
push 0x8491
jmp 0x4a7b87
cmp eax, edi
je 0x4a7b8e
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 + 0x148]
push edi
push esi
mov eax, dword [esi]
call dword [eax + 0x90]
jmp 0x4a7b8e
cmp dword [ebp + 0x14], edi
jne 0x4a7b8e
push 0x40
push 0x558
push 0x851c
mov ecx, esi
call fcn.004a66f7
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 0x4a7bc8
test eax, eax
mov byte [ebp - 4], 5
je 0x4a7bb3
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 0x4a7cf4
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x4a7cf4
cmp dword [ebp + 8], 1
jne 0x4a7bec
push ebx
mov ecx, esi
call fcn.004a9671
jmp 0x4a7cf4
mov ecx, dword [esi + 0x5c]
mov dword [ebp + 0xc], eax
cmp ecx, eax
jle 0x4a7c0e
mov eax, dword [esi + 0x58]
mov edx, dword [eax]
cmp ebx, dword [edx]
je 0x4a7cf4
inc dword [ebp + 0xc]
add eax, 4
cmp dword [ebp + 0xc], ecx
jl 0x4a7bf9
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 0x552c74
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 + 0x148]
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