Function at 0x4ea060
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x52b234
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x584f80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
test edi, edi
je 0x4ea337
mov ebx, dword [ebp + 0xc]
test ebx, ebx
je 0x4ea337
mov eax, dword [esi]
push ebx
push edi
call dword [eax + 0x90]
test eax, eax
js 0x4ea0e4
cmp eax, dword [0x58bf38]
jge 0x4ea34e
lea ecx, [eax*8]
sub ecx, eax
mov eax, dword [0x58bf34]
lea ecx, [eax + ecx*4]
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call sub.mfc140u.dll_AfxGetModuleState
mov eax, dword [eax + 4]
test eax, eax
jne 0x4ea112
push dword [esi + 4]
push dword [ebp + 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
cmp dword [eax + 0x58], 0
je 0x4ea16c
lea ecx, [ebp - 0x6c]
call fcn.004873e0
push edi
push dword [esi + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 0
push eax
call fcn.004f2150
add esp, 0xc
push dword [ebp + 0x10]
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
push ebx
push dword [ebp - 0x14]
push 0x80000001
call fcn.004a7130
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x10], eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x6c]
mov dword [ebp - 4], 0xffffffff
call fcn.00488910
jmp 0x4ea17d
push dword [esi + 4]
push dword [ebp + 0x10]
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [ebp - 0x10], eax
push dword [ebp - 0x10]
mov eax, dword [esi]
mov ecx, esi
push ebx
push edi
call dword [eax + 0x98]
cmp dword [esi + 0xc], 0
je 0x4ea320
push 0xa
push dword [ebp - 0x10]
lea eax, [ebp - 0x4c]
push eax
call fcn.004b82f0
mov ebx, eax
push 0xa
push dword [ebp + 0x10]
lea eax, [ebp - 0x48]
mov dword [ebp - 4], 2
push eax
call fcn.004b82f0
add esp, 0x18
mov edi, eax
mov edx, dword [esi]
lea eax, [ebp - 0x44]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call dword [edx + 0x78]
mov esi, eax
push str.GetInt
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 4
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__27]
push 0x540f6c
push eax
lea eax, [ebp - 0x3c]
mov byte [ebp - 4], 5
push eax
call fcn.0045ee50
push esi
push eax
lea eax, [ebp - 0x38]
mov byte [ebp - 4], 6
push eax
call fcn.0045edd0
push 0x540f6c
push eax
lea eax, [ebp - 0x34]
mov byte [ebp - 4], 7
push eax
call fcn.0045ee50
push dword [ebp + 8]
mov byte [ebp - 4], 8
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.0045ee50
push 0x540f6c
push eax
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 9
push eax
call fcn.0045ee50
push dword [ebp + 0xc]
mov byte [ebp - 4], 0xa
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0045ee50
add esp, 0x48
push 0x540f6c
push eax
lea eax, [ebp - 0x24]
mov byte [ebp - 4], 0xb
push eax
call fcn.0045ee50
mov byte [ebp - 4], 0xc
push edi
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0045edd0
push 0x540f6c
push eax
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 0xd
push eax
call fcn.0045ee50
push ebx
push eax
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 0xe
push eax
call fcn.0045edd0
push dword [eax]
mov byte [ebp - 4], 0xf
call fcn.004b9a50
add esp, 0x34
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x2c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x30]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x34]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x38]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x3c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x40]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x44]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x48]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x4c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
call sub.mfc140u.dll_AfxThrowInvalidArgException
int3