Function at 0x45a010
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x5379f8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x78
push ebx
push ebp
push esi
mov ebp, ecx
push edi
mov dword [esp + 0x18], ebp
call fcn.00408fa0
mov edx, dword [esp + 0x98]
lea eax, [ebp + 0x48]
mov dword [ebp], 0x53baf8
mov esi, eax
mov edi, dword [edx]
xor ecx, ecx
mov dword [esi], edi
mov dword [esp + 0x90], ecx
mov edi, dword [edx + 4]
mov dword [esp + 0x34], ecx
mov dword [esi + 4], edi
mov dword [esp + 0x3c], ecx
mov edx, dword [edx + 8]
mov dword [esp + 0x38], 0xfffff000
mov dword [esi + 8], edx
mov eax, dword [eax]
mov ecx, dword [0x56f1b4]
mov edx, dword [ebp + 0x4c]
sar eax, 0xc
sub ecx, eax
mov eax, dword [0x56f1b8]
sar edx, 0xc
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x50]
sub eax, edx
mov edx, dword [0x56f1bc]
mov dword [esp + 0x20], eax
lea eax, [esp + 0x34]
sar ecx, 0xc
sub edx, ecx
push eax
mov dword [esp + 0x28], edx
call fcn.0046d640
lea ecx, [esp + 0x20]
push ecx
call fcn.0046d670
call fcn.0046d6a0
lea edx, [esp + 0x24]
push edx
call fcn.0046d790
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
sar eax, 8
mov dword [esp + 0x34], eax
lea eax, [esp + 0x34]
sar ecx, 8
sar edx, 8
push eax
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
call fcn.0046d870
call fcn.0046dd00
lea ecx, [esp + 0x38]
push ecx
call fcn.0046d790
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov edi, dword [esp + 0x3c]
add eax, edx
add eax, edi
push eax
call fcn.0046d430
mov ecx, eax
mov eax, dword [esp + 0x34]
cdq
idiv ecx
mov esi, eax
mov eax, dword [esp + 0x38]
cdq
idiv ecx
mov edi, eax
mov eax, dword [esp + 0x3c]
cdq
idiv ecx
shl esi, 4
shl edi, 4
push 4
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], edi
shl eax, 4
mov dword [esp + 0x40], eax
call fcn.004e5da0
add esp, 0x1c
cmp eax, 3
ja case.default.0x45a159
jmp dword [eax*4 + 0x45a4a4]
push 0xc8
call fcn.004e5da0
mov ebx, eax
add esp, 4
sub ebx, 0x400
jmp 0x45a1be
push 0x12c
call fcn.004e5da0
mov ebx, 0xfffffc00
add esp, 4
sub ebx, eax
jmp 0x45a1be
push 0xc8
call fcn.004e5da0
mov ebx, 0x400
add esp, 4
sub ebx, eax
jmp 0x45a1be
push 0x12c
call fcn.004e5da0
mov ebx, eax
add esp, 4
add ebx, 0x400
jmp 0x45a1be
mov ebx, dword [esp + 0x18]
mov eax, ebx
and eax, 0xfff
shl eax, 2
movsx edi, word [eax + 0x610c48]
movsx esi, word [eax + 0x610c4a]
lea eax, [edi + edi*4]
lea ecx, [eax + eax*4]
lea eax, [esi + esi*4]
shl ecx, 2
lea edx, [eax + eax*4]
lea eax, [esp + 0x1c]
shl edx, 2
sar ecx, 0xc
sar edx, 0xc
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], edx
lea ecx, [esp + 0x10]
push eax
lea edx, [esp + 0x68]
push ecx
push edx
call fcn.004e77d0
add esp, 0xc
lea ecx, [esp + 0x14]
lea edx, [esp + 0x70]
push eax
lea eax, [esp + 0x38]
push eax
push ecx
push edx
call fcn.004e77d0
add esp, 0xc
push eax
lea eax, [esp + 0x84]
push eax
call fcn.004e7720
mov ecx, dword [eax]
add esp, 0xc
mov dword [esp + 0x58], ecx
lea ecx, [esp + 0x58]
mov edx, dword [eax + 4]
push ecx
mov dword [esp + 0x60], edx
lea ecx, [ebp + 0x48]
mov eax, dword [eax + 8]
mov dword [esp + 0x64], eax
call fcn.004e7590
push 0x46
call fcn.004e5da0
add eax, 0x64
lea ecx, [esp + 0x18]
mov edx, eax
imul eax, esi
imul edx, edi
sar eax, 0xc
sar edx, 0xc
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
mov dword [esp + 0x18], edx
push eax
lea edx, [esp + 0x84]
push ecx
push edx
call fcn.004e77d0
add esp, 0x10
lea ecx, [esp + 0x10]
lea edx, [esp + 0x70]
push eax
lea eax, [esp + 0x38]
push eax
push ecx
push edx
call fcn.004e77d0
add esp, 0xc
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.004e7720
mov edx, dword [eax]
lea ecx, [ebp + 0x1c]
mov dword [ebp + 0x1c], edx
mov edx, dword [eax + 4]
push 0x96
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
call fcn.004e5da0
add eax, 0x96
lea ecx, [esp + 0x2c]
imul edi, eax
imul esi, eax
lea edx, [esp + 0x24]
push ecx
lea eax, [esp + 0x90]
push edx
sar edi, 0xc
sar esi, 0xc
push eax
mov dword [esp + 0x30], edi
mov dword [esp + 0x2c], esi
call fcn.004e77d0
add esp, 0x1c
lea ecx, [esp + 0x34]
lea edx, [esp + 0x10]
push eax
push ecx
lea eax, [esp + 0x78]
push edx
push eax
call fcn.004e77d0
add esp, 0xc
lea ecx, [esp + 0x68]
push eax
push ecx
call fcn.004e7720
mov edx, dword [eax]
add ebx, 0x400
mov dword [esp + 0x58], edx
and ebx, 0xfff
mov ecx, dword [eax + 4]
shl ebx, 2
mov dword [esp + 0x5c], ecx
mov edx, dword [eax + 8]
movsx eax, word [ebx + 0x610c48]
mov dword [esp + 0x60], edx
lea edx, [esp + 0x28]
lea eax, [eax + eax*4]
push edx
lea eax, [eax + eax*4]
shl eax, 1
sar eax, 0xc
mov dword [esp + 0x24], eax
movsx eax, word [ebx + 0x610c4a]
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
lea eax, [esp + 0x24]
shl ecx, 1
sar ecx, 0xc
mov dword [esp + 0x20], ecx
lea ecx, [esp + 0x8c]
push eax
push ecx
call fcn.004e77d0
add esp, 0x18
lea edx, [esp + 0x34]
lea ecx, [esp + 0x70]
push eax
lea eax, [esp + 0x14]
push edx
push eax
push ecx
call fcn.004e77d0
add esp, 0xc
lea edx, [esp + 0x68]
push eax
push edx
call fcn.004e7720
mov ecx, dword [eax]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x50], edx
mov eax, dword [eax + 8]
lea ecx, [esp + 0x58]
lea esi, [ebp + 0x48]
push ecx
lea edx, [esp + 0x8c]
push esi
push edx
mov dword [esp + 0x60], eax
call fcn.004e7720
mov edx, dword [eax]
lea ecx, [ebp + 0x10]
push 2
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
call fcn.004e5da0
add esp, 0x1c
lea ecx, [esp + 0x40]
test eax, eax
push ecx
lea edi, [ebp + 0x54]
push esi
je 0x45a417
lea edx, [esp + 0x84]
push edx
call fcn.004e7720
jmp 0x45a424
lea edx, [esp + 0x84]
push edx
call fcn.004e7760
mov edx, dword [eax]
mov ecx, edi
add esp, 0xc
mov dword [ecx], edx
mov edx, dword [eax + 4]
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
lea edx, [esp + 0x7c]
mov dword [ecx + 8], eax
lea ecx, [esp + 0x4c]
push ecx
push edi
push edx
call fcn.004e7720
mov edx, dword [eax]
lea ecx, [ebp + 0x3c]
add esp, 0xc
mov dword [ecx], edx
mov edx, dword [eax + 4]
push 0x877e63c8
mov dword [ecx + 4], edx
mov eax, dword [eax + 8]
mov dword [ecx + 8], eax
mov ecx, ebp
call fcn.00409240
mov ecx, ebp
call fcn.00409390
push 0
push 0x64
push 0xff
mov ecx, ebp
call fcn.004093c0
mov ecx, dword [esp + 0x88]
pop edi
mov byte [ebp + 0x3b], 0x24
mov eax, ebp
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x84
ret 4