Function at 0x41af20
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494658
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x768
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x464], 0
lea ecx, [ebp - 0x468]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x46c]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0xbd9f]
push ecx
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_recipemainrecmainrec.ini
lea edx, [ebp - 0x66c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov eax, dword [ebp - 0x10]
movsx ecx, word [eax + 0x60]
push ecx
push str.RecType_3.3d
lea edx, [ebp - 0x6ac]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x66c]
push eax
push 0
push str.MaxRec
lea ecx, [ebp - 0x6ac]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x6b0], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x54]
cmp eax, dword [ebp + 0xc]
je 0x41aff0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x54], edx
mov ecx, dword [ebp - 0x10]
call fcn.0041c110
mov eax, dword [ebp - 0x10]
mov cx, word [ebp + 0xc]
mov word [eax + 0x4e57], cx
mov edx, dword [ebp - 0x10]
mov ax, word [ebp + 0x10]
mov word [edx + 0x4e59], ax
mov ecx, dword [ebp - 0x10]
call fcn.0041e900
test eax, eax
jne 0x41b04e
mov dword [ebp - 0x720], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x46c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x720]
jmp 0x41b714
mov ecx, dword [ebp - 0x10]
xor edx, edx
mov dl, byte [ecx + 0xbed3]
test edx, edx
jne 0x41b075
push 0xffffffffffffffff
push 0
push 0x234
call sub.MFC42.DLL_AfxMessageBox_1
mov eax, dword [ebp - 0x10]
mov byte [eax + 0xbed9], 1
push 1
call sub.RECHEAD.dll_Ordinal_60_1
mov ecx, dword [ebp - 0x10]
add ecx, 0x4df6
push ecx
call sub.RECHEAD.dll_Ordinal_40_2
test eax, eax
jne 0x41b0d3
push 0xffffffffffffffff
push 0x30
push 0x2be
call sub.MFC42.DLL_AfxMessageBox_1
mov dword [ebp - 0x724], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x46c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x724]
jmp 0x41b714
mov edx, dword [ebp - 0x10]
movsx eax, word [edx + 0x4df6]
test eax, eax
je 0x41b1bb
mov ecx, dword [ebp - 0x10]
movsx esi, word [ecx + 0x4df6]
call sub.WINDCS32.dll_Ordinal_53_1
cmp esi, eax
je 0x41b1b9
push 0x235
lea ecx, [ebp - 0x468]
call sub.MFC42.DLL_CString::LoadStringA
mov edx, dword [ebp - 0x10]
movsx eax, word [edx + 0x4df6]
push eax
push str._d_._n
lea ecx, [ebp - 0x46c]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea edx, [ebp - 0x46c]
push edx
lea ecx, [ebp - 0x468]
call fcn.00492872
push 0x236
lea ecx, [ebp - 0x46c]
call sub.MFC42.DLL_CString::LoadStringA
lea eax, [ebp - 0x46c]
push eax
lea ecx, [ebp - 0x468]
call fcn.00492872
push 0
push 4
lea ecx, [ebp - 0x468]
call fcn.00406000
push eax
call sub.MFC42.DLL_AfxMessageBox
cmp eax, 7
jne 0x41b1af
mov dword [ebp - 0x728], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x46c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x728]
jmp 0x41b714
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0xbed9], 1
jmp 0x41b1f8
call sub.WINDCS32.dll_Ordinal_53_1
mov edx, dword [ebp - 0x10]
mov word [edx + 0x4df6], ax
push 1
call sub.RECHEAD.dll_Ordinal_60_1
mov eax, dword [ebp - 0x10]
add eax, 0x4df6
push eax
push 0
call fcn.004019d0
mov ecx, dword [eax + 0x20]
push ecx
call sub.RECHEAD.dll_Ordinal_41_1
push 1
call fcn.004019d0
mov ecx, eax
call fcn.00437bf0
mov edx, dword [ebp - 0x10]
xor eax, eax
mov al, byte [edx + 0x4df8]
cmp eax, 0x70
jne 0x41b26e
mov ecx, dword [ebp - 0x10]
mov byte [ecx + 0xbed9], 1
mov edx, dword [ebp - 0x10]
movsx esi, word [edx + 0x4df6]
call sub.WINDCS32.dll_Ordinal_53_1
cmp esi, eax
jne 0x41b240
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov cl, byte [eax + 0xbed3]
test ecx, ecx
je 0x41b240
mov edx, dword [ebp - 0x10]
mov word [edx + 0x4df6], 0
push 1
call sub.RECHEAD.dll_Ordinal_60_1
mov eax, dword [ebp - 0x10]
add eax, 0x4df6
push eax
push 0
call fcn.004019d0
mov ecx, dword [eax + 0x20]
push ecx
call sub.RECHEAD.dll_Ordinal_41_1
push 1
call fcn.004019d0
mov ecx, eax
call fcn.00437bf0
mov edx, dword [ebp - 0x10]
movsx eax, word [edx + 0x4e63]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xbda3], eax
mov edx, dword [ebp - 0x10]
movsx eax, word [edx + 0x4e65]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xbdab], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 0xbda3]
mov word [edx + 0x4f71], cx
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
mov cx, word [eax + 0x4e57]
mov word [edx + 0x4f6f], cx
push 2
call sub.RECHEAD.dll_Ordinal_60_1
mov edx, dword [ebp - 0x10]
add edx, 0x4f54
push edx
call sub.RECHEAD.dll_Ordinal_30_2
test eax, eax
jne 0x41b3b6
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx + 0xbda3]
mov word [eax + 0x4f71], dx
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x10]
mov dx, word [ecx + 0x4e57]
mov word [eax + 0x4f6f], dx
mov eax, dword [ebp - 0x10]
movsx ecx, word [eax + 0x4f71]
push ecx
mov edx, dword [ebp - 0x10]
movsx eax, word [edx + 0x4f6f]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0041a260
mov ecx, dword [ebp - 0x10]
add ecx, 0x4df9
push ecx
mov edx, dword [ebp - 0x10]
add edx, 0x64
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
mov eax, dword [ebp - 0x10]
movsx ecx, word [eax + 0x62]
cmp ecx, dword [ebp - 0x6b0]
jle 0x41b387
mov edx, dword [ebp - 0x6b0]
add edx, 1
push edx
push 0x49857c
lea eax, [ebp - 0x56c]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x66c]
push ecx
lea edx, [ebp - 0x56c]
push edx
push str.MaxRec
lea eax, [ebp - 0x6ac]
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
push 2
call sub.RECHEAD.dll_Ordinal_60_1
mov ecx, dword [ebp - 0x10]
add ecx, 0x4f54
push ecx
push 0
call fcn.004019d0
mov edx, dword [eax + 0x20]
push edx
call sub.RECHEAD.dll_Ordinal_31_2
push 2
call fcn.004019d0
mov ecx, eax
call fcn.00437bf0
mov eax, dword [ebp - 0x10]
mov cx, word [ebp + 0xc]
mov word [eax + 0x60], cx
mov edx, dword [ebp - 0x10]
mov ax, word [ebp + 0x10]
mov word [edx + 0x62], ax
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xbea3], 0
push 0
push 4
push 0
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CDocument::UpdateAllViews
push 1
mov ecx, dword [ebp - 0x10]
call fcn.0041a680
test eax, eax
jne 0x41b42b
mov dword [ebp - 0x72c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x46c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x72c]
jmp 0x41b714
mov edx, dword [ebp - 0x10]
mov dword [edx + 0xbea7], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xbeab], 0
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0xbeaf], 0
push 0
push 5
push 0
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CDocument::UpdateAllViews
push 0x28
call sub.WINDCS32.dll_Ordinal_53_1
push eax
call sub.PROD32.DLL_Ordinal_1_2
test eax, eax
je 0x41b6a9
mov dx, word [ebp + 0x10]
push edx
mov ax, word [ebp + 0xc]
push eax
call sub.COM_REZ.dll_Ordinal_40_1
mov dword [ebp - 0x6b4], eax
cmp dword [ebp - 0x6b4], 0
jge 0x41b4d7
push 0xffffffffffffffff
push 0x30
push 0x2cf
call sub.MFC42.DLL_AfxMessageBox_1
mov dword [ebp - 0x730], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x46c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x730]
jmp 0x41b714
mov ecx, dword [ebp - 0x6b4]
push ecx
call sub.COM_REZ.dll_Ordinal_48_1
movsx edx, ax
mov dword [ebp - 0x6bc], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0xbecb], 0
mov dword [eax + 0xbecf], 0
mov dword [ebp - 0x6b8], 1
jmp 0x41b51e
mov ecx, dword [ebp - 0x6b8]
add ecx, 1
mov dword [ebp - 0x6b8], ecx
mov edx, dword [ebp - 0x6b8]
cmp edx, dword [ebp - 0x6bc]
ja 0x41b692
lea eax, [ebp - 0x6e8]
push eax
mov ecx, dword [ebp - 0x6b8]
push ecx
mov edx, dword [ebp - 0x6b4]
push edx
call sub.COM_REZ.dll_Ordinal_53
cmp eax, 1
jge 0x41b5cd
push 0x4f
lea eax, [ebp - 0x60]
push eax
push 0x2cd
call fcn.004124a0
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
push 0x1ff
lea ecx, [ebp - 0x260]
push ecx
push 0x91
call fcn.004124a0
push eax
call dword [sym.imp.USER32.dll_LoadStringA]
mov edx, dword [ebp - 0x6b8]
push edx
lea eax, [ebp - 0x260]
push eax
lea ecx, [ebp - 0x60]
push ecx
push str._s__s:_d
lea edx, [ebp - 0x460]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x14
push 0
call fcn.00411210
push eax
lea eax, [ebp - 0x460]
push eax
call fcn.004019d0
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x41b68d
push str._t_t_t
lea edx, [ebp - 0x460]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea eax, [ebp - 0x460]
push eax
push 6
push 0
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CDocument::UpdateAllViews
lea ecx, [ebp - 0x6e8]
push ecx
mov ecx, dword [ebp - 0x10]
call fcn.0041e710
mov ecx, 0xa
lea esi, [ebp - 0x6e8]
lea edi, [ebp - 0x718]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
movsb byte es:[edi], byte [esi]
mov edx, dword [ebp - 0x6b8]
sub edx, 1
mov dword [ebp - 0x6ed], edx
movsx eax, word [ebp - 0x6c7]
mov dword [ebp - 0x71c], eax
mov ecx, dword [ebp - 0x6b8]
sub ecx, 1
push ecx
lea edx, [ebp - 0x718]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.0041b730
lea ecx, [ebp - 0x718]
push ecx
mov ecx, dword [ebp - 0x10]
add ecx, 0x4de6
call fcn.0041ec80
mov dx, word [ebp - 0x71c]
mov word [ebp - 0x6c7], dx
mov eax, dword [ebp - 0x10]
fld qword [ebp - 0x6cf]
fadd qword [eax + 0xbecb]
mov ecx, dword [ebp - 0x10]
fstp qword [ecx + 0xbecb]
jmp 0x41b50f
cmp dword [ebp - 0x6b4], 0
jl 0x41b6a7
mov edx, dword [ebp - 0x6b4]
push edx
call sub.COM_REZ.dll_Ordinal_42_1
jmp 0x41b6b3
mov dword [ebp - 0x6bc], 0
cmp dword [ebp - 0x6bc], 0
jne 0x41b6d0
push str._t_t_t
lea eax, [ebp - 0x460]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x460]
push ecx
push 6
push 0
mov ecx, dword [ebp - 0x10]
call sub.MFC42.DLL_CDocument::UpdateAllViews
mov dword [ebp - 0x734], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x46c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x468]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x734]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc