Function at 0x45a79b
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a6906
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4d5674]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x4d5674]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
and dword [esp + 0x2c], 0
or dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x38], eax
lea eax, [esp + 0x20]
mov esi, ecx
push eax
mov eax, dword [0x4da278]
shl esi, 2
mov edi, dword [esi + eax]
mov dword [esp + 0x44], esi
call fcn.0040d0cc
and dword [esp + 0x148], 0
mov ecx, eax
call fcn.0045b9d9
mov ebx, eax
neg ebx
sbb bl, bl
or dword [esp + 0x148], 0xffffffff
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
inc bl
call fcn.0040174a
test bl, bl
jne 0x45ad87
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x4da278]
mov eax, dword [esi + eax]
xor edi, edi
call fcn.0040e04d
mov ecx, eax
mov dword [esp + 0x148], 1
call fcn.004600f3
mov ebx, eax
neg ebx
sbb bl, bl
or dword [esp + 0x148], 0xffffffff
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
inc bl
call fcn.0040174a
test bl, bl
je 0x45aab8
mov eax, dword [0x4da278]
mov eax, dword [esi + eax]
mov eax, dword [eax + 0x374]
mov eax, dword [eax - 0xc]
cmp eax, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edi
jle 0x45aab0
mov dword [esp + 0x24], edi
jmp 0x45a8b6
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x4da278]
mov eax, dword [esi + eax]
call fcn.0040e04d
mov dword [esp + 0x148], 2
mov eax, dword [esp + 0x34]
mov eax, dword [eax - 0xc]
cmp eax, 0x28
je 0x45a908
cmp eax, 0x20
je 0x45a908
cmp eax, 0xa
je 0x45a908
mov ecx, dword [0x4da278]
mov esi, dword [esi + ecx]
push edi
push 0xffffffffffffff9d
pop eax
mov dword [esp + 0x30], 1
call fcn.0040c391
jmp 0x45aa79
mov eax, dword [0x4da278]
lea edi, [esi + eax]
mov eax, dword [edi]
mov ebx, dword [eax + 0x1320]
mov eax, dword [eax + 0x1324]
mov ecx, eax
push ecx
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x18]
cdq
mov ecx, ebx
push ecx
push edx
push eax
call fcn.0048dee0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x48], edx
call fcn.00451893
lea eax, [esp + 0x28]
mov byte [esp + 0x148], 3
mov edi, dword [edi]
push eax
call fcn.0040d0cc
push dword [esp + 0x38]
mov byte [esp + 0x14c], 4
push dword [esp + 0x54]
push ebx
push dword [esp + 0x54]
push dword [esp + 0x54]
push eax
lea eax, [esp + 0x6c]
push eax
call fcn.00452ebf
mov byte [esp + 0x148], 3
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x58]
call fcn.0045323d
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00464797
pop ecx
pop ecx
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov byte [esp + 0x148], 5
je 0x45a9f2
mov eax, dword [esp + 0x24]
cdq
idiv dword [esp + 0x20]
mov edi, eax
cmp edi, dword [esp + 0x3c]
je 0x45a9ed
mov ecx, dword [ecx + 0x20]
push 0
push edi
push 0x402
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
mov dword [esp + 0x3c], edi
call fcn.00464e9a
mov edi, dword [esp + 0x34]
cmp dword [edi - 0xc], 0xa
jne 0x45aa32
push 0xa
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.004013d0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 6
call fcn.004018c1
mov byte [esp + 0x148], 5
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
push edi
push dword [esp + 0x1c]
call fcn.00488333
test eax, eax
pop ecx
pop ecx
mov ecx, dword [0x4da278]
push dword [esp + 0x14]
mov esi, dword [esi + ecx]
je 0x45aa5c
push 0xffffffffffffff9d
mov dword [esp + 0x34], 1
pop eax
jmp 0x45aa5f
xor eax, eax
inc eax
call fcn.0040c391
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [esp + 0x54]
call fcn.004518d0
or dword [esp + 0x148], 0xffffffff
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.0040174a
mov edi, dword [esp + 0x14]
add dword [esp + 0x24], 0x64
inc edi
cmp edi, dword [esp + 0x20]
mov dword [esp + 0x14], edi
jl 0x45a8b2
cmp dword [esp + 0x2c], 0
jne 0x45ad87
xor eax, eax
inc eax
jmp 0x45ad89
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x4da278]
mov ecx, dword [esi + eax]
call fcn.0040b7ed
mov ecx, eax
mov dword [esp + 0x148], 7
call fcn.004600f3
mov ebx, eax
neg ebx
sbb bl, bl
or dword [esp + 0x148], 0xffffffff
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
inc bl
call fcn.0040174a
test bl, bl
je 0x45ad87
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x4da278]
mov ecx, dword [esi + eax]
call fcn.0040b7ed
mov ecx, dword [esp + 0x38]
test ecx, ecx
mov dword [esp + 0x148], 8
je 0x45ab2c
push 0
call fcn.0046dee1
lea ebx, [esp + 0x14]
call fcn.00403d6e
mov edi, eax
call fcn.00403dbc
push 0x25
push 0x25
mov eax, ebx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0045fd7a
add esp, 0x10
push eax
mov ecx, ebx
mov byte [esp + 0x14c], 9
call fcn.004018c1
mov byte [esp + 0x148], 8
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
cmp eax, 0x28
je 0x45ac44
cmp eax, 0xa
je 0x45ac44
call fcn.0046d63c
push eax
lea ecx, [esp + 0x24]
call fcn.00401764
lea eax, [esp + 0x18]
mov byte [esp + 0x148], 0xf
push eax
mov eax, dword [0x4da278]
mov edi, dword [esi + eax]
call fcn.0040d0cc
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x150], 0x10
call fcn.00462eca
pop ecx
pop ecx
push dword [esp + 0x30]
mov edx, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14c], 0x11
call fcn.0044b1ee
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x14c], 0x12
call fcn.004018c1
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
push dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
push ebx
call fcn.00488333
mov edi, eax
neg edi
pop ecx
pop ecx
sbb edi, edi
lea ecx, [ebx - 0x10]
inc edi
mov byte [esp + 0x148], 8
call fcn.0040174a
jmp 0x45ad4c
lea eax, [esp + 0x54]
call fcn.00451893
lea eax, [esp + 0x28]
mov byte [esp + 0x148], 0xa
push eax
mov eax, dword [0x4da278]
mov edi, dword [esi + eax]
call fcn.0040d0cc
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x150], 0xb
call fcn.00462eca
pop ecx
pop ecx
push dword [esp + 0x30]
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
mov byte [esp + 0x150], 0xc
call fcn.00452c87
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
mov byte [esp + 0x148], 0xa
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x58]
call fcn.0045323d
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00464797
pop ecx
pop ecx
mov byte [esp + 0x148], 0xd
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0xa
jne 0x45ad19
push 0xa
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
call fcn.004013d0
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x14c], 0xe
call fcn.004018c1
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.00488333
pop ecx
mov edi, eax
pop ecx
mov ecx, dword [esp + 0x18]
neg edi
sbb edi, edi
add ecx, 0xfffffff0
inc edi
call fcn.0040174a
lea eax, [esp + 0x54]
mov byte [esp + 0x148], 8
call fcn.004518d0
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x45ad5b
push 5
call fcn.0046dee1
test edi, edi
je 0x45ad72
xor esi, esi
inc esi
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, esi
jmp 0x45ad89
mov eax, dword [0x4da278]
mov eax, dword [esi + eax]
push 0
push 0
call fcn.0040ad12
xor esi, esi
jmp 0x45ad62
xor eax, eax
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.00487a23
mov esp, ebp
pop ebp
ret