Function at 0x4513e4
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x49b978
mov eax, dword fs:[0]
push eax
sub esp, 0x130
mov eax, dword [0x4c7674]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push esi
push edi
mov eax, dword [0x4c7674]
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 [0x4cc21c]
shl esi, 2
mov edi, dword [esi + eax]
mov dword [esp + 0x44], esi
call fcn.0040cddf
and dword [esp + 0x148], 0
mov ecx, eax
call fcn.004525e6
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.00401755
test bl, bl
jne 0x4519d0
lea eax, [esp + 0x20]
push eax
mov eax, dword [0x4cc21c]
mov eax, dword [esi + eax]
xor edi, edi
call fcn.0040dd60
mov ecx, eax
mov dword [esp + 0x148], 1
call fcn.00456b20
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.00401755
test bl, bl
je 0x451701
mov eax, dword [0x4cc21c]
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 0x4516f9
mov dword [esp + 0x24], edi
jmp 0x4514ff
mov esi, dword [esp + 0x40]
lea eax, [esp + 0x34]
push eax
mov eax, dword [0x4cc21c]
mov eax, dword [esi + eax]
call fcn.0040dd60
mov dword [esp + 0x148], 2
mov eax, dword [esp + 0x34]
mov eax, dword [eax - 0xc]
cmp eax, 0x28
je 0x451551
cmp eax, 0x20
je 0x451551
cmp eax, 0xa
je 0x451551
mov ecx, dword [0x4cc21c]
mov esi, dword [esi + ecx]
push edi
push 0xffffffffffffff9d
pop eax
mov dword [esp + 0x30], 1
call fcn.0040c19c
jmp 0x4516c2
mov eax, dword [0x4cc21c]
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.004835c0
mov dword [esp + 0x44], eax
lea eax, [esp + 0x54]
mov dword [esp + 0x48], edx
call fcn.00448a84
lea eax, [esp + 0x28]
mov byte [esp + 0x148], 3
mov edi, dword [edi]
push eax
call fcn.0040cddf
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.0044a0b0
mov byte [esp + 0x148], 3
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.00401755
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x58]
call fcn.0044a42e
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00459e1e
pop ecx
pop ecx
mov ecx, dword [esp + 0x30]
test ecx, ecx
mov byte [esp + 0x148], 5
je 0x45163b
mov eax, dword [esp + 0x24]
cdq
idiv dword [esp + 0x20]
mov edi, eax
cmp edi, dword [esp + 0x3c]
je 0x451636
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.0045a521
mov edi, dword [esp + 0x34]
cmp dword [edi - 0xc], 0xa
jne 0x45167b
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.004018cc
mov byte [esp + 0x148], 5
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00401755
push edi
push dword [esp + 0x1c]
call fcn.0047da13
test eax, eax
pop ecx
pop ecx
mov ecx, dword [0x4cc21c]
push dword [esp + 0x14]
mov esi, dword [esi + ecx]
je 0x4516a5
push 0xffffffffffffff9d
mov dword [esp + 0x34], 1
pop eax
jmp 0x4516a8
xor eax, eax
inc eax
call fcn.0040c19c
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00401755
lea eax, [esp + 0x54]
call fcn.00448ac1
or dword [esp + 0x148], 0xffffffff
mov ecx, dword [esp + 0x34]
add ecx, 0xfffffff0
call fcn.00401755
mov edi, dword [esp + 0x14]
add dword [esp + 0x24], 0x64
inc edi
cmp edi, dword [esp + 0x20]
mov dword [esp + 0x14], edi
jl 0x4514fb
cmp dword [esp + 0x2c], 0
jne 0x4519d0
xor eax, eax
inc eax
jmp 0x4519d2
lea eax, [esp + 0x1c]
push eax
mov eax, dword [0x4cc21c]
mov ecx, dword [esi + eax]
call fcn.0040b5f8
mov ecx, eax
mov dword [esp + 0x148], 7
call fcn.00456b20
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.00401755
test bl, bl
je 0x4519d0
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x4cc21c]
mov ecx, dword [esi + eax]
call fcn.0040b5f8
mov ecx, dword [esp + 0x38]
test ecx, ecx
mov dword [esp + 0x148], 8
je 0x451775
push 0
call fcn.00463222
lea ebx, [esp + 0x14]
call fcn.00403b77
mov edi, eax
call fcn.00403bc5
push 0x25
push 0x25
mov eax, ebx
push eax
lea eax, [esp + 0x28]
push eax
call fcn.004567a7
add esp, 0x10
push eax
mov ecx, ebx
mov byte [esp + 0x14c], 9
call fcn.004018cc
mov byte [esp + 0x148], 8
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00401755
mov eax, dword [esp + 0x14]
mov eax, dword [eax - 0xc]
cmp eax, 0x28
je 0x45188d
cmp eax, 0xa
je 0x45188d
call fcn.00462b71
push eax
lea ecx, [esp + 0x24]
call fcn.0040176f
lea eax, [esp + 0x18]
mov byte [esp + 0x148], 0xf
push eax
mov eax, dword [0x4cc21c]
mov edi, dword [esi + eax]
call fcn.0040cddf
push eax
lea eax, [esp + 0x28]
push eax
mov byte [esp + 0x150], 0x10
call fcn.00459626
pop ecx
pop ecx
push dword [esp + 0x30]
mov edx, eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x14c], 0x11
call fcn.004423bb
push eax
lea ecx, [esp + 0x24]
mov byte [esp + 0x14c], 0x12
call fcn.004018cc
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.00401755
mov ecx, dword [esp + 0x24]
add ecx, 0xfffffff0
call fcn.00401755
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00401755
push dword [esp + 0x14]
mov ebx, dword [esp + 0x24]
push ebx
call fcn.0047da13
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.00401755
jmp 0x451995
lea eax, [esp + 0x54]
call fcn.00448a84
lea eax, [esp + 0x28]
mov byte [esp + 0x148], 0xa
push eax
mov eax, dword [0x4cc21c]
mov edi, dword [esi + eax]
call fcn.0040cddf
push eax
lea eax, [esp + 0x20]
push eax
mov byte [esp + 0x150], 0xb
call fcn.00459626
pop ecx
pop ecx
push dword [esp + 0x30]
lea ecx, [esp + 0x58]
push ecx
mov ecx, eax
mov byte [esp + 0x150], 0xc
call fcn.00449e78
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00401755
mov byte [esp + 0x148], 0xa
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.00401755
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x58]
call fcn.0044a42e
lea eax, [esp + 0x118]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00459e1e
pop ecx
pop ecx
mov byte [esp + 0x148], 0xd
mov eax, dword [esp + 0x14]
cmp dword [eax - 0xc], 0xa
jne 0x451962
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.004018cc
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00401755
push dword [esp + 0x14]
push dword [esp + 0x1c]
call fcn.0047da13
pop ecx
mov edi, eax
pop ecx
mov ecx, dword [esp + 0x18]
neg edi
sbb edi, edi
add ecx, 0xfffffff0
inc edi
call fcn.00401755
lea eax, [esp + 0x54]
mov byte [esp + 0x148], 8
call fcn.00448ac1
mov ecx, dword [esp + 0x38]
test ecx, ecx
je 0x4519a4
push 5
call fcn.00463222
test edi, edi
je 0x4519bb
xor esi, esi
inc esi
mov ecx, dword [esp + 0x14]
add ecx, 0xfffffff0
call fcn.00401755
mov eax, esi
jmp 0x4519d2
mov eax, dword [0x4cc21c]
mov eax, dword [esi + eax]
push 0
push 0
call fcn.0040ab1d
xor esi, esi
jmp 0x4519ab
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.0047d103
mov esp, ebp
pop ebp
ret