Function at 0x4016c0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x40e746
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10c
push ebp
push esi
push edi
push 0x4160b8
lea eax, [esp + 0x10]
push 0x417988
push eax
call sub.MFC42.DLL_operator_1
push 0x41612c
lea ecx, [esp + 0x14]
push 0x417988
push ecx
mov dword [esp + 0x12c], 0
call sub.MFC42.DLL_operator_1
push ecx
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov byte [esp + 0x128], 1
call sub.MFC42.DLL_CString::CString_1
call fcn.004010b0
add esp, 4
test eax, eax
jne 0x401911
mov eax, dword [esp + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push 0x416120
push 0x416118
call edi
mov ecx, dword [esp + 0xc]
mov esi, eax
push ecx
push 0
push 0x416110
push 0x416104
call edi
test esi, esi
jne 0x401774
test eax, eax
je 0x401911
mov edx, dword [esp + 0xc]
push edx
push 0
push 0x416120
push 0x416118
call edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00401630
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 8
push ecx
push eax
push 0x416120
push 0x416118
call esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
push edx
push 2
push 0x4160f8
push 0x416118
call edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00401630
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
add esp, 8
push ecx
push eax
push 0x4160f8
push 0x416118
call esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
push edx
push 0x50
push 0x4160ec
push 0x416118
call edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00401630
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
add esp, 8
push ecx
push eax
push 0x4160ec
push 0x416118
call esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 0xc]
mov ebp, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edx
lea eax, [esp + 0x1c]
push 0x63
push eax
push 0x417900
push 0x4160e4
push 0x416118
call ebp
mov ecx, dword [esp + 0x10]
lea edx, [esp + 0x18]
push ecx
push edx
push 0x4160e4
push 0x416118
call esi
mov eax, dword [esp + 0xc]
push eax
push 0x63
lea ecx, [esp + 0x20]
push ecx
push 0x417900
push 0x4160d8
push 0x416118
call ebp
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x18]
push edx
push eax
push 0x4160d8
push 0x416118
call esi
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push ecx
push 0x63
push edx
push 0x417900
push 0x4160cc
push 0x416118
call ebp
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
push ecx
push 0x4160cc
push 0x416118
call esi
mov edx, dword [esp + 0xc]
push edx
push 0
push 0x416110
push 0x416104
call edi
push eax
lea eax, [esp + 0x18]
push eax
call fcn.00401630
mov ecx, dword [esp + 0x18]
mov eax, dword [eax]
add esp, 8
push ecx
push eax
push 0x416110
push 0x416104
call esi
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x120], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x120], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x118]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x118
ret