Function at 0x487f4e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59bd83
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1f8
mov dword [ebp - 0x13c], ecx
push 0x5ecefc
push 0
push str.EXESUBPROGRAM
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 0x48899b
push 0x2e
mov ecx, dword [ebp + 0xc]
call fcn.00403d90
push eax
call dword [sym.imp.MSVCRT.dll_strrchr]
add esp, 8
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 0
je 0x487fe4
push 0x5ecf18
mov eax, dword [ebp - 0x90]
push eax
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x487fe4
mov eax, 1
jmp 0x4889a0
push 0
mov ecx, dword [ebp + 8]
push ecx
push 0
push 0
push str.FIDIA_WS_EXESUBPRG_IWS910
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0xa0]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x140], eax
mov edx, dword [ebp - 0x140]
mov dword [ebp - 0x144], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x144]
push eax
lea ecx, [ebp - 0xa4]
push ecx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x148], eax
mov edx, dword [ebp - 0x148]
mov dword [ebp - 0x14c], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14c]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.00487e4c
mov byte [ebp - 4], 0
lea ecx, [ebp - 0xa4]
call fcn.0058df86
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa0]
call fcn.0058df86
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x9c]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call fcn.00489930
cmp dword [ebp - 0x13c], 0
je 0x4880bd
mov ecx, dword [ebp - 0x13c]
add ecx, 0x44
mov dword [ebp - 0x150], ecx
jmp 0x4880c7
mov dword [ebp - 0x150], 0
mov edx, dword [ebp + 0x10]
push edx
push 0x5ffbcc
push 0x5ffbd0
push str.WSSUBPROGRAM
lea eax, [ebp - 0xbc]
push eax
mov ecx, dword [ebp - 0x150]
push ecx
lea ecx, [ebp - 0xac]
call fcn.00434024
mov dword [ebp - 0x154], eax
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x158], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x158]
call fcn.0043405a
mov dword [ebp - 0x15c], eax
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x160], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x160]
push ecx
push 0x5ecf4c
call dword [sym.imp.MSVCP60.dll_bool___cdecl_std::operator_char_const___class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const__]
add esp, 8
push eax
lea edx, [ebp - 0x9c]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
lea ecx, [ebp - 0x8c]
call fcn.00425d70
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0xbc]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xac]
call fcn.00434046
push 0xa
lea ecx, [ebp - 0x9c]
call fcn.00403d90
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 0
je 0x4881ae
mov edx, dword [ebp - 0x98]
mov byte [edx], 0
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x164], eax
mov ecx, dword [ebp - 0x164]
sub ecx, 0x384
mov dword [ebp - 0x164], ecx
cmp dword [ebp - 0x164], 9
ja case.default.0x4881df
mov edx, dword [ebp - 0x164]
jmp dword [edx*4 + 0x4889b0]
push 0
lea eax, [ebp - 0x9c]
push eax
push 0
push 0
push str.FIDIA_WS_EXESUBPRG_IWS900
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0xc0]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x168], eax
mov ecx, dword [ebp - 0x168]
mov dword [ebp - 0x16c], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x16c]
push edx
lea eax, [ebp - 0xc4]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x170]
mov dword [ebp - 0x174], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x174]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.00487e4c
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc4]
call fcn.0058df86
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xc0]
call fcn.0058df86
mov dword [ebp - 0xc8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0058df86
mov eax, dword [ebp - 0xc8]
jmp 0x4889a0
push 0
lea edx, [ebp - 0x9c]
push edx
push 0
push 0
push str.FIDIA_WS_EXESUBPRG_IWS901
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0xcc]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x178], eax
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x17c], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x17c]
push ecx
lea edx, [ebp - 0xd0]
push edx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x180]
mov dword [ebp - 0x184], eax
mov byte [ebp - 4], 8
mov ecx, dword [ebp - 0x184]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.00487e4c
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xd0]
call fcn.0058df86
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xcc]
call fcn.0058df86
mov dword [ebp - 0xd4], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0058df86
mov eax, dword [ebp - 0xd4]
jmp 0x4889a0
push 0
lea ecx, [ebp - 0x9c]
push ecx
push 0
push 0
push str.FIDIA_WS_EXESUBPRG_IWS902
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0xd8]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x188], eax
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], edx
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x18c]
push eax
lea ecx, [ebp - 0xdc]
push ecx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x190], eax
mov edx, dword [ebp - 0x190]
mov dword [ebp - 0x194], edx
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x194]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.00487e4c
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xdc]
call fcn.0058df86
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xd8]
call fcn.0058df86
mov dword [ebp - 0xe0], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0058df86
mov eax, dword [ebp - 0xe0]
jmp 0x4889a0
push 0
lea eax, [ebp - 0x9c]
push eax
push 0
push 0
push str.FIDIA_WS_EXESUBPRG_IWS903
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0xe4]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x198], eax
mov ecx, dword [ebp - 0x198]
mov dword [ebp - 0x19c], ecx
mov byte [ebp - 4], 0xb
mov edx, dword [ebp - 0x19c]
push edx
lea eax, [ebp - 0xe8]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x1a0], eax
mov ecx, dword [ebp - 0x1a0]
mov dword [ebp - 0x1a4], ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp - 0x1a4]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.00487e4c
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xe8]
call fcn.0058df86
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xe4]
call fcn.0058df86
mov dword [ebp - 0xec], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0058df86
mov eax, dword [ebp - 0xec]
jmp 0x4889a0
push 0
lea edx, [ebp - 0x9c]
push edx
push 0
push 0
push str.FIDIA_WS_EXESUBPRG_IWS904
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0xf0]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x1a8], eax
mov eax, dword [ebp - 0x1a8]
mov dword [ebp - 0x1ac], eax
mov byte [ebp - 4], 0xd
mov ecx, dword [ebp - 0x1ac]
push ecx
lea edx, [ebp - 0xf4]
push edx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0x1b4]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.00487e4c
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xf4]
call fcn.0058df86
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xf0]
call fcn.0058df86
mov dword [ebp - 0xf8], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0058df86
mov eax, dword [ebp - 0xf8]
jmp 0x4889a0
push 0
lea ecx, [ebp - 0x9c]
push ecx
push 0
push 0
push str.FIDIA_WS_EXESUBPRG_IWS905
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0xfc]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x1b8], eax
mov edx, dword [ebp - 0x1b8]
mov dword [ebp - 0x1bc], edx
mov byte [ebp - 4], 0xf
mov eax, dword [ebp - 0x1bc]
push eax
lea ecx, [ebp - 0x100]
push ecx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x1c0], eax
mov edx, dword [ebp - 0x1c0]
mov dword [ebp - 0x1c4], edx
mov byte [ebp - 4], 0x10
mov ecx, dword [ebp - 0x1c4]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.00487e4c
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x100]
call fcn.0058df86
mov byte [ebp - 4], 2
lea ecx, [ebp - 0xfc]
call fcn.0058df86
mov dword [ebp - 0x104], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0058df86
mov eax, dword [ebp - 0x104]
jmp 0x4889a0
push 0
lea eax, [ebp - 0x9c]
push eax
push 0
push 0
push str.FIDIA_WS_EXESUBPRG_IWS906
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0x108]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x1c8], eax
mov ecx, dword [ebp - 0x1c8]
mov dword [ebp - 0x1cc], ecx
mov byte [ebp - 4], 0x11
mov edx, dword [ebp - 0x1cc]
push edx
lea eax, [ebp - 0x10c]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x1d0], eax
mov ecx, dword [ebp - 0x1d0]
mov dword [ebp - 0x1d4], ecx
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x1d4]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.00487e4c
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0x10c]
call fcn.0058df86
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x108]
call fcn.0058df86
mov dword [ebp - 0x110], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0058df86
mov eax, dword [ebp - 0x110]
jmp 0x4889a0
push 0
lea edx, [ebp - 0x9c]
push edx
push 0
push 0
push str.FIDIA_WS_EXESUBPRG_IWS907
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0x114]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x1d8], eax
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x1dc], eax
mov byte [ebp - 4], 0x13
mov ecx, dword [ebp - 0x1dc]
push ecx
lea edx, [ebp - 0x118]
push edx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x1e0], eax
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x1e4], eax
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x1e4]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.00487e4c
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0x118]
call fcn.0058df86
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x114]
call fcn.0058df86
mov dword [ebp - 0x11c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0058df86
mov eax, dword [ebp - 0x11c]
jmp 0x4889a0
push 0
lea ecx, [ebp - 0x9c]
push ecx
push 0
push 0
push str.FIDIA_WS_EXESUBPRG_IWS908
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0x120]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x1e8], eax
mov edx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1ec], edx
mov byte [ebp - 4], 0x15
mov eax, dword [ebp - 0x1ec]
push eax
lea ecx, [ebp - 0x124]
push ecx
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x1f0], eax
mov edx, dword [ebp - 0x1f0]
mov dword [ebp - 0x1f4], edx
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x1f4]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.00487e4c
mov byte [ebp - 4], 0x15
lea ecx, [ebp - 0x124]
call fcn.0058df86
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x120]
call fcn.0058df86
mov dword [ebp - 0x128], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0058df86
mov eax, dword [ebp - 0x128]
jmp 0x4889a0
push 0
lea eax, [ebp - 0x9c]
push eax
push 0
push 0
push str.FIDIA_WS_EXESUBPRG_IWS909
call dword [sym.imp.LANGUAGE.dll_char_const____cdecl_ReadLanguageString_char_const___char_const___int_]
add esp, 0xc
push eax
lea ecx, [ebp - 0x12c]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x1f8], eax
mov ecx, dword [ebp - 0x1f8]
mov dword [ebp - 0x1fc], ecx
mov byte [ebp - 4], 0x17
mov edx, dword [ebp - 0x1fc]
push edx
lea eax, [ebp - 0x130]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x200], eax
mov ecx, dword [ebp - 0x200]
mov dword [ebp - 0x204], ecx
mov byte [ebp - 4], 0x18
mov ecx, dword [ebp - 0x204]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x13c]
call fcn.00487e4c
mov byte [ebp - 4], 0x17
lea ecx, [ebp - 0x130]
call fcn.0058df86
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call fcn.0058df86
mov dword [ebp - 0x134], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0058df86
mov eax, dword [ebp - 0x134]
jmp 0x4889a0
mov dword [ebp - 0x138], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.0058df86
mov eax, dword [ebp - 0x138]
jmp 0x4889a0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0xc