Function at 0x40a6c0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
mov eax, dword [0x42c010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x63
lea eax, [ebp - 0x67]
mov byte [ebp - 0x68], 0
push 0
push eax
mov edi, ecx
call fcn.0040fee0
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
add esp, 0xc
push str..MHPServer.ini
push 0
push str.DetectionLockTime
push str.MHPServerInfo
call esi
push str..MHPServer.ini
push 0
push str.InternalVersion
push str.MHPServerInfo
mov dword [edi + 0x50], eax
call esi
push str..MHPServer.ini
push 0
push str.ReconnectSwitch
push str.MHPServerInfo
mov dword [edi + 0x60], eax
call esi
push str..MHPServer.ini
push 0
push str.MemoryGuardSwitch
push str.MHPServerInfo
mov dword [edi + 0x64], eax
call esi
push str..MHPServer.ini
push 0
push str.MemoryGuardNumber
push str.MHPServerInfo
mov dword [edi + 0x68], eax
call esi
push str..MHPServer.ini
push 0
push str.MacroProtectSwitch
push str.MHPServerInfo
mov dword [edi + 0x6c], eax
call esi
push str..MHPServer.ini
push 0
push str.MacroProtectNumber
push str.MHPServerInfo
mov dword [edi + 0x70], eax
call esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push str..MHPServer.ini
push 0x64
mov dword [edi + 0x74], eax
lea eax, [ebp - 0x68]
push eax
push 0x428eb8
push str.MemoryAddress1
push str.MHPServerInfo
call esi
push 0
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0040eb4e
add esp, 0xc
mov dword [edi + 0x7c], eax
cmp eax, 0x10000000
jbe 0x40a7c9
xor eax, 0xc47a0e9f
push str..MHPServer.ini
push 0x64
mov dword [edi + 0x7c], eax
lea eax, [ebp - 0x68]
push eax
push 0x428eb8
push str.MemoryAddress2
push str.MHPServerInfo
call esi
push 0
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0040eb4e
add esp, 0xc
mov dword [edi + 0x80], eax
cmp eax, 0x10000000
jbe 0x40a80a
xor eax, 0xc47a0e9f
push str..MHPServer.ini
push 0x64
mov dword [edi + 0x80], eax
lea eax, [ebp - 0x68]
push eax
push 0x428eb8
push str.MemoryAddress3
push str.MHPServerInfo
call esi
push 0
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0040eb4e
add esp, 0xc
mov dword [edi + 0x84], eax
cmp eax, 0x10000000
jbe 0x40a84e
xor eax, 0xc47a0e9f
push str..MHPServer.ini
push 0x64
mov dword [edi + 0x84], eax
lea eax, [ebp - 0x68]
push eax
push 0x428eb8
push str.MemoryAddress4
push str.MHPServerInfo
call esi
push 0
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0040eb4e
add esp, 0xc
mov dword [edi + 0x88], eax
cmp eax, 0x10000000
jbe 0x40a892
xor eax, 0xc47a0e9f
push str..MHPServer.ini
push 0x64
mov dword [edi + 0x88], eax
lea eax, [ebp - 0x68]
push eax
push 0x428eb8
push str.MemoryAddress5
push str.MHPServerInfo
call esi
push 0
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0040eb4e
add esp, 0xc
mov dword [edi + 0x8c], eax
cmp eax, 0x10000000
jbe 0x40a8d6
xor eax, 0xc47a0e9f
push str..MHPServer.ini
push 0x64
mov dword [edi + 0x8c], eax
lea eax, [ebp - 0x68]
push eax
push 0x428eb8
push str.MemoryAddress6
push str.MHPServerInfo
call esi
push 0
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0040eb4e
add esp, 0xc
mov dword [edi + 0x90], eax
cmp eax, 0x10000000
jbe 0x40a91a
xor eax, 0xc47a0e9f
push str..MHPServer.ini
push 0x64
mov dword [edi + 0x90], eax
lea eax, [ebp - 0x68]
push eax
push 0x428eb8
push str.MemoryAddress7
push str.MHPServerInfo
call esi
push 0
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0040eb4e
add esp, 0xc
mov dword [edi + 0x94], eax
cmp eax, 0x10000000
jbe 0x40a95e
xor eax, 0xc47a0e9f
push str..MHPServer.ini
push 0x64
mov dword [edi + 0x94], eax
lea eax, [ebp - 0x68]
push eax
push 0x428eb8
push str.MemoryAddress8
push str.MHPServerInfo
call esi
push 0
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.0040eb4e
add esp, 0xc
mov dword [edi + 0x98], eax
cmp eax, 0x10000000
jbe 0x40a9a2
xor eax, 0xc47a0e9f
mov ecx, dword [ebp - 4]
mov dword [edi + 0x98], eax
xor ecx, ebp
pop edi
pop esi
call fcn.0040c5b1
mov esp, ebp
pop ebp
ret 8