Function at 0x4815a0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b906b
push eax
mov dword fs:[0], esp
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov ebp, ecx
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x4815d0
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x4815d2
xor eax, eax
lea ebx, [eax + 0x138]
mov edi, str.General
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x3c]
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.General
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.0043aaa0
mov eax, dword [eax]
lea esi, [ebp + 0x18]
push eax
push 8
lea edx, [esp + 0x24]
push esi
lea eax, [esp + 0x48]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStructA]
test eax, eax
lea ecx, [esp + 0x14]
sete byte [esp + 0x13]
call sub.MFC42.DLL_CString::CString
mov al, byte [esp + 0x13]
test al, al
je 0x481676
xor eax, eax
mov word [esi], 5
mov word [ebp + 0x1a], 4
mov word [ebp + 0x1c], ax
mov word [ebp + 0x1e], ax
mov edi, str.Advance
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x1c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebx
call fcn.0043aaa0
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push eax
push 0x3e8
lea eax, [esp + 0x44]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x14]
mov word [ebp + 0x20], ax
call sub.MFC42.DLL_CString::CString
cmp word [ebp + 0x20], 0x3e8
jne 0x4816dd
mov cx, word [ebp + 0x1a]
mov word [ebp + 0x20], cx
mov edi, str.SchemeCount
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x3c]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x1c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, str.SchemeCount
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
push ecx
mov ecx, ebx
call fcn.0043aaa0
mov eax, dword [eax]
lea edx, [esp + 0x1c]
push eax
push 0
lea eax, [esp + 0x44]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x18]
mov edi, eax
call sub.MFC42.DLL_CString::CString
push 0xffffffffffffffff
push edi
lea ecx, [ebp + 4]
call sub.MFC42.DLL_CPtrArray::SetSize
xor esi, esi
test edi, edi
jle 0x4817a6
push 0x88
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x14], eax
xor ebx, ebx
cmp eax, ebx
mov dword [esp + 0x64], ebx
je 0x48178a
mov ecx, eax
call fcn.00480660
mov ebx, eax
push esi
mov ecx, ebx
mov dword [esp + 0x68], 0xffffffff
call fcn.004807b0
mov ecx, dword [ebp + 8]
inc esi
cmp esi, edi
mov dword [ecx + esi*4 - 4], ebx
jl 0x481766
mov ecx, dword [esp + 0x5c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x58
ret