Function at 0x457a90
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x510045
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
push ebx
push ebp
push esi
mov dword [esp + 0x1c], ecx
xor esi, esi
lea ebp, [ecx + 0x274]
push edi
lea ecx, [esp + 0x40]
mov dword [esp + 0x30], esi
call fcn.004d6f4f
lea ecx, [esp + 0x54]
mov dword [esp + 0x84], esi
call fcn.004d7139
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 1
call fcn.004d7139
mov eax, dword [0x5580a0]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x84], 5
call fcn.004f7db8
mov eax, dword [eax + 4]
mov ebx, dword [eax + 0xa28]
neg ebx
sbb ebx, ebx
and ebx, reloc.OLEAUT32.dll_VariantInit
add ebx, 0x7fffffff
call fcn.004f7db8
mov eax, dword [eax + 4]
cmp dword [eax + 0x9ec], esi
je 0x458165
call fcn.004f7db8
mov eax, dword [eax + 4]
cmp dword [eax + 0x9f0], esi
jne 0x458165
cmp ebp, esi
je 0x458165
mov esi, dword [esp + 0x8c]
mov eax, dword [esi + 8]
mov eax, dword [eax - 8]
inc eax
push eax
call fcn.004dd75a
mov edi, dword [esi + 8]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x2c], edx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
lea eax, [esp + 0x58]
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x30]
push ecx
push eax
push edx
call fcn.00457910
add esp, 0x10
test eax, eax
jne 0x457c1d
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004dd783
lea edx, [esp + 0x94]
push 0xc3
push edx
call fcn.0042e080
mov esi, dword [eax]
lea eax, [esp + 0x98]
mov bl, 6
push 0xae
push eax
mov byte [esp + 0x98], bl
call fcn.0042e080
add esp, 0x14
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push 0x10
push esi
push eax
mov byte [esp + 0x90], 7
call fcn.004db301
lea ecx, [esp + 0x8c]
mov byte [esp + 0x84], bl
call fcn.004dd111
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 5
call fcn.004dd111
jmp 0x458165
push 0x400
call fcn.004dd75a
mov ecx, dword [esp + 0x24]
add esp, 4
mov edi, eax
push 0
mov dword [esp + 0x38], edi
call fcn.0044eeb0
mov eax, dword [esp + 0x2c]
push 0
test eax, eax
je 0x457d9f
mov ecx, dword [ebp + 0x1c]
push 0
push 0x1032
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, eax
test esi, esi
jge 0x457ce9
mov edx, dword [esp + 0x28]
push edx
call fcn.004dd783
push edi
call fcn.004dd783
lea eax, [esp + 0x98]
push 0xc3
push eax
call fcn.0042e080
mov esi, dword [eax]
lea ecx, [esp + 0x9c]
mov bl, 8
push 0x100
push ecx
mov byte [esp + 0x9c], bl
call fcn.0042e080
add esp, 0x18
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push 0x10
push esi
push eax
mov byte [esp + 0x90], 9
call fcn.004db301
lea ecx, [esp + 0x8c]
mov byte [esp + 0x84], bl
call fcn.004dd111
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 5
call fcn.004dd111
jmp 0x458165
lea edx, [esi*4]
push edx
call fcn.004dd75a
add esp, 4
mov edi, eax
mov ecx, ebp
mov dword [esp + 0x38], edi
push edi
push esi
call fcn.00428990
mov dword [esp + 0x18], 0
cmp esi, ebx
mov eax, esi
jl 0x457d18
mov eax, ebx
cmp dword [esp + 0x18], eax
jge 0x457d90
mov eax, dword [edi]
mov ecx, ebp
push eax
call fcn.004d59d9
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x457d82
push 0x3c
call fcn.004dd75a
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x84], 0xa
je 0x457d69
mov ecx, dword [esp + 0x20]
mov edx, dword [ecx + 0x3a4]
mov ecx, dword [edx + 4]
mov edx, dword [esp + 0x14]
mov ecx, dword [ecx + edx*4]
push ecx
mov ecx, eax
call fcn.00429ea0
jmp 0x457d6b
xor eax, eax
push eax
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 5
call fcn.004d6ed3
mov ecx, dword [esp + 0x18]
inc ecx
add edi, 4
mov dword [esp + 0x18], ecx
jmp 0x457d10
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004dd783
add esp, 4
jmp 0x457dad
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x44]
push edx
call fcn.004d6ed3
push 0x74
call fcn.004dd75a
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x84], 0xb
je 0x457de2
mov ecx, dword [esp + 0x20]
push 0
push 0
push 0
push 0x55cdc0
push ecx
mov ecx, eax
call fcn.0048f400
mov esi, eax
jmp 0x457de4
xor esi, esi
mov ecx, dword [esp + 0x5c]
xor eax, eax
test ecx, ecx
mov byte [esp + 0x84], 5
mov dword [esp + 0x14], eax
jle 0x457eb3
lea edx, [esp + 0x38]
push eax
push edx
lea ecx, [esp + 0x5c]
call fcn.004446d0
mov eax, dword [eax]
push 0x556578
push eax
call fcn.004c27be
add esp, 8
lea ecx, [esp + 0x38]
test eax, eax
sete bl
call fcn.004dd111
test bl, bl
je 0x457e44
mov eax, dword [esp + 0x70]
push 0x55cdc0
push eax
lea ecx, [esp + 0x70]
call fcn.004d7315
jmp 0x457e9e
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.004446d0
push eax
lea ecx, [esi + 0x60]
mov byte [esp + 0x88], 0xc
call fcn.004dd24a
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 5
call fcn.004dd111
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb8]
cmp eax, 1
jne 0x4580ee
mov edx, dword [esp + 0x70]
lea ecx, [esi + 0x5c]
push ecx
push edx
lea ecx, [esp + 0x70]
call fcn.004d7341
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x457dfe
test esi, esi
je 0x457ec0
mov edx, dword [esi]
push 1
mov ecx, esi
call dword [edx + 4]
mov eax, dword [esp + 0x48]
mov dword [esp + 0x18], 0
test eax, eax
jle 0x458087
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x18]
mov ebp, dword [eax + ecx*4]
mov ecx, dword [esp + 0x5c]
xor eax, eax
test ecx, ecx
mov dword [esp + 0x14], eax
jle 0x457f43
lea edx, [esp + 0x38]
push eax
push edx
lea ecx, [esp + 0x5c]
call fcn.004446d0
mov eax, dword [eax]
push 0x556578
push eax
call fcn.004c27be
add esp, 8
lea ecx, [esp + 0x38]
test eax, eax
sete bl
call fcn.004dd111
test bl, bl
je 0x457f32
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
lea eax, [ebp + 0xc]
push eax
lea ecx, [edx + ecx*4]
call fcn.004dd24a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x457eed
mov edi, dword [esp + 0x28]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [esp + 0x34]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x68]
push ecx
push ebx
call fcn.004579f0
add esp, 8
test eax, eax
je 0x458054
lea edx, [esp + 0x24]
lea eax, [esp + 0x14]
push edx
lea ecx, [esp + 0x20]
push eax
push ecx
mov ecx, dword [esp + 0x2c]
push ebx
call fcn.00469ea0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x457fc8
push 0x556580
lea ecx, [esp + 0x14]
call fcn.004dd4ed
add ebp, 0xc
lea ecx, [esp + 0x10]
push ebp
call fcn.004dd529
push 0x55657c
lea ecx, [esp + 0x14]
call fcn.004dd4ed
lea edx, [esp + 0x3c]
push 0xad
push edx
call fcn.0042e080
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 0xd
call fcn.004dd529
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 5
call fcn.004dd111
push ebx
lea ecx, [esp + 0x14]
call fcn.004dd4ed
push 0x5526b0
lea ecx, [esp + 0x14]
call fcn.004dd4ed
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
call fcn.004dd529
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004dd529
push 0x5526b0
lea ecx, [esp + 0x14]
call fcn.004dd4ed
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x458054
lea edx, [esp + 0x1c]
push edx
call fcn.004dd24a
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x458072
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x458072
mov edx, dword [ecx]
push 1
call dword [edx + 4]
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0x18], eax
jl 0x457ed4
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x458129
push 0x64
call fcn.004dd75a
mov edi, eax
add esp, 4
mov dword [esp + 0x8c], edi
test edi, edi
mov byte [esp + 0x84], 0xe
je 0x45810d
lea ecx, [esp + 0x3c]
push 0xe8f7
push ecx
call fcn.0042e080
add esp, 8
mov dword [esp + 0x30], 1
mov esi, dword [eax]
mov byte [esp + 0x84], 0xf
call fcn.004dd995
test eax, eax
je 0x4580fd
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x4580ff
test esi, esi
je 0x458129
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
jmp 0x458129
xor eax, eax
push esi
push eax
mov eax, dword [esp + 0x18]
mov ecx, edi
push eax
call fcn.0048c4a0
mov al, byte [esp + 0x30]
mov dword [esp + 0x84], 5
test al, 1
je 0x458129
lea ecx, [esp + 0x3c]
call fcn.004dd111
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x70]
call fcn.004d71cc
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x48]
call fcn.004d6faf
mov ecx, dword [esp + 0x20]
push 0
call fcn.0044efb0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004dd783
mov edx, dword [esp + 0x38]
push edx
call fcn.004dd783
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 4
call fcn.004dd111
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 3
call fcn.004dd111
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 2
call fcn.004dd111
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 1
call fcn.004d716c
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 0
call fcn.004d716c
lea ecx, [esp + 0x40]
mov dword [esp + 0x84], 0xffffffff
call fcn.004d6f82
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 8