Function at 0x45aeae
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a7327
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4d6674]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x4d6674]
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 [0x4db278]
shl esi, 2
mov edi, dword [esi + eax]
mov dword [esp + 0x44], esi
call fcn.0040d20b
and dword [esp + 0x148], 0
mov ecx, eax
call fcn.0045c10b
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 0x45b49a
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x4db278]
mov eax, dword [esi + eax]
xor edi, edi
call fcn.0040e18f
mov ecx, eax
mov dword [esp + 0x148], 1
call fcn.004609f5
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 0x45b1cb
mov eax, dword [0x4db278]
mov eax, dword [esi + eax]
mov eax, dword [eax + 0x37c]
mov eax, dword [eax - 0xc]
cmp eax, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x14], edi
jle 0x45b1c3
mov dword [esp + 0x24], edi
jmp 0x45afc9
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x4db278]
mov eax, dword [esi + eax]
call fcn.0040e18f
mov dword [esp + 0x148], 2
mov eax, dword [esp + 0x34]
mov eax, dword [eax - 0xc]
cmp eax, 0x28
je 0x45b01b
cmp eax, 0x20
je 0x45b01b
cmp eax, 0xa
je 0x45b01b
mov ecx, dword [0x4db278]
mov esi, dword [esi + ecx]
push edi
push 0xffffffffffffff9d
pop eax
mov dword [esp + 0x30], 1
call fcn.0040c4d0
jmp 0x45b18c
mov eax, dword [0x4db278]
lea edi, [esi + eax]
mov eax, dword [edi]
mov ebx, dword [eax + 0x1328]
mov eax, dword [eax + 0x132c]
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.0048e7b0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x48], edx
call fcn.00451f1f
lea eax, [esp + 0x28]
mov byte [esp + 0x148], 3
mov edi, dword [edi]
push eax
call fcn.0040d20b
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.0045354b
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.004538c9
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00465099
pop ecx
pop ecx
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov byte [esp + 0x148], 5
je 0x45b105
mov eax, dword [esp + 0x24]
cdq
idiv dword [esp + 0x20]
mov edi, eax
cmp edi, dword [esp + 0x3c]
je 0x45b100
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.0046579c
mov edi, dword [esp + 0x34]
cmp dword [edi - 0xc], 0xa
jne 0x45b145
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.0040189c
mov byte [esp + 0x148], 5
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
push edi
push dword [esp + 0x1c]
call fcn.00488c03
test eax, eax
pop ecx
pop ecx
mov ecx, dword [0x4db278]
push dword [esp + 0x14]
mov esi, dword [esi + ecx]
je 0x45b16f
push 0xffffffffffffff9d
mov dword [esp + 0x34], 1
pop eax
jmp 0x45b172
xor eax, eax
inc eax
call fcn.0040c4d0
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [esp + 0x54]
call fcn.00451f5c
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 0x45afc5
cmp dword [esp + 0x2c], 0
jne 0x45b49a
xor eax, eax
inc eax
jmp 0x45b49c
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x4db278]
mov ecx, dword [esi + eax]
call fcn.0040b92c
mov ecx, eax
mov dword [esp + 0x148], 7
call fcn.004609f5
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 0x45b49a
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x4db278]
mov ecx, dword [esi + eax]
call fcn.0040b92c
mov ecx, dword [esp + 0x38]
test ecx, ecx
mov dword [esp + 0x148], 8
je 0x45b23f
push 0
call fcn.0046e7d7
lea ebx, [esp + 0x14]
call fcn.00403e21
mov edi, eax
call fcn.00403e6f
push 0x25
push 0x25
mov eax, ebx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0046067c
add esp, 0x10
push eax
mov ecx, ebx
mov byte [esp + 0x14c], 9
call fcn.0040189c
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 0x45b357
cmp eax, 0xa
je 0x45b357
call fcn.0046df20
push eax
lea ecx, [esp + 0x24]
call fcn.0046e14b
lea eax, [esp + 0x18]
mov byte [esp + 0x148], 0xf
push eax
mov eax, dword [0x4db278]
mov edi, dword [esi + eax]
call fcn.0040d20b
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x150], 0x10
call fcn.004637cc
pop ecx
pop ecx
push dword [esp + 0x30]
mov edx, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14c], 0x11
call fcn.0044b80c
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x14c], 0x12
call fcn.0040189c
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.00488c03
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 0x45b45f
lea eax, [esp + 0x54]
call fcn.00451f1f
lea eax, [esp + 0x28]
mov byte [esp + 0x148], 0xa
push eax
mov eax, dword [0x4db278]
mov edi, dword [esi + eax]
call fcn.0040d20b
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x150], 0xb
call fcn.004637cc
pop ecx
pop ecx
push dword [esp + 0x30]
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
mov byte [esp + 0x150], 0xc
call fcn.00453313
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.004538c9
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00465099
pop ecx
pop ecx
mov byte [esp + 0x148], 0xd
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0xa
jne 0x45b42c
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.0040189c
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.00488c03
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.00451f5c
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x45b46e
push 5
call fcn.0046e7d7
test edi, edi
je 0x45b485
xor esi, esi
inc esi
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, esi
jmp 0x45b49c
mov eax, dword [0x4db278]
mov eax, dword [esi + eax]
push 0
push 0
call fcn.0040ae48
xor esi, esi
jmp 0x45b475
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.004882f3
mov esp, ebp
pop ebp
ret