Function at 0x441390
Capabilities:
Get number of processors
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494dcd
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x28], 0x33333333
mov dword [ebp - 0x24], 0x40053333
push 8
mov ecx, dword [ebp + 8]
call fcn.00417770
mov dword [ebp - 0x14], eax
push 0xa
mov ecx, dword [ebp + 8]
call fcn.00417770
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
sub eax, 0x190
mov ecx, dword [ebp - 0x10]
cdq
idiv dword [ecx + 0x490]
mov dword [ebp - 0x1c], eax
fild dword [ebp - 0x1c]
fmul qword [ebp - 0x28]
call sub.MSVCRT.dll__ftol
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x494], 0
je 0x441454
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x494]
mov dword [ebp - 0x110], ecx
mov edx, dword [ebp - 0x110]
mov dword [ebp - 0x10c], edx
cmp dword [ebp - 0x10c], 0
je 0x44144a
push 1
mov eax, dword [ebp - 0x10c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x10c]
call dword [edx + 4]
mov dword [ebp - 0x11c], eax
jmp 0x441454
mov dword [ebp - 0x11c], 0
push 8
call fcn.00401b30
mov dword [ebp - 0x118], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x118], 0
je 0x441484
mov ecx, dword [ebp - 0x118]
call fcn.0040d7b0
mov dword [ebp - 0x120], eax
jmp 0x44148e
mov dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x120]
mov dword [ebp - 0x114], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x114]
mov dword [ecx + 0x494], edx
push str.Arial
push 0
push 0
push 0
push 0
call sub.WINDCS32.dll_sysini_GetCharSet
push eax
push 0
push 0
push 0
push 0x190
push 0
push 0
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x10]
mov ecx, dword [edx + 0x494]
call fcn.0040d8b0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x494]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x30]
mov dword [ebp - 0x30], eax
lea ecx, [ebp - 0x68]
push ecx
mov ecx, dword [ebp + 8]
call fcn.00442cc0
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x54]
mov dword [edx + 0x49c], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x50]
mov dword [ecx + 0x4a0], edx
mov eax, dword [ebp - 0x68]
add eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x4a4], eax
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4a8], 0xc8
mov eax, dword [ebp - 0x14]
sub eax, 0xc8
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x4ac], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x4a4]
imul eax, eax, 3
add eax, 0xc8
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x4b0], eax
mov edx, dword [ebp - 0x18]
sub edx, 0xc8
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x4a4]
imul ecx, ecx, 3
sub edx, ecx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4b4], edx
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x10]
mov eax, dword [ecx + 0x4ac]
sub eax, dword [edx + 0x4a8]
cdq
sub eax, edx
sar eax, 1
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x4a8]
add edx, eax
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x4b8], edx
mov eax, dword [ebp - 0x18]
sub eax, 0x190
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x4a4]
imul edx, edx, 6
sub eax, edx
mov ecx, dword [ebp - 0x10]
cdq
idiv dword [ecx + 0x4a4]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x4bc], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x6b8
call fcn.0047e8b0
mov ecx, dword [ebp - 0x10]
cdq
idiv dword [ecx + 0x4bc]
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x498], eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x6b8
call fcn.0047e8b0
mov ecx, dword [ebp - 0x10]
cdq
idiv dword [ecx + 0x4bc]
test edx, edx
je 0x441634
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x498]
add eax, 1
mov ecx, dword [ebp - 0x10]
mov dword [ecx + 0x498], eax
push 0
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_recipeprojectplant.ini
lea edx, [ebp - 0xe8]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov dword [ebp - 0x100], 0
jmp 0x44166e
mov eax, dword [ebp - 0x100]
add eax, 1
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0xb
jge 0x441797
mov ecx, dword [ebp - 0x100]
add ecx, 1
push ecx
push str.Pixel_d
lea edx, [ebp - 0xfc]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0x124], eax
cmp dword [ebp - 0x124], 9
ja case.default.0x4416b9
mov ecx, dword [ebp - 0x124]
jmp dword [ecx*4 + 0x4417dc]
mov dword [ebp - 0x104], 1
jmp case.default.0x4416b9
mov dword [ebp - 0x104], 1
jmp case.default.0x4416b9
mov dword [ebp - 0x104], 1
jmp case.default.0x4416b9
mov dword [ebp - 0x104], 1
jmp case.default.0x4416b9
mov dword [ebp - 0x104], 0
jmp case.default.0x4416b9
mov dword [ebp - 0x104], 0
jmp case.default.0x4416b9
mov dword [ebp - 0x104], 0
jmp case.default.0x4416b9
mov dword [ebp - 0x104], 0
jmp case.default.0x4416b9
mov dword [ebp - 0x104], 0
jmp case.default.0x4416b9
mov dword [ebp - 0x104], 0
lea edx, [ebp - 0xe8]
push edx
mov eax, dword [ebp - 0x104]
push eax
lea ecx, [ebp - 0xfc]
push ecx
push str.componentlist
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x104], eax
cmp dword [ebp - 0x104], 0
jne 0x44177e
mov edx, dword [ebp - 0x100]
imul edx, edx, 0x64
mov eax, dword [ebp - 0x10]
mov dword [eax + edx + 0x44], 0
jmp 0x44165f
mov ecx, dword [ebp - 0x100]
imul ecx, ecx, 0x64
mov edx, dword [ebp - 0x10]
mov dword [edx + ecx + 0x44], 1
jmp 0x44165f
mov ecx, dword [ebp - 0x10]
call fcn.00413aa0
mov dword [ebp - 0x108], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x108]
mov edx, dword [ecx + 0xbebb]
mov dword [eax + 0x364], edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4