Function at 0x457ad0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x510085
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.004d6f8f
lea ecx, [esp + 0x54]
mov dword [esp + 0x84], esi
call fcn.004d7179
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 1
call fcn.004d7179
mov eax, dword [0x5581a0]
mov dword [esp + 0x1c], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], eax
mov byte [esp + 0x84], 5
call fcn.004f7df8
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.004f7df8
mov eax, dword [eax + 4]
cmp dword [eax + 0x9ec], esi
je 0x4581a5
call fcn.004f7df8
mov eax, dword [eax + 4]
cmp dword [eax + 0x9f0], esi
jne 0x4581a5
cmp ebp, esi
je 0x4581a5
mov esi, dword [esp + 0x8c]
mov eax, dword [esi + 8]
mov eax, dword [eax - 8]
inc eax
push eax
call fcn.004dd79a
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.00457950
add esp, 0x10
test eax, eax
jne 0x457c5d
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004dd7c3
lea edx, [esp + 0x94]
push 0xc3
push edx
call fcn.0042e0a0
mov esi, dword [eax]
lea eax, [esp + 0x98]
mov bl, 6
push 0xae
push eax
mov byte [esp + 0x98], bl
call fcn.0042e0a0
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.004db341
lea ecx, [esp + 0x8c]
mov byte [esp + 0x84], bl
call fcn.004dd151
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 5
call fcn.004dd151
jmp 0x4581a5
push 0x400
call fcn.004dd79a
mov ecx, dword [esp + 0x24]
add esp, 4
mov edi, eax
push 0
mov dword [esp + 0x38], edi
call fcn.0044eed0
mov eax, dword [esp + 0x2c]
push 0
test eax, eax
je 0x457ddf
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 0x457d29
mov edx, dword [esp + 0x28]
push edx
call fcn.004dd7c3
push edi
call fcn.004dd7c3
lea eax, [esp + 0x98]
push 0xc3
push eax
call fcn.0042e0a0
mov esi, dword [eax]
lea ecx, [esp + 0x9c]
mov bl, 8
push 0x100
push ecx
mov byte [esp + 0x9c], bl
call fcn.0042e0a0
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.004db341
lea ecx, [esp + 0x8c]
mov byte [esp + 0x84], bl
call fcn.004dd151
lea ecx, [esp + 0x90]
mov byte [esp + 0x84], 5
call fcn.004dd151
jmp 0x4581a5
lea edx, [esi*4]
push edx
call fcn.004dd79a
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 0x457d58
mov eax, ebx
cmp dword [esp + 0x18], eax
jge 0x457dd0
mov eax, dword [edi]
mov ecx, ebp
push eax
call fcn.004d5a19
cmp eax, 0xffffffff
mov dword [esp + 0x14], eax
je 0x457dc2
push 0x3c
call fcn.004dd79a
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x84], 0xa
je 0x457da9
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 0x457dab
xor eax, eax
push eax
mov eax, dword [esp + 0x4c]
push eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x8c], 5
call fcn.004d6f13
mov ecx, dword [esp + 0x18]
inc ecx
add edi, 4
mov dword [esp + 0x18], ecx
jmp 0x457d50
mov ecx, dword [esp + 0x38]
push ecx
call fcn.004dd7c3
add esp, 4
jmp 0x457ded
mov edx, dword [esp + 0x4c]
lea ecx, [esp + 0x44]
push edx
call fcn.004d6f13
push 0x74
call fcn.004dd79a
add esp, 4
mov dword [esp + 0x3c], eax
test eax, eax
mov byte [esp + 0x84], 0xb
je 0x457e22
mov ecx, dword [esp + 0x20]
push 0
push 0
push 0
push 0x55cec0
push ecx
mov ecx, eax
call fcn.0048f440
mov esi, eax
jmp 0x457e24
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 0x457ef3
lea edx, [esp + 0x38]
push eax
push edx
lea ecx, [esp + 0x5c]
call fcn.004446f0
mov eax, dword [eax]
push 0x556678
push eax
call fcn.004c27fe
add esp, 8
lea ecx, [esp + 0x38]
test eax, eax
sete bl
call fcn.004dd151
test bl, bl
je 0x457e84
mov eax, dword [esp + 0x70]
push 0x55cec0
push eax
lea ecx, [esp + 0x70]
call fcn.004d7355
jmp 0x457ede
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x18]
push ecx
push edx
lea ecx, [esp + 0x5c]
call fcn.004446f0
push eax
lea ecx, [esi + 0x60]
mov byte [esp + 0x88], 0xc
call fcn.004dd28a
lea ecx, [esp + 0x18]
mov byte [esp + 0x84], 5
call fcn.004dd151
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0xb8]
cmp eax, 1
jne 0x45812e
mov edx, dword [esp + 0x70]
lea ecx, [esi + 0x5c]
push ecx
push edx
lea ecx, [esp + 0x70]
call fcn.004d7381
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x457e3e
test esi, esi
je 0x457f00
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 0x4580c7
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 0x457f83
lea edx, [esp + 0x38]
push eax
push edx
lea ecx, [esp + 0x5c]
call fcn.004446f0
mov eax, dword [eax]
push 0x556678
push eax
call fcn.004c27fe
add esp, 8
lea ecx, [esp + 0x38]
test eax, eax
sete bl
call fcn.004dd151
test bl, bl
je 0x457f72
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x6c]
lea eax, [ebp + 0xc]
push eax
lea ecx, [edx + ecx*4]
call fcn.004dd28a
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x5c]
inc eax
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x457f2d
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.00457a30
add esp, 8
test eax, eax
je 0x458094
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.00469ee0
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x458008
push 0x556680
lea ecx, [esp + 0x14]
call fcn.004dd52d
add ebp, 0xc
lea ecx, [esp + 0x10]
push ebp
call fcn.004dd569
push 0x55667c
lea ecx, [esp + 0x14]
call fcn.004dd52d
lea edx, [esp + 0x3c]
push 0xad
push edx
call fcn.0042e0a0
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x88], 0xd
call fcn.004dd569
lea ecx, [esp + 0x3c]
mov byte [esp + 0x84], 5
call fcn.004dd151
push ebx
lea ecx, [esp + 0x14]
call fcn.004dd52d
push 0x5526b0
lea ecx, [esp + 0x14]
call fcn.004dd52d
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push eax
call fcn.004dd569
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.004dd569
push 0x5526b0
lea ecx, [esp + 0x14]
call fcn.004dd52d
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x458094
lea edx, [esp + 0x1c]
push edx
call fcn.004dd28a
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x4580b2
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x44]
mov ecx, dword [ecx + eax*4]
test ecx, ecx
je 0x4580b2
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 0x457f14
mov eax, dword [esp + 0x8c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x458169
push 0x64
call fcn.004dd79a
mov edi, eax
add esp, 4
mov dword [esp + 0x8c], edi
test edi, edi
mov byte [esp + 0x84], 0xe
je 0x45814d
lea ecx, [esp + 0x3c]
push 0xe8f7
push ecx
call fcn.0042e0a0
add esp, 8
mov dword [esp + 0x30], 1
mov esi, dword [eax]
mov byte [esp + 0x84], 0xf
call fcn.004dd9d5
test eax, eax
je 0x45813d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x74]
jmp 0x45813f
test esi, esi
je 0x458169
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
jmp 0x458169
xor eax, eax
push esi
push eax
mov eax, dword [esp + 0x18]
mov ecx, edi
push eax
call fcn.0048c4e0
mov al, byte [esp + 0x30]
mov dword [esp + 0x84], 5
test al, 1
je 0x458169
lea ecx, [esp + 0x3c]
call fcn.004dd151
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x70]
call fcn.004d720c
push 0xffffffffffffffff
push 0
lea ecx, [esp + 0x48]
call fcn.004d6fef
mov ecx, dword [esp + 0x20]
push 0
call fcn.0044efd0
mov ecx, dword [esp + 0x28]
push ecx
call fcn.004dd7c3
mov edx, dword [esp + 0x38]
push edx
call fcn.004dd7c3
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0x84], 4
call fcn.004dd151
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 3
call fcn.004dd151
lea ecx, [esp + 0x1c]
mov byte [esp + 0x84], 2
call fcn.004dd151
lea ecx, [esp + 0x68]
mov byte [esp + 0x84], 1
call fcn.004d71ac
lea ecx, [esp + 0x54]
mov byte [esp + 0x84], 0
call fcn.004d71ac
lea ecx, [esp + 0x40]
mov dword [esp + 0x84], 0xffffffff
call fcn.004d6fc2
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x78
ret 8