Function at 0x402db0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x422ec2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x19c
push ebx
push ebp
push esi
push edi
push 0x42d478
lea eax, [esp + 0xac]
push 0x4281c4
mov esi, ecx
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0xc
lea ecx, [esp + 0xa8]
push ecx
push 0
push 0x4281b8
push 0x4281b0
call edi
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [esp + 0xa8]
mov ebx, eax
push edx
lea eax, [esp + 0x2c]
push 0x7f
push eax
push 0x42d680
push 0x4281a8
push 0x4281a0
call ebp
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x1c]
call fcn.0042234c
lea edx, [esp + 0xa8]
lea eax, [esp + 0x28]
push edx
push 0x7f
push eax
push 0x42d680
push 0x428194
push 0x4281a0
mov dword [esp + 0x1cc], 0
call ebp
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x18]
call fcn.0042234c
lea edx, [esp + 0xa8]
lea eax, [esp + 0x28]
push edx
push 0x7f
push eax
push 0x42d680
push 0x428188
push 0x4281a0
mov byte [esp + 0x1cc], 1
call ebp
lea ecx, [esp + 0x28]
push ecx
lea ecx, [esp + 0x20]
call fcn.0042234c
lea edx, [esp + 0xa8]
mov byte [esp + 0x1b4], 2
push edx
push 1
push 0x42817c
push 0x4281a0
call edi
mov ebp, eax
lea eax, [esp + 0xa8]
push eax
push 0
push 0x428170
push 0x4281a0
mov dword [esi + 0xfc], ebp
call edi
mov dword [esp + 0x24], eax
lea ecx, [esp + 0xa8]
push ecx
push 0
push 0x428160
push 0x4281a0
call edi
push ebx
push 0x4281b8
push 0x428158
mov ecx, esi
mov dword [esp + 0x1c], eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov edx, dword [esp + 0x18]
mov dword [esi + 0xf8], eax
push edx
push 0x42814c
lea eax, [esp + 0x28]
push 0x428158
push eax
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esi + 0x100]
mov byte [esp + 0x1b8], 3
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x20]
mov byte [esp + 0x1b4], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x24]
test ebp, ebp
je 0x402f6c
mov eax, 0x15
push eax
push 0x428170
push 0x428158
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileIntA
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0xa8]
push ecx
push edx
push 0x428160
push 0x428158
mov dword [esi + 0x104], eax
call edi
mov dword [esi + 0x108], eax
mov eax, dword [esp + 0x14]
push eax
push 0x428140
lea ecx, [esp + 0x18]
push 0x428158
push ecx
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esi + 0x10c]
mov byte [esp + 0x1b8], 4
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1b4], 2
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x10]
push edx
push 0x428134
push 0x428158
push eax
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileStringA
push eax
lea ecx, [esi + 0x110]
mov byte [esp + 0x1b8], 5
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov byte [esp + 0x1b4], 2
call sub.MFC42.DLL_CString::CString
push 0
push 0x42812c
push 0x428124
mov ecx, esi
call sub.MFC42.DLL_CWinApp::GetProfileIntA
push 0
push 0x428118
push 0x428124
mov ecx, esi
mov dword [esi + 0xf0], eax
call sub.MFC42.DLL_CWinApp::GetProfileIntA
lea ecx, [esp + 0x1c]
mov dword [esi + 0xf4], eax
mov byte [esp + 0x1b4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x1b4], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x18]
mov dword [esp + 0x1b4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1ac]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x1a8
ret