Function at 0x431570
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x49baa0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x19], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x1d], 2
mov eax, dword [ebp - 4]
mov dword [eax + 0x25], 0
mov dword [0x4aa7d4], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x29], 0
mov dword [0x4aa7d8], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x2d], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x31], 0
push 0xc8
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x35
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov edx, dword [ebp - 4]
mov dword [edx + 0xfd], 0
mov dword [0x4aa7dc], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x101], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x105], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x109], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x10d], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x111], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x115], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x119], 0
push 0xd
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x11d
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x190
push 0
mov edx, dword [ebp - 4]
add edx, 0x151
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [eax + 0x2e1], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2e5], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x2e9], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x2ed], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2f1], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x2f5], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x2f9], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2fd], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x301], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x305], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x309], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x30d], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x311], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x315], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0x319], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x31d], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x321], 0x11
mov edx, dword [ebp - 4]
mov dword [edx + 0x325], 0x2d
push 0x20
push 0
mov eax, dword [ebp - 4]
add eax, 0x329
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x20
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x349
push ecx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x20
push 0
mov edx, dword [ebp - 4]
add edx, 0x369
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [eax + 0x389], 0
mov ecx, dword [ebp - 4]
mov word [ecx + 0x38d], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0xd], 0
cmp dword [ebp + 8], 0
je 0x4317ee
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x11], ecx
jmp 0x43180b
lea ecx, [ebp - 0xb8]
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_void_]
push 0x4a25a8
lea edx, [ebp - 0xb8]
push edx
call sub.MSVCRT.dll__CxxThrowException
cmp dword [ebp + 0xc], 0
je 0x43181c
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x15], ecx
jmp 0x431839
lea ecx, [ebp - 0xc4]
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_void_]
push 0x4a25a8
lea edx, [ebp - 0xc4]
push edx
call sub.MSVCRT.dll__CxxThrowException
push 0
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_recipeprojectplant.ini
lea eax, [ebp - 0xac]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0xac]
push ecx
push 0
push str.PrintColoredList
push str.PrintRupList
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x431892
mov edx, dword [ebp - 4]
mov byte [edx + 4], 0
mov eax, dword [ebp - 4]
mov dword [eax + 9], 0xffffff
mov ecx, dword [ebp - 4]
mov dword [ecx + 5], 0xffffff
jmp 0x4318fb
mov edx, dword [ebp - 4]
mov byte [edx + 4], 1
lea eax, [ebp - 0xac]
push eax
push 0x27
lea ecx, [ebp - 0x2c]
push ecx
push str.200_200_200
push str.EopLineBck
push str.PrintRupList
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x2c]
push edx
call sub.WINDCS32.dll_conv_RGB_StrToLong
mov ecx, dword [ebp - 4]
mov dword [ecx + 5], eax
lea edx, [ebp - 0xac]
push edx
push 0x27
lea eax, [ebp - 0x2c]
push eax
push str.126_126_126
push str.RupLineBck
push str.PrintRupList
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 0x2c]
push ecx
call sub.WINDCS32.dll_conv_RGB_StrToLong
mov edx, dword [ebp - 4]
mov dword [edx + 9], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8