Function at 0x4c2260
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55b626
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
mov dword [ebp - 0x40], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x40]
call fcn.004c1930
mov ecx, dword [ebp - 0x40]
movzx edx, byte [ecx + 0x30]
test edx, edx
je 0x4c237b
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
fld dword [eax + 0xc]
fadd dword [ecx + 0x34]
fnstcw word [ebp - 0x42]
movzx eax, word [ebp - 0x42]
or ah, 0xc
mov dword [ebp - 0x48], eax
fldcw word [ebp - 0x48]
fistp dword [ebp - 0x14]
fldcw word [ebp - 0x42]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
fld dword [edx + 0x10]
fadd dword [eax + 0x38]
fnstcw word [ebp - 0x4a]
movzx eax, word [ebp - 0x4a]
or ah, 0xc
mov dword [ebp - 0x50], eax
fldcw word [ebp - 0x50]
fistp dword [ebp - 0x10]
fldcw word [ebp - 0x4a]
push 0x18c
call fcn.004fdba6
add esp, 4
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
cmp dword [ebp - 0x24], 0
je 0x4c2309
push 0
mov ecx, dword [ebp - 0x24]
call fcn.0041ba00
mov dword [ebp - 0x54], eax
jmp 0x4c2310
mov dword [ebp - 0x54], 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0xac], eax
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x10]
add edx, dword [ecx + 0x44]
mov dword [ebp - 0x58], edx
fild dword [ebp - 0x58]
push ecx
fstp dword [esp]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x14]
add ecx, dword [eax + 0x40]
mov dword [ebp - 0x5c], ecx
fild dword [ebp - 0x5c]
push ecx
fstp dword [esp]
fild dword [ebp - 0x10]
push ecx
fstp dword [esp]
fild dword [ebp - 0x14]
push ecx
fstp dword [esp]
lea ecx, [ebp - 0x34]
call fcn.00456950
push eax
mov edx, dword [ebp - 0x40]
mov eax, dword [edx + 0x3c]
push eax
mov ecx, dword [ebp - 0x40]
mov ecx, dword [ecx + 0xac]
call fcn.0041bf40
mov edx, dword [ebp - 0x40]
movzx eax, byte [edx + 0x48]
test eax, eax
je 0x4c243b
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x40]
fld dword [ecx + 0xc]
fadd dword [edx + 0x4c]
fnstcw word [ebp - 0x5e]
movzx eax, word [ebp - 0x5e]
or ah, 0xc
mov dword [ebp - 0x64], eax
fldcw word [ebp - 0x64]
fistp dword [ebp - 0x1c]
fldcw word [ebp - 0x5e]
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x40]
fld dword [eax + 0x10]
fadd dword [ecx + 0x50]
fnstcw word [ebp - 0x66]
movzx eax, word [ebp - 0x66]
or ah, 0xc
mov dword [ebp - 0x6c], eax
fldcw word [ebp - 0x6c]
fistp dword [ebp - 0x18]
fldcw word [ebp - 0x66]
push 0x230
call fcn.004fdba6
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 1
cmp dword [ebp - 0x3c], 0
je 0x4c23f8
mov ecx, dword [ebp - 0x3c]
call fcn.00435f80
mov dword [ebp - 0x70], eax
jmp 0x4c23ff
mov dword [ebp - 0x70], 0
mov edx, dword [ebp - 0x70]
mov dword [ebp - 0x38], edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x40]
mov ecx, dword [ebp - 0x38]
mov dword [eax + 0xa8], ecx
mov edx, dword [ebp - 0x40]
add edx, 0x54
push edx
fild dword [ebp - 0x18]
push ecx
fstp dword [esp]
fild dword [ebp - 0x1c]
push ecx
fstp dword [esp]
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax + 0xa8]
call fcn.00436840
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4