Function at 0x4309bd
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x4b3cbe
call sub.MSVCRT.dll__EH_prolog
sub esp, 0xe0
push ebx
push esi
mov esi, ecx
push edi
xor ebx, ebx
xor edi, edi
mov eax, dword [esi + 0x3c8]
cmp eax, ebx
jle 0x4309fd
mov eax, dword [esi + 0x3c4]
mov ecx, dword [eax + edi*4]
cmp ecx, ebx
je 0x4309f4
push 1
call fcn.0042e777
inc edi
cmp edi, dword [esi + 0x3c8]
jl 0x4309e0
push 0xffffffffffffffff
lea ecx, [esi + 0x3c0]
push ebx
call fcn.00427224
mov eax, dword [esi + 0x3dc]
xor edi, edi
dec eax
js 0x430a36
mov eax, dword [esi + 0x3d8]
mov ecx, dword [eax + edi*4]
cmp ecx, ebx
je 0x430a2a
push 1
call fcn.0042e777
mov eax, dword [esi + 0x3dc]
inc edi
dec eax
cmp edi, eax
jle 0x430a16
push 0xffffffffffffffff
lea ecx, [esi + 0x3d4]
push ebx
call fcn.00427224
mov dword [ebp - 0x20], ebx
mov eax, dword [esi + 0x34]
lea edx, [ebp - 0x20]
push edx
push 0x4c4670
mov ecx, dword [eax]
push eax
mov dword [ebp - 4], ebx
call dword [ecx]
test eax, eax
je 0x430a6d
mov eax, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
jmp 0x43101a
mov dword [ebp - 0x88], ebx
mov byte [ebp - 4], 1
mov dword [ebp - 0x84], ebx
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString_4
lea edi, [esi + 0x48]
mov byte [ebp - 4], 3
mov ecx, edi
mov dword [ebp - 0x80], 0x3e9
mov dword [ebp - 0x7c], 0x196
mov dword [ebp - 0x78], 0xd8f
mov dword [ebp - 0x74], 0x3eb
mov dword [ebp - 0x70], 0x165
mov dword [ebp - 0x6c], 0xd51
mov dword [ebp - 0x68], 0x3f3
mov dword [ebp - 0x64], 0x6f6
mov dword [ebp - 0x60], 0xd50
mov dword [ebp - 0x5c], 0x3f0
mov dword [ebp - 0x58], 0x724
mov dword [ebp - 0x54], 0xd54
mov dword [ebp - 0x50], 0x3ed
mov dword [ebp - 0x4c], 0x726
mov dword [ebp - 0x48], 0xd52
mov dword [ebp - 0x44], 0x3f4
mov dword [ebp - 0x40], 0x765
mov dword [ebp - 0x3c], 0x866c
call fcn.0044ceb6
cmp eax, ebx
mov dword [ebp - 0x18], eax
je 0x430b51
mov ecx, esi
call fcn.00431bee
test eax, eax
je 0x430b51
mov ecx, edi
call fcn.0044d198
lea ebx, [ebp - 0x80]
mov dword [ebp - 0x10], 6
mov eax, dword [ebx]
cmp eax, 0x3e9
je 0x430b49
push eax
mov ecx, edi
call fcn.0044d072
add ebx, 0xc
dec dword [ebp - 0x10]
jne 0x430b38
push 1
pop edi
cmp dword [ebp - 0x18], edi
je 0x430f62
cmp dword [ebp - 0x18], 2
je 0x430f62
push dword [esi + 0x3c]
lea ebx, [esi + 0x3c]
push 0
push str.PanelNum
push str.PanelInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, edi
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x18], edi
jl 0x430d5e
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_4
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 7
push 0x4fa784
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
push dword [ebx]
push 0
push str.panelid
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0x3e9
mov dword [ebp - 0x38], eax
jne 0x430bda
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
jmp 0x430d32
push dword [ebx]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push str.PanelIndex
push dword [ebp - 0x14]
call edi
push dword [ebx]
mov dword [ebp - 0x30], eax
push 0
push str.grade
push dword [ebp - 0x14]
call edi
and byte [ebp - 0xec], 0
push 0x18
mov dword [ebp - 0x2c], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0xeb]
rep stosd dword es:[edi], eax
push dword [ebx]
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0xec]
push 0x64
push eax
push 0
push str.syspanel
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x28
mov dword [ebp - 0x34], eax
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
mov dword [ebp - 0x24], edi
test edi, edi
mov byte [ebp - 4], 8
je 0x430c66
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 0x430c68
xor edi, edi
mov eax, dword [ebp - 0x38]
mov byte [ebp - 4], 7
mov dword [edi + 4], eax
mov ax, word [ebp - 0x30]
mov word [edi], ax
mov eax, dword [ebp - 0x18]
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x2c]
mov dword [edi + 0xc], eax
push dword [ebx]
lea eax, [ebp - 0xec]
push 0x64
push eax
push 0x4fa964
push str.valid
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0xec]
lea ecx, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
push 0x4fa954
mov byte [ebp - 4], 0xb
push dword [ebp - 0x10]
call dword [sym.imp.MSVCRT.dll__mbsicmp]
pop ecx
test eax, eax
pop ecx
jne 0x430ccf
and dword [edi + 0x24], eax
jmp 0x430cd6
mov dword [edi + 0x24], 1
cmp dword [ebp - 0x34], 0
je 0x430ce5
mov dword [edi + 0x10], 2
jmp 0x430cec
mov dword [edi + 0x10], 3
cmp dword [edi + 0x24], 0
push edi
jne 0x430d00
lea ecx, [esi + 0x3d4]
call fcn.00451c57
jmp 0x430d17
lea eax, [esi + 0x3c0]
mov ecx, esi
push eax
call fcn.00431b95
cmp dword [esi + 0x3c8], 0xd
jge 0x430d43
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
push 1
pop edi
inc dword [ebp - 0x18]
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x28]
jle 0x430b8d
jmp 0x430d5e
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
push 1
pop edi
push 0x28
call sub.MFC42.DLL_operatornew
pop ecx
mov dword [ebp - 0x10], eax
test eax, eax
mov byte [ebp - 4], 0xc
je 0x430d91
lea ecx, [eax + 0x18]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xd
lea ecx, [eax + 0x1c]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 0xc
jmp 0x430d93
xor eax, eax
push edi
push eax
mov byte [ebp - 4], 3
or word [eax], 0xffff
or dword [eax + 8], 0xffffffff
push 0
lea ecx, [esi + 0x3c0]
mov dword [eax + 4], 0x3e9
mov dword [eax + 0xc], edi
mov dword [eax + 0x10], edi
call fcn.00432177
and dword [ebp - 0x14], 0
cmp dword [esi + 0x3c8], 0
jle 0x430e57
mov eax, dword [ebp - 0x14]
and dword [ebp - 0x10], 0
mov ecx, dword [esi + 0x3c4]
shl eax, 2
mov dword [ebp - 0x28], eax
mov eax, dword [eax + ecx]
lea ecx, [ebp - 0x80]
mov edx, dword [eax + 4]
cmp edx, dword [ecx]
je 0x430e8b
inc dword [ebp - 0x10]
add ecx, 0xc
cmp dword [ebp - 0x10], 6
jb 0x430de6
push dword [ebp - 0x14]
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push ebx
call sub.MFC42.DLL_CString::CString_3
push dword [ebp - 0x14]
lea ecx, [esi + 0x3c0]
mov byte [ebp - 4], 3
call fcn.0049d580
mov eax, dword [eax]
lea ecx, [esi + 0x3c0]
push dword [eax + 4]
push dword [ebp - 0x14]
call fcn.0049d580
mov eax, dword [eax]
mov ecx, esi
push dword [eax + 8]
lea eax, [esi + 0x3c0]
push eax
push edi
call fcn.00431033
inc dword [ebp - 0x14]
mov eax, dword [ebp - 0x14]
cmp eax, dword [esi + 0x3c8]
jl 0x430dcd
xor edi, edi
cmp dword [esi + 0x3dc], edi
mov dword [ebp - 0x10], edi
jle 0x430fe1
mov ecx, dword [esi + 0x3d8]
xor eax, eax
mov ecx, dword [ecx + edi*4]
mov edx, dword [ecx + 4]
lea ecx, [ebp - 0x80]
cmp edx, dword [ecx]
je 0x430ebe
inc eax
add ecx, 0xc
cmp eax, 6
jb 0x430e79
jmp 0x430f0d
mov dword [eax + 0x14], edi
mov eax, dword [ebp - 0x10]
mov edx, dword [esi + 0x3c4]
lea ecx, [eax + eax*2]
mov eax, dword [ebp - 0x28]
mov edx, dword [eax + edx]
mov ecx, dword [ebp + ecx*4 - 0x7c]
mov dword [edx + 0x20], ecx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [esi + 0x3c4]
mov ecx, dword [eax + ecx]
add ecx, 0x18
call sub.MFC42.DLL_CString::operator_1
jmp 0x430e45
lea edi, [eax + eax*2]
lea ecx, [ebp - 0x1c]
shl edi, 2
push dword [ebp + edi - 0x78]
call sub.MFC42.DLL_CString::LoadStringA
mov ecx, dword [esi + 0x3d8]
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + edi - 0x7c]
mov ecx, dword [ecx + eax*4]
mov dword [ecx + 0x14], 1
mov ecx, dword [esi + 0x3d8]
mov ecx, dword [ecx + eax*4]
mov dword [ecx + 0x20], edx
lea ecx, [ebp - 0x1c]
push ecx
mov ecx, dword [esi + 0x3d8]
mov ecx, dword [ecx + eax*4]
add ecx, 0x18
call sub.MFC42.DLL_CString::operator_1
mov edi, dword [ebp - 0x10]
jmp 0x430f50
push edi
push ecx
mov ecx, esp
mov dword [ebp - 0x24], esp
push ebx
call sub.MFC42.DLL_CString::CString_3
push edi
lea ecx, [esi + 0x3d4]
mov byte [ebp - 4], 3
call fcn.0049d580
mov eax, dword [eax]
lea ecx, [esi + 0x3d4]
push dword [eax + 4]
push edi
call fcn.0049d580
mov eax, dword [eax]
mov ecx, esi
push dword [eax + 8]
lea eax, [esi + 0x3d4]
push eax
push 0
call fcn.00431033
inc edi
cmp edi, dword [esi + 0x3dc]
mov dword [ebp - 0x10], edi
jl 0x430e68
jmp 0x430fe1
lea ebx, [ebp - 0x7c]
mov dword [ebp - 0x10], 6
push 0x28
call sub.MFC42.DLL_operatornew
mov edi, eax
pop ecx
mov dword [ebp - 0x24], edi
test edi, edi
mov byte [ebp - 4], 4
je 0x430f9b
lea ecx, [edi + 0x18]
call sub.MFC42.DLL_CString::CString_4
lea ecx, [edi + 0x1c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString_4
mov byte [ebp - 4], 4
jmp 0x430f9d
xor edi, edi
mov eax, dword [ebx - 4]
mov byte [ebp - 4], 3
push 1
mov dword [edi + 4], eax
pop eax
or word [edi], 0xffff
or dword [edi + 8], 0xffffffff
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], eax
mov dword [edi + 0x14], eax
mov eax, dword [ebx]
lea ecx, [edi + 0x18]
mov dword [edi + 0x20], eax
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_CString::operator_1
push edi
lea ecx, [esi + 0x3c0]
call fcn.00451c57
add ebx, 0xc
dec dword [ebp - 0x10]
jne 0x430f6c
push dword [ebp + 8]
mov ecx, esi
call fcn.0043059c
mov esi, dword [esi + 0x34]
push esi
mov eax, dword [esi]
call dword [eax + 0x80]
mov eax, dword [ebp - 0x20]
push 0x3e9
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x20]
or dword [ebp - 4], 0xffffffff
test eax, eax
je 0x431022
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 4