Function at 0x10009f90
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x10014148
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x128
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x34]
push 0x104
mov esi, ecx
push eax
call fcn.10011980
add esp, 8
lea ecx, [esp + 0x34]
push str.Banlv.ini
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x34]
push edx
push 0
push str.Count
push str.ItemNumber
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
xor edi, edi
test eax, eax
mov dword [esp + 0x30], eax
jle 0x1000a0a8
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov dword [esp + 0x140], 0
call sub.MFC42.DLL_CString::CString
push edi
lea eax, [esp + 0x1c]
push str.Item_d
push eax
mov byte [esp + 0x14c], 1
call sub.MFC42.DLL_CString::Format
mov ebx, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x34]
push ecx
push 0x80
push 0x80
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
push ebx
push str.ItemNumber
call ebp
mov edx, dword [esp + 0x2c]
mov eax, dword [esi + 0x5c0]
push edx
push 0
push 0x180
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x140], 0
call fcn.10012fa2
lea ecx, [esp + 0x18]
mov dword [esp + 0x140], 0xffffffff
call fcn.10012fa2
mov eax, dword [esp + 0x30]
inc edi
cmp edi, eax
jl 0x10009ffe
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esi + 0x5c0]
xor edi, edi
push edi
push edi
push 0x18b
push ecx
mov dword [esp + 0x150], 2
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
jl 0x1000a11a
mov ebx, 0x10019664
lea edx, [esp + 0x24]
lea ecx, [esi + 0x5a0]
push edx
push edi
call sub.MFC42.DLL_CListBox::GetText
mov eax, dword [esp + 0x24]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [ebx], eax
mov ecx, dword [esi + 0x5c0]
inc edi
push 0
push 0
push 0x18b
push ecx
add ebx, 4
call dword [sym.imp.USER32.dll_SendMessageA]
cmp edi, eax
jle 0x1000a0db
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x34]
lea ecx, [esp + 0x1c]
push edx
push 0xff
push 0xff
mov byte [esp + 0x14c], 3
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
push 0x10015cc4
push str.HP_MP
call ebp
mov eax, dword [esp + 0x1c]
mov ecx, esi
push eax
push 0x138c
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x140], 4
push ecx
push 0xff
push 0xff
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
push 0x10015cc0
push str.HP_MP
call ebp
mov edx, dword [esp + 0x14]
mov ecx, esi
push edx
push 0x13a9
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 5
call sub.MFC42.DLL_CString::CString
mov bl, 6
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], bl
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0x34]
lea ecx, [esp + 0x10]
push eax
push 0xff
push 0xff
mov byte [esp + 0x14c], 7
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
push 0x10015cd8
push 0x10015c78
call ebp
lea ecx, [esp + 0x34]
push ecx
push 0xff
push 0xff
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
push 0x10015cd0
push 0x10015c78
call ebp
lea edx, [esp + 0x34]
push edx
push 0xff
push 0xff
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0
push 0x10015cc8
push 0x10015c78
call ebp
mov eax, dword [esp + 0x10]
mov ecx, esi
push eax
push 0x13be
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, dword [esp + 0x20]
push ecx
push 0x13bf
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov edx, dword [esp + 0x28]
mov ecx, esi
push edx
push 0x13d1
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetWindowTextA
lea ecx, [esp + 0x28]
mov byte [esp + 0x140], bl
call fcn.10012fa2
lea ecx, [esp + 0x20]
mov byte [esp + 0x140], 5
call fcn.10012fa2
lea ecx, [esp + 0x10]
mov byte [esp + 0x140], 4
call fcn.10012fa2
lea ecx, [esp + 0x14]
mov byte [esp + 0x140], 3
call fcn.10012fa2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x140], 2
call fcn.10012fa2
lea ecx, [esp + 0x24]
mov dword [esp + 0x140], 0xffffffff
call fcn.10012fa2
mov ecx, dword [esp + 0x138]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x134
ret