Function at 0x4a5b71
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59dc54
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x17c
mov dword [ebp - 0x15c], ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x124]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 2
mov eax, dword [str.____n]
mov dword [ebp - 0x134], eax
mov cl, byte [0x5f1200]
mov byte [ebp - 0x130], cl
mov edx, dword [str.__n]
mov dword [ebp - 0x12c], edx
mov al, byte [0x5f1208]
mov byte [ebp - 0x128], al
push 0x5f120c
push str.custominipar.def
mov ecx, dword [ebp - 0x15c]
call fcn.00405b20
add eax, 0x484
push eax
lea ecx, [ebp - 0x140]
push ecx
call sub.MFC42.DLL_operator
mov dword [ebp - 0x160], eax
mov edx, dword [ebp - 0x160]
mov dword [ebp - 0x164], edx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x164]
call fcn.00403d90
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x138], eax
xor eax, eax
cmp dword [ebp - 0x138], 0
sete al
mov byte [ebp - 0x13c], al
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x140]
call fcn.0058df86
mov ecx, dword [ebp - 0x13c]
and ecx, 0xff
test ecx, ecx
je 0x4a5ca5
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0058df86
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.0058df86
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0058df86
jmp 0x4a613f
mov edx, dword [ebp - 0x138]
push edx
push 0x100
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
je 0x4a601b
mov ecx, dword [ebp - 0x138]
push ecx
push 0x100
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
je 0x4a5d07
lea eax, [ebp - 0x134]
push eax
lea ecx, [ebp - 0x118]
push ecx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x4a5d05
jmp 0x4a5d07
jmp 0x4a5cc9
mov word [ebp - 0x11c], 1
mov edx, dword [ebp - 0x138]
push edx
push 0x100
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVCRT.dll_fgets]
add esp, 0xc
test eax, eax
je 0x4a5ff5
lea ecx, [ebp - 0x12c]
push ecx
lea edx, [ebp - 0x118]
push edx
call sub.MSVCRT.dll_strcmp
add esp, 8
test eax, eax
jne 0x4a5d53
jmp 0x4a5ff5
lea eax, [ebp - 0x118]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
movsx edx, byte [ecx]
cmp edx, 0x3b
jne 0x4a5d72
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x4a5d5c
lea ecx, [ebp - 0x124]
call sub.MFC42.DLL_CString::Empty
mov ecx, dword [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x124]
call fcn.0058e0f4
push 0x5f1224
lea edx, [ebp - 0x144]
push edx
lea ecx, [ebp - 0x124]
call sub.MFC42.DLL_CString::SpanExcluding
mov dword [ebp - 0x168], eax
mov eax, dword [ebp - 0x168]
mov dword [ebp - 0x16c], eax
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x16c]
push ecx
lea ecx, [ebp - 0x124]
call fcn.0058dfec
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x144]
call fcn.0058df86
lea ecx, [ebp - 0x124]
call fcn.00403d50
mov word [ebp - 0x120], ax
jmp 0x4a5e00
mov dx, word [ebp - 0x120]
add dx, 1
mov word [ebp - 0x120], dx
movsx eax, word [ebp - 0x120]
cmp eax, 0xc
jge 0x4a5e1b
push 0x20
lea ecx, [ebp - 0x124]
call sub.MFC42.DLL_CString::operator_1
jmp 0x4a5dee
movsx ecx, word [ebp - 0x11c]
push ecx
push str.INIPAR_hd
lea edx, [ebp - 0x118]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x118]
push eax
lea ecx, [ebp - 0x10]
call fcn.0058e0f4
lea ecx, [ebp - 0x124]
call fcn.00403d90
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x148], esp
lea edx, [ebp - 0x10]
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x170], eax
mov ecx, dword [ebp - 0x15c]
call fcn.004a0de1
lea ecx, [ebp - 0x124]
call fcn.00403d90
push eax
lea ecx, [ebp - 0x10]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x15c]
call fcn.00405b20
mov ecx, eax
add ecx, 0x35c
call fcn.0040b2c0
mov eax, dword [ebp - 0x14]
movsx ecx, byte [eax]
cmp ecx, 0x23
je 0x4a5eb9
mov edx, dword [ebp - 0x14]
add edx, 1
mov dword [ebp - 0x14], edx
jmp 0x4a5ea3
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::Empty
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
call fcn.0058e0f4
push str.__t_r_n
lea ecx, [ebp - 0x14c]
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::SpanExcluding
mov dword [ebp - 0x174], eax
mov edx, dword [ebp - 0x174]
mov dword [ebp - 0x178], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x178]
push eax
lea ecx, [ebp - 0x18]
call fcn.0058dfec
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14c]
call fcn.0058df86
lea ecx, [ebp - 0x18]
call fcn.00403d50
mov word [ebp - 0x120], ax
jmp 0x4a5f38
mov cx, word [ebp - 0x120]
add cx, 1
mov word [ebp - 0x120], cx
movsx edx, word [ebp - 0x120]
cmp edx, 3
jge 0x4a5f50
push 0x20
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
jmp 0x4a5f26
movsx eax, word [ebp - 0x11c]
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
push ecx
push str.INIPARQ_hd
lea edx, [ebp - 0x118]
push edx
mov ax, word [ebp - 0x11c]
add ax, 1
mov word [ebp - 0x11c], ax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x118]
push ecx
lea ecx, [ebp - 0x10]
call fcn.0058e0f4
lea ecx, [ebp - 0x18]
call fcn.00403d90
push eax
push ecx
mov ecx, esp
mov dword [ebp - 0x150], esp
lea edx, [ebp - 0x10]
push edx
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x180], eax
mov ecx, dword [ebp - 0x15c]
call fcn.004a0de1
lea ecx, [ebp - 0x18]
call fcn.00403d90
push eax
lea ecx, [ebp - 0x10]
call fcn.00403d90
push eax
mov ecx, dword [ebp - 0x15c]
call fcn.00405b20
mov ecx, eax
add ecx, 0x35c
call fcn.0040b2c0
jmp 0x4a5d10
push 0x3b
lea eax, [ebp - 0x118]
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4a6016
mov ecx, dword [ebp - 0x14]
mov byte [ecx], 0
jmp 0x4a5ca5
mov edx, dword [ebp - 0x138]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
push str.Isograph.ini
push 0x100
lea eax, [ebp - 0x118]
push eax
push 0x6003f8
push 0x5f1258
push 0x5f1260
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x118]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x154], esp
push 0x5f1268
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x184], eax
mov ecx, dword [ebp - 0x15c]
call fcn.004a0de1
lea edx, [ebp - 0x118]
push edx
push str.ISOVERSION
mov ecx, dword [ebp - 0x15c]
call fcn.00405b20
mov ecx, eax
add ecx, 0x35c
call fcn.0040b2c0
push str.HiMill.ini
push 0x100
lea eax, [ebp - 0x118]
push eax
push 0x6003fc
push 0x5f128c
push str.Version
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x118]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x158], esp
push 0x5f129c
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x188], eax
mov ecx, dword [ebp - 0x15c]
call fcn.004a0de1
lea edx, [ebp - 0x118]
push edx
push str.HIMVERSION
mov ecx, dword [ebp - 0x15c]
call fcn.00405b20
mov ecx, eax
add ecx, 0x35c
call fcn.0040b2c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call fcn.0058df86
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x124]
call fcn.0058df86
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0058df86
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret