Function at 0x457108
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x598c4a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x144
mov dword [ebp - 0x148], ecx
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0
push 0xf006
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::LoadStringA
push 0xc
call fcn.00403600
mov dword [ebp - 0x138], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x138], 0
je 0x45717c
mov ecx, dword [ebp - 0x138]
call dword [sym.imp.FIDIASK.dll_public:_void___thiscall_CFidiaMenu::constructor_void_]
mov dword [ebp - 0x14c], eax
jmp 0x457186
mov dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x134], eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x134]
mov dword [ebp - 0x11c], ecx
mov ecx, dword [ebp - 0x11c]
call fcn.00458f00
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0x124], eax
push 0
push 0
push str.FIDIA_WS_ID_FILE
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov edx, dword [ebp - 0x124]
push edx
push 0x10
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_MINIMIZE
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x802f
push 0
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_APP_EXIT
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0xe141
push 0
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_SEARCH_OBJECT
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x8005
push 0
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0x124], eax
push 0
push 0
push str.FIDIA_WS_ID_VIEW
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov eax, dword [ebp - 0x124]
push eax
push 0x10
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_VIEW_PENDINGCOMMANDS
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x8008
push 0
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_VIEW_BITMAPS
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x800a
push 0
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_VIEW_LINKSTATUS
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x800f
push 0
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_VIEW_PROCDEBUGGER
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x801b
push 0
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0x124], eax
push 0
push 0
push str.FIDIA_WS_ID_OPTIONS
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x124]
push ecx
push 0x10
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
mov ecx, dword [ebp - 0x148]
cmp dword [ecx + 0x2d0], 0
je 0x4573c6
push 0
push 0
push str.FIDIA_WS_ID_OPTIONS_LOGON
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x8015
push 0
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_OPTIONS_PASSWORDS
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x8016
push 0
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_OPTIONS_BATCHRECORDING
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x8017
push 0
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_OPTIONS_LANGUAGE
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x801a
push 0
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_SENDMESSAGE
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x8021
push 0
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push 1
lea ecx, [ebp - 0x120]
call fcn.0041cca0
movsx ecx, al
cmp ecx, 0x32
jg 0x45748e
push 3
lea ecx, [ebp - 0x120]
call fcn.0041cca0
movsx edx, al
cmp edx, 0x36
jge 0x45748e
push 0x5e81c8
push 0
push 0x5e81d4
call fcn.0040acc0
mov ecx, eax
add ecx, 0x108
call fcn.00403d90
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
je 0x4574a7
push str.Custom_Keys
push 0x8033
push 0
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0x124], eax
push 0
push 0
push str.FIDIA_WS_ID_COLORS
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov ecx, dword [ebp - 0x124]
push ecx
push 0x10
mov edx, dword [ebp - 0x11c]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_OPTIONS_BACKGROUNDCOLOR
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x8010
push 0
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_OPTIONS_LABELCOLOR
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x8011
push 0
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_OPTIONS_VALUECOLOR
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x8012
push 0
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_OPTIONS_NORMALSOFTKEYTEXTCOLOR
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x801c
push 0
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_OPTIONS_PRESSEDSOFTKEYTEXTCOLOR
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x801d
push 0
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_OPTIONS_MESSAGELOGTEXTCOLOR
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x801e
push 0
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_OPTIONS_MESSAGELOGBACKGROUNDCOLOR
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x801f
push 0
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_DEFAULTCOLORS
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x8022
push 0
mov edx, dword [ebp - 0x124]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0x124], eax
push 0
push 0
push str.FIDIA_WS_ID_HELP
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
mov eax, dword [ebp - 0x124]
push eax
push 0x10
mov ecx, dword [ebp - 0x11c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_HELP_WHATSNEW
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0x8035
push 0
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
push 0
push 0
push str.FIDIA_WS_ID_APP_ABOUT
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
push 0xe140
push 0
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.USER32.dll_AppendMenuA]
push 8
call fcn.00403600
mov dword [ebp - 0x140], eax
mov byte [ebp - 4], 2
cmp dword [ebp - 0x140], 0
je 0x4576ca
mov ecx, dword [ebp - 0x140]
call fcn.00458e40
mov dword [ebp - 0x150], eax
jmp 0x4576d4
mov dword [ebp - 0x150], 0
mov edx, dword [ebp - 0x150]
mov dword [ebp - 0x13c], edx
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x118]
call fcn.00458f20
push str.HELP0
lea ecx, [ebp - 0x114]
call sub.MFC42.DLL_CString::CString_1
mov byte [ebp - 4], 3
mov dword [ebp - 0x10], 0
jmp 0x457739
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
push 0x5e8380
lea eax, [ebp - 0x114]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
cmp dword [ebp - 0x10], 0xc
jge 0x457826
push 0x5e8388
push 0x100
lea ecx, [ebp - 0x110]
push ecx
push 0x5ff98c
lea ecx, [ebp - 0x114]
call fcn.00403d90
push eax
push 0x5e8394
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
je 0x457826
push 0x3b
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0
jne 0x4577ee
lea ecx, [ebp - 0x130]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 4
lea eax, [ebp - 0x110]
push eax
mov ecx, dword [ebp - 0x114]
push ecx
push str.Bad_syntax_in__WS32_CUSTOM_HELP__key__s_s_keyValue._Token___not_found
lea edx, [ebp - 0x130]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push 0
push 0
lea ecx, [ebp - 0x130]
call fcn.00403d90
push eax
call sub.MFC42.DLL_AfxMessageBox
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x130]
call fcn.0058df86
mov eax, dword [ebp - 0x128]
mov byte [eax], 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xdd
mov dword [ebp - 0x12c], ecx
lea edx, [ebp - 0x110]
push edx
mov eax, dword [ebp - 0x12c]
push eax
push 0
mov ecx, dword [ebp - 0x118]
call fcn.00458f70
jmp 0x457718
cmp dword [ebp - 0x10], 0
je 0x45784a
push str.Custom_Help
mov ecx, dword [ebp - 0x118]
mov edx, dword [ecx + 4]
push edx
push 0x10
mov eax, dword [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_AppendMenuA]
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x144], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x114]
call fcn.0058df86
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x120]
call fcn.0058df86
mov eax, dword [ebp - 0x144]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret