Function at 0x411a60
Capabilities:
Get number of processors
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4ab58f
mov eax, dword fs:[0]
push eax
sub esp, 0x270
mov eax, dword [0x4c4b80]
xor eax, esp
mov dword [esp + 0x26c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c4b80]
xor eax, esp
push eax
lea eax, [esp + 0x284]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x64], edi
mov dword [esp + 0x60], 0x64
fldz
mov ecx, dword [0x4b131c]
fst dword [esp + 0x2c]
mov eax, dword [str._TMP_zstock.res]
fst dword [esp + 0x30]
mov edx, dword [0x4b1320]
fst dword [esp + 0x34]
fst dword [esp + 0x40]
push 0x1f0
fst dword [esp + 0x48]
mov dword [esp + 0x88], ecx
fstp dword [esp + 0x4c]
mov dword [esp + 0x84], eax
fld dword [0x4b18c8]
mov eax, dword [0x4b1324]
fst dword [0x4be67c]
lea ecx, [esp + 0x94]
fld dword [0x4b04c8]
push edi
fst dword [0x4be680]
push ecx
fstp dword [0x4be688]
mov dword [esp + 0x298], 1
mov dword [esp + 0x64], edi
mov dword [esp + 0x94], edx
fstp dword [0x4be684]
mov dword [esp + 0x98], eax
call sub.MSVCR100.dll_memset
lea edx, [esp + 0x8c]
push 0x200
push edx
call fcn.00460870
add esp, 0x14
cmp eax, edi
jne 0x411a2c
lea eax, [esp + 0x80]
push 0x4b1328
push eax
call dword [sym.imp.MSVCR100.dll_fopen]
mov ebx, eax
add esp, 8
cmp ebx, edi
je 0x411a29
mov esi, dword [sym.imp.MSVCR100.dll_fscanf]
lea ecx, [esp + 0x14]
push ecx
mov edx, ecx
push edx
mov eax, ecx
push eax
lea ecx, [esp + 0x34]
push ecx
push 0x4b132c
push ebx
call esi
add esp, 0x18
cmp eax, 4
je 0x411733
push ebx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
jmp 0x411a15
fstp st(0)
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x3c]
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x34]
push edx
push 0x4b1338
push ebx
call esi
add esp, 0x18
cmp eax, 4
jne 0x411722
fld dword [0x4b0534]
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x411731
fld st(0)
lea eax, [esp + 0x14]
fld dword [esp + 0x3c]
push eax
fld st(0)
lea ecx, [esp + 0x54]
fld dword [esp + 0x3c]
push ecx
fxch st(3)
lea edx, [esp + 0x54]
fstp dword [esp + 0x34]
push edx
lea eax, [esp + 0x60]
fstp dword [esp + 0x3c]
push eax
fxch st(1)
push 0x4b1344
fstp dword [esp + 0x48]
push ebx
fxch st(1)
fst dword [esp + 0x38]
fstp dword [esp + 0x3c]
fst dword [esp + 0x34]
fstp dword [esp + 0x30]
call esi
add esp, 0x18
cmp eax, 4
jne 0x4119b0
fld dword [0x4b0534]
fld dword [esp + 0x54]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x4118db
fld st(0)
fld dword [esp + 0x4c]
fld st(0)
fld dword [esp + 0x50]
fxch st(3)
fstp dword [esp + 0x40]
fstp dword [esp + 0x44]
fxch st(1)
fstp dword [esp + 0x48]
fld dword [esp + 0x24]
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x41180c
fxch st(1)
fst dword [esp + 0x24]
fxch st(1)
fld dword [esp + 0x20]
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x411821
fxch st(1)
fstp dword [esp + 0x20]
jmp 0x411823
fstp st(1)
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x411834
fst dword [esp + 0x18]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x411847
fstp dword [esp + 0x1c]
jmp 0x411849
fstp st(0)
push 0x437a10
push 0x404a30
push 2
push 0xc
lea ecx, [esp + 0x78]
push ecx
call fcn.0048cfdb
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
mov ebp, dword [esp + 0x48]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], edi
mov dword [esp + 0x7c], ebp
lea edx, [esp + 0x68]
push edx
lea ecx, [esp + 0x5c]
mov byte [esp + 0x290], 2
call fcn.00414000
push 0x437a10
push 2
push 0xc
lea eax, [esp + 0x74]
push eax
mov byte [esp + 0x29c], 1
call fcn.0048cec0
mov dword [esp + 0x2c], esi
mov esi, dword [sym.imp.MSVCR100.dll_fscanf]
mov dword [esp + 0x30], edi
mov dword [esp + 0x34], ebp
xor edi, edi
jmp 0x411988
lea ecx, [esp + 0x14]
fstp st(0)
push ecx
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x44]
push eax
lea ecx, [esp + 0x34]
push ecx
push 0x4b1350
push ebx
call esi
add esp, 0x18
cmp eax, 4
jne 0x4119b0
fld dword [0x4b0534]
fld dword [esp + 0x28]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x4118db
fld st(0)
fld dword [esp + 0x3c]
fld st(0)
fld dword [esp + 0x38]
fxch st(3)
fstp dword [esp + 0x2c]
fstp dword [esp + 0x30]
fxch st(1)
fstp dword [esp + 0x34]
fld dword [esp + 0x24]
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x41194b
fxch st(1)
fst dword [esp + 0x24]
fxch st(1)
fld dword [esp + 0x20]
fcomp st(2)
fnstsw ax
test ah, 5
jp 0x411960
fxch st(1)
fstp dword [esp + 0x20]
jmp 0x411962
fstp st(1)
fld dword [esp + 0x18]
fcomp st(1)
fnstsw ax
test ah, 0x41
jne 0x411973
fst dword [esp + 0x18]
fld dword [esp + 0x1c]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x411986
fstp dword [esp + 0x1c]
jmp 0x411988
fstp st(0)
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x60]
push edx
push 0x4b1344
push ebx
call esi
add esp, 0x18
cmp eax, 4
je 0x4117c2
push ebx
call dword [sym.imp.MSVCR100.dll_fclose]
add esp, 4
cmp dword [esp + 0x58], 3
jl 0x411a0b
fld dword [esp + 0x24]
lea ecx, [esp + 0x58]
fstp dword [0x4be67c]
mov dword [0xd1b058], 1
fld dword [esp + 0x20]
mov dword [esp + 0x28c], 0xffffffff
fstp dword [0x4be680]
fld dword [esp + 0x18]
fstp dword [0x4be684]
fld dword [esp + 0x1c]
fstp dword [0x4be688]
call fcn.00414a80
xor eax, eax
jmp 0x411a2c
mov dword [0xd1b058], edi
mov dword [esp + 0x58], edi
lea ecx, [esp + 0x58]
mov dword [esp + 0x28c], 0xffffffff
call fcn.00414a80
or eax, 0xffffffff
mov ecx, dword [esp + 0x284]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x26c]
xor ecx, esp
call fcn.0048d046
add esp, 0x27c
ret
jmp 0x4115e0