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

Disassembly:
push 0xffffffffffffffff
push 0x4ab3ae
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4c4b80]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
fld dword [0x4b04c8]
mov eax, dword [0xd1b050]
fst dword [esp + 0x34]
xor esi, esi
fst dword [esp + 0x30]
fstp dword [esp + 0x2c]
cmp eax, esi
je 0x40f398
mov dword [eax], esi
jmp 0x40f3c6
push 0x10
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, esi
je 0x40f3b7
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 0xc], esi
mov dword [eax + 8], 0x64
jmp 0x40f3b9
xor eax, eax
mov dword [esp + 0x78], 0xffffffff
mov dword [0xd1b050], eax
mov ebx, dword [esp + 0x84]
mov ecx, dword [ebx]
mov ebp, dword [esp + 0x80]
dec ecx
test ecx, ecx
jle 0x40f648
lea edi, [ebp + 0x14]
fld dword [edi - 0x14]
lea edx, [esp + 0x38]
fstp dword [esp + 0x20]
push edx
fld dword [edi - 0x10]
lea eax, [esp + 0x20]
push eax
fstp dword [esp + 0x2c]
fld dword [edi - 0xc]
lea ecx, [esp + 0x20]
push ecx
fstp dword [esp + 0x34]
fld dword [edi - 8]
lea edx, [esp + 0x90]
push edx
fstp dword [esp + 0x94]
fld dword [edi - 4]
lea eax, [esp + 0x4c]
push eax
fstp dword [esp + 0x2c]
fld dword [edi]
lea ecx, [esp + 0x3c]
push ecx
fstp dword [esp + 0x34]
mov ecx, dword [0xd1b04c]
lea edx, [esp + 0x3c]
push edx
lea eax, [esp + 0x3c]
push eax
call fcn.00426700
test eax, eax
je 0x40f634
fld dword [0x4be68c]
fld dword [esp + 0x20]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x40f467
fst dword [0x4be68c]
fld dword [0x4be690]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x40f47c
fst dword [0x4be690]
fld dword [0x4be694]
fld dword [esp + 0x24]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x40f497
fst dword [0x4be694]
fld dword [0x4be698]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x40f4ac
fst dword [0x4be698]
fld dword [0x4be68c]
fld dword [esp + 0x84]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x40f4ca
fst dword [0x4be68c]
fld dword [0x4be690]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x40f4df
fst dword [0x4be690]
fld dword [0x4be694]
fld dword [esp + 0x18]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jp 0x40f4fa
fst dword [0x4be694]
fld dword [0x4be698]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x40f50f
fst dword [0x4be698]
fld dword [esp + 0x2c]
fsubp st(4)
fxch st(3)
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fabs
fstp dword [esp + 0x2c]
fld dword [esp + 0x2c]
fld qword [0x4b18f0]
fcom st(1)
fnstsw ax
fstp st(1)
test ah, 5
jnp 0x40f598
fld dword [esp + 0x30]
fsubp st(3)
fxch st(2)
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fabs
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fcomp st(2)
fnstsw ax
test ah, 0x41
je 0x40f59a
fld dword [esp + 0x28]
fsub dword [esp + 0x34]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fabs
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fcomp st(2)
fnstsw ax
fstp st(1)
test ah, 0x41
je 0x40f5a0
fstp dword [esp + 0x40]
lea ecx, [esp + 0x40]
fstp dword [esp + 0x44]
fld dword [esp + 0x1c]
fstp dword [esp + 0x48]
jmp 0x40f60d
fstp st(3)
fstp st(2)
fstp st(0)
jmp 0x40f5a2
fstp st(1)
mov ecx, dword [0xd1b050]
fstp st(0)
fld dword [0x4b04c8]
lea edx, [esp + 0x4c]
fst dword [esp + 0x4c]
push edx
fst dword [esp + 0x54]
fstp dword [esp + 0x58]
call fcn.00404a40
fld dword [esp + 0x20]
mov ecx, dword [0xd1b050]
fstp dword [esp + 0x58]
lea eax, [esp + 0x58]
fld dword [esp + 0x24]
push eax
fstp dword [esp + 0x60]
fld dword [esp + 0x2c]
fstp dword [esp + 0x64]
call fcn.00404a40
fld dword [esp + 0x84]
lea ecx, [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x18]
fstp dword [esp + 0x68]
fld dword [esp + 0x1c]
fstp dword [esp + 0x6c]
push ecx
mov ecx, dword [0xd1b050]
call fcn.00404a40
fld dword [esp + 0x84]
fstp dword [esp + 0x2c]
fld dword [esp + 0x18]
fstp dword [esp + 0x30]
fld dword [esp + 0x1c]
fstp dword [esp + 0x34]
mov edx, dword [ebx]
inc esi
dec edx
add edi, 0xc
cmp esi, edx
jl 0x40f3e2
mov eax, dword [0xd1b050]
mov esi, dword [eax]
mov ecx, dword [eax + 0xc]
test esi, esi
jle 0x40f670
mov eax, ebp
sub ecx, ebp
mov edx, esi
mov edi, dword [ecx + eax]
mov dword [eax], edi
mov edi, dword [ecx + eax + 4]
mov dword [eax + 4], edi
mov edi, dword [ecx + eax + 8]
mov dword [eax + 8], edi
add eax, 0xc
dec edx
jne 0x40f657
xor eax, eax
mov dword [ebx], esi
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x68
ret