Function at 0x418e00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49456c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x194
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
lea ecx, [ebp - 0x148]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
push 0x9b
lea ecx, [ebp - 0x148]
call sub.MFC42.DLL_CString::LoadStringA
test eax, eax
jne 0x418e5a
push str.no_recipe_types
lea ecx, [ebp - 0x148]
call sub.MFC42.DLL_CString::operator
push 0
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_recipe_recipev3.ini
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea ecx, [ebp - 0x110]
push ecx
push 1
push str.MinType
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 1
jae 0x418ea3
mov dword [ebp - 0x14c], 1
jmp 0x418ec2
lea edx, [ebp - 0x110]
push edx
push 1
push str.MinType
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x14c], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x114], eax
lea ecx, [ebp - 0x110]
push ecx
push 0
push str.MaxType
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0xff
jbe 0x418efa
mov dword [ebp - 0x150], 0xff
jmp 0x418f19
lea edx, [ebp - 0x110]
push edx
push 0
push str.MaxType
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x150], eax
mov eax, dword [ebp - 0x150]
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x114], 0xff
jle 0x418f3d
mov dword [ebp - 0x154], 0xff
jmp 0x418f49
mov ecx, dword [ebp - 0x114]
mov dword [ebp - 0x154], ecx
cmp dword [ebp - 0x154], 1
jge 0x418f5e
mov dword [ebp - 0x158], 1
jmp 0x418f8e
cmp dword [ebp - 0x114], 0xff
jle 0x418f76
mov dword [ebp - 0x15c], 0xff
jmp 0x418f82
mov edx, dword [ebp - 0x114]
mov dword [ebp - 0x15c], edx
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x158], eax
mov ecx, dword [ebp - 0x158]
mov dword [ebp - 0x114], ecx
mov dword [ebp - 0x144], 1
mov dword [ebp - 0x140], 0
mov dword [ebp - 0x13c], 0
cmp dword [ebp - 0x118], 1
jge 0x419090
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x160], edx
cmp dword [ebp - 0x160], 1
je 0x418fee
cmp dword [ebp - 0x160], 2
je 0x419020
cmp dword [ebp - 0x160], 3
je 0x419052
jmp 0x419090
push 0
push 0
push 0x184
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x148]
call fcn.00406000
push eax
push 0
push 0x180
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x419090
push 0
push 0
push 0x14b
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
lea ecx, [ebp - 0x148]
call fcn.00406000
push eax
push 0
push 0x143
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
jmp 0x419090
push 0
push 0
push 0x1009
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push 1
lea ecx, [ebp - 0x148]
call sub.MFC42.DLL_CString::GetBuffer
mov dword [ebp - 0x130], eax
lea edx, [ebp - 0x144]
push edx
push 0
push 0x1007
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0x114]
cmp ecx, dword [ebp - 0x118]
jle 0x4190c2
mov edx, dword [ebp - 0x118]
mov dword [ebp - 0x11c], edx
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x118], eax
mov ecx, dword [ebp - 0x11c]
mov dword [ebp - 0x114], ecx
push 2
call sub.WINDCS32.dll_sysini_GetSprache
push eax
push 0
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_texte._d_rtyp.txt
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
mov eax, 1
test eax, eax
je 0x41911b
push 0
push 1
lea ecx, [ebp - 0x110]
push ecx
mov dx, word [ebp - 0x118]
push edx
mov ax, word [ebp - 0x114]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040e450
add esp, 0x18
jmp 0x419142
push 0
push 0
lea edx, [ebp - 0x110]
push edx
mov ax, word [ebp - 0x118]
push eax
mov cx, word [ebp - 0x114]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040e450
add esp, 0x18
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8