Function at 0x459654
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a552b
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4d4684]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x4d4684]
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 [0x4d923c]
shl esi, 2
mov edi, dword [esi + eax]
mov dword [esp + 0x44], esi
call fcn.0040cfa1
and dword [esp + 0x148], 0
mov ecx, eax
call fcn.0045a872
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 0x459c40
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x4d923c]
mov eax, dword [esi + eax]
xor edi, edi
call fcn.0040df22
mov ecx, eax
mov dword [esp + 0x148], 1
call fcn.0045ee51
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 0x459971
mov eax, dword [0x4d923c]
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 0x459969
mov dword [esp + 0x24], edi
jmp 0x45976f
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x4d923c]
mov eax, dword [esi + eax]
call fcn.0040df22
mov dword [esp + 0x148], 2
mov eax, dword [esp + 0x34]
mov eax, dword [eax - 0xc]
cmp eax, 0x28
je 0x4597c1
cmp eax, 0x20
je 0x4597c1
cmp eax, 0xa
je 0x4597c1
mov ecx, dword [0x4d923c]
mov esi, dword [esi + ecx]
push edi
push 0xffffffffffffff9d
pop eax
mov dword [esp + 0x30], 1
call fcn.0040c35e
jmp 0x459932
mov eax, dword [0x4d923c]
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.0048ca70
mov dword [esp + 0x44], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x48], edx
call fcn.00450d70
lea eax, [esp + 0x28]
mov byte [esp + 0x148], 3
mov edi, dword [edi]
push eax
call fcn.0040cfa1
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.0045239c
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.0045271a
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004634f5
pop ecx
pop ecx
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov byte [esp + 0x148], 5
je 0x4598ab
mov eax, dword [esp + 0x24]
cdq
idiv dword [esp + 0x20]
mov edi, eax
cmp edi, dword [esp + 0x3c]
je 0x4598a6
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.00463bdc
mov edi, dword [esp + 0x34]
cmp dword [edi - 0xc], 0xa
jne 0x4598eb
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.004870a3
test eax, eax
pop ecx
pop ecx
mov ecx, dword [0x4d923c]
push dword [esp + 0x14]
mov esi, dword [esi + ecx]
je 0x459915
push 0xffffffffffffff9d
mov dword [esp + 0x34], 1
pop eax
jmp 0x459918
xor eax, eax
inc eax
call fcn.0040c35e
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
lea eax, [esp + 0x54]
call fcn.00450dad
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 0x45976b
cmp dword [esp + 0x2c], 0
jne 0x459c40
xor eax, eax
inc eax
jmp 0x459c42
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x4d923c]
mov ecx, dword [esi + eax]
call fcn.0040b7ba
mov ecx, eax
mov dword [esp + 0x148], 7
call fcn.0045ee51
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 0x459c40
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x4d923c]
mov ecx, dword [esi + eax]
call fcn.0040b7ba
mov ecx, dword [esp + 0x38]
test ecx, ecx
mov dword [esp + 0x148], 8
je 0x4599e5
push 0
call fcn.0046cc2b
lea ebx, [esp + 0x14]
call fcn.00403d78
mov edi, eax
call fcn.00403dc6
push 0x25
push 0x25
mov eax, ebx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.0045ead8
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 0x459afd
cmp eax, 0xa
je 0x459afd
call fcn.0046c34c
push eax
lea ecx, [esp + 0x24]
call fcn.00401764
lea eax, [esp + 0x18]
mov byte [esp + 0x148], 0xf
push eax
mov eax, dword [0x4d923c]
mov edi, dword [esi + eax]
call fcn.0040cfa1
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x150], 0x10
call fcn.00461c28
pop ecx
pop ecx
push dword [esp + 0x30]
mov edx, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14c], 0x11
call fcn.0044a6c3
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.004870a3
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 0x459c05
lea eax, [esp + 0x54]
call fcn.00450d70
lea eax, [esp + 0x28]
mov byte [esp + 0x148], 0xa
push eax
mov eax, dword [0x4d923c]
mov edi, dword [esi + eax]
call fcn.0040cfa1
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x150], 0xb
call fcn.00461c28
pop ecx
pop ecx
push dword [esp + 0x30]
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
mov byte [esp + 0x150], 0xc
call fcn.00452164
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.0045271a
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.004634f5
pop ecx
pop ecx
mov byte [esp + 0x148], 0xd
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0xa
jne 0x459bd2
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.004870a3
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.00450dad
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x459c14
push 5
call fcn.0046cc2b
test edi, edi
je 0x459c2b
xor esi, esi
inc esi
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.0040174a
mov eax, esi
jmp 0x459c42
mov eax, dword [0x4d923c]
mov eax, dword [esi + eax]
push 0
push 0
call fcn.0040acdf
xor esi, esi
jmp 0x459c1b
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.00486793
mov esp, ebp
pop ebp
ret