Function at 0x40ac61
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff74
push ebx
push esi
push edi
push 0x2000
push 0x40
call fcn.00401030
mov dword [ebp - 0x8c], eax
call fcn.0040a4c3
cmp dword [0x453964], 0
je 0x40ac98
push dword [0x453964]
call sub.user32.dll_DestroyAcceleratorTable
push 0x69
push dword [0x453904]
call sub.user32.dll_LoadAcceleratorsA
mov dword [0x453964], eax
push 0
push 0
push dword [0x453964]
call sub.user32.dll_CopyAcceleratorTableA
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 0x8c]
push dword [0x453964]
call sub.user32.dll_CopyAcceleratorTableA
push dword [0x453964]
call sub.user32.dll_DestroyAcceleratorTable
push 0x8a80
push 0x4539fc
call sub.kernel32.dll_RtlZeroMemory
mov dword [0x4539f4], 0x4e21
jmp 0x40ad0f
push 0
push dword [0x4539f4]
push dword [0x4538b4]
call sub.user32.dll_DeleteMenu
inc dword [0x4539f4]
cmp dword [0x4539f4], 0x4ea0
jb 0x40acf6
cmp dword [0x44f2ed], 0
je 0x40ad33
push 6
push dword [0x4538b4]
call sub.user32.dll_GetSubMenu
jmp 0x40ad40
push 5
push dword [0x4538b4]
call sub.user32.dll_GetSubMenu
mov dword [ebp - 4], eax
mov dword [0x4539f4], 0
jmp 0x40ad64
push 0x400
push 0
push dword [ebp - 4]
call sub.user32.dll_DeleteMenu
inc dword [0x4539f4]
cmp dword [0x4539f4], 0x80
jb 0x40ad4f
cmp dword [0x44f2ed], 0
je 0x40ad88
push 7
push dword [0x4538b4]
call sub.user32.dll_GetSubMenu
jmp 0x40ad95
push 6
push dword [0x4538b4]
call sub.user32.dll_GetSubMenu
mov dword [ebp - 4], eax
mov dword [0x4539f4], 0
jmp 0x40adb9
push 0x400
push 3
push dword [ebp - 4]
call sub.user32.dll_DeleteMenu
inc dword [0x4539f4]
cmp dword [0x4539f4], 0x80
jb 0x40ada4
cmp dword [0x44f2ed], 0
je 0x40addd
push 0xa
push dword [0x4538b4]
call sub.user32.dll_GetSubMenu
jmp 0x40adea
push 9
push dword [0x4538b4]
call sub.user32.dll_GetSubMenu
mov dword [ebp - 4], eax
mov dword [0x4539f4], 0
jmp 0x40ae0e
push 0x400
push 3
push dword [ebp - 4]
call sub.user32.dll_DeleteMenu
inc dword [0x4539f4]
cmp dword [0x4539f4], 0x80
jb 0x40adf9
cmp dword [0x44f2ed], 0
je 0x40ae32
push 0xb
push dword [0x4538b4]
call sub.user32.dll_GetSubMenu
jmp 0x40ae3f
push 0xa
push dword [0x4538b4]
call sub.user32.dll_GetSubMenu
mov dword [ebp - 4], eax
mov dword [0x4539f4], 0
jmp 0x40ae63
push 0x400
push 2
push dword [ebp - 4]
call sub.user32.dll_DeleteMenu
inc dword [0x4539f4]
cmp dword [0x4539f4], 0x80
jb 0x40ae4e
mov dword [0x4539f8], 0x4539fc
mov dword [0x4539f4], 0x4e21
push 0x40
push dword [ebp - 0x8c]
lea eax, [ebp - 8]
push eax
push 5
push 0x45cd1a
push str.MenuMake
call fcn.0040a4fb
push dword [0x4539f4]
mov dword [ebp - 0x88], 0x6e756f63
mov dword [ebp - 0x84], 0x74
push 0x45cc16
push 4
lea eax, [ebp - 0x88]
push eax
push str.MRU_Projects
call sub.kernel32.dll_GetPrivateProfileIntA
cmp eax, 9
jbe 0x40aedc
mov eax, 9
push eax
push dword [ebp - 0x8c]
lea eax, [ebp - 8]
push eax
push 0
push 0x45cc16
push str.MRU_Projects
call fcn.0040a4fb
pop eax
mov dword [0x4539f0], 0
cmp eax, dword [0x4539f4]
je 0x40af10
mov dword [0x4539f0], eax
mov eax, dword [0x4539f4]
mov dword [0x44f395], eax
mov dword [ebp - 0x88], 0x31
push 0x45cd1a
push 0x104
push 0x45ca0e
push 0x44ef8c
lea eax, [ebp - 0x88]
push eax
push str.MenuTools
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x40af54
mov edx, 0x45cd1a
jmp 0x40af59
mov edx, 0x45cc16
push 0x40
push dword [ebp - 0x8c]
lea eax, [ebp - 8]
push eax
push 6
push edx
push str.MenuTools
call fcn.0040a4fb
push 0x40
push dword [ebp - 0x8c]
lea eax, [ebp - 8]
push eax
push 9
push 0x45cd1a
push str.MenuMacro
call fcn.0040a4fb
push 0x45cd1a
push 0x104
push 0x45ca0e
push 0x44ef8c
lea eax, [ebp - 0x88]
push eax
push str.MenuHelp
call sub.kernel32.dll_GetPrivateProfileStringA
or eax, eax
je 0x40afbf
mov edx, 0x45cd1a
jmp 0x40afc4
mov edx, 0x45cc16
push 0x40
push dword [ebp - 0x8c]
lea eax, [ebp - 8]
push eax
push 0xa
push edx
push str.MenuHelp
call fcn.0040a4fb
push dword [ebp - 8]
push dword [ebp - 0x8c]
call sub.user32.dll_CreateAcceleratorTableA
mov dword [0x453964], eax
push dword [ebp - 0x8c]
call sub.kernel32.dll_GlobalFree
push dword [0x4538b4]
call fcn.0040a994
push 0x4000
push 0
push 0
push 0x46f
push dword [0x4538b4]
call fcn.00408423
pop edi
pop esi
pop ebx
leave
ret