Function at 0x404490
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ab1fb
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push esi
push edi
mov eax, dword [0x4c4b80]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x60]
xor edi, edi
cmp eax, edi
jne 0x404500
push 0x10
call sub.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_
add esp, 4
cmp eax, edi
je 0x4044f1
mov dword [eax], edi
mov dword [eax + 4], edi
mov dword [eax + 0xc], edi
mov dword [eax + 8], 0x64
mov dword [esp + 0x48], 0xffffffff
mov dword [esi + 0x60], eax
jmp 0x404502
xor eax, eax
mov dword [esp + 0x48], 0xffffffff
mov dword [esi + 0x60], eax
jmp 0x404502
mov dword [eax], edi
mov edi, dword [esi + 4]
push edi
mov ecx, esi
call fcn.00403f40
fst qword [esp + 0x24]
fld qword [0x4b0558]
fcomp st(1)
fnstsw ax
test ah, 0x41
jp 0x404697
mov eax, dword [esi + 0x58]
fld qword [eax]
mov ecx, dword [esi + 0x60]
fmul st(1)
fadd dword [edi]
fstp dword [esp + 0x1c]
fld dword [esp + 0x1c]
fst dword [esp + 0x14]
fld qword [eax + 8]
lea eax, [esp + 0x30]
fmulp st(2)
push eax
fld dword [edi + 4]
faddp st(2)
fxch st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x24]
fst dword [esp + 0x1c]
fstp dword [esp + 0x38]
fstp dword [esp + 0x34]
fldz
fstp dword [esp + 0x3c]
call fcn.00404a40
mov ecx, dword [esi + 0x58]
fld qword [ecx]
mov eax, dword [esi + 4]
fld qword [esp + 0x24]
fmul st(1), st(0)
fxch st(1)
fsubr dword [eax]
fstp dword [esp + 0x1c]
fld qword [ecx + 8]
lea ecx, [esp + 0x30]
fmulp st(1)
push ecx
mov ecx, dword [esi + 0x60]
fsubr dword [eax + 4]
fstp dword [esp + 0x24]
fld dword [esp + 0x20]
fstp dword [esp + 0x34]
fld dword [esp + 0x24]
fstp dword [esp + 0x38]
fldz
fstp dword [esp + 0x3c]
call fcn.00404a40
mov edx, dword [esi + 4]
mov ecx, dword [esi + 0x60]
mov edi, dword [ecx + 0xc]
mov eax, dword [esi + 0x58]
fld dword [edi + 4]
fsub dword [edx + 4]
mov ebx, dword [esi + 0x50]
fmul qword [eax + 8]
fld dword [edi]
fsub dword [edx]
fmul qword [eax]
faddp st(1)
fld dword [edx]
fadd qword [ebx]
fld qword [eax]
fmul st(2)
fadd st(1)
fstp dword [esp + 0x24]
fld dword [edx + 4]
fadd qword [ebx + 8]
fld qword [eax + 8]
fmulp st(3)
fadd st(2), st(0)
fxch st(2)
fstp dword [esp + 0x28]
fld dword [edi + 0x10]
fsub dword [edx + 4]
fmul qword [eax + 8]
fld dword [edi + 0xc]
fsub dword [edx]
fmul qword [eax]
faddp st(1)
fld qword [eax]
fmul st(1)
faddp st(2)
fxch st(1)
fstp dword [esp + 0x1c]
lea edx, [esp + 0x30]
push edx
fmul qword [eax + 8]
faddp st(1)
fstp dword [esp + 0x24]
fld dword [esp + 0x20]
fstp dword [esp + 0x34]
fld dword [esp + 0x24]
fstp dword [esp + 0x38]
fldz
fstp dword [esp + 0x3c]
call fcn.00404a40
fld dword [esp + 0x24]
mov ecx, dword [esi + 0x60]
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
lea eax, [esp + 0x30]
fstp dword [esp + 0x34]
push eax
fldz
fstp dword [esp + 0x3c]
call fcn.00404a40
fld dword [esp + 0x14]
fstp dword [esp + 0x30]
lea ecx, [esp + 0x30]
fld dword [esp + 0x18]
push ecx
mov ecx, dword [esi + 0x60]
fstp dword [esp + 0x38]
fldz
fstp dword [esp + 0x3c]
call fcn.00404a40
mov edx, dword [esi + 0x60]
mov eax, dword [edx]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x60]
fstp st(0)
mov eax, dword [eax]
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret