Function at 0x4d5980
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x569dc8
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5be26c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
mov edx, 0x5784b0
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4d5feb
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4d59b5
mov eax, dword [ebp + 0xc]
add eax, 0xffffff9a
cmp eax, 0xab
ja case.0x4d59e2.103
movzx eax, byte [eax + 0x4d603c]
jmp dword [eax*4 + 0x4d6004]
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
add esi, 0xfffff9f4
mov eax, dword [eax]
mov edi, dword [eax + 0x68]
lea ecx, [eax + 0x18]
mov dword [ebp + 0x10], ecx
lea ebx, [eax + 0x58]
lea ecx, [eax + 0x28]
mov dword [ebp + 0xc], ecx
lea edx, [eax + 8]
lea ecx, [eax + 0x38]
mov dword [ebp + 0x1c], edx
mov dword [ebp - 0x10], ecx
lea ecx, [eax + 0x48]
mov eax, dword [ebx]
mov dword [ebp - 0x14], ecx
test eax, eax
je 0x4d5a5b
push dword [eax + 8]
mov ecx, esi
push edi
call fcn.004d61b0
mov edx, dword [ebp + 0x1c]
test eax, eax
je 0x4d5a5b
mov dword [esi + 0xfd4], 1
mov dword [esi + 0xfe8], 1
mov dword [esi + 0xfe0], 0
mov dword [esi + 0xfdc], 0
mov ecx, dword [esi + 0x6b0]
test ecx, ecx
je 0x4d5fbc
mov eax, dword [ecx]
push edx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
push edi
call dword [eax + 0x20]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov esi, dword [ebp + 8]
cmp dword [esi + 0x9c8], 0
jne 0x4d5adc
cmp dword [esi + 0x9cc], 0
jne 0x4d5adc
cmp dword [esi + 0x9d4], 0
jne 0x4d5aba
cmp dword [esi + 0x9d0], 0
je 0x4d5adc
cmp dword [esi + 0x9d8], 0
jne 0x4d5adc
mov ecx, dword [esi + 0xa4]
mov dword [esi + 0x9d8], 1
test ecx, ecx
je 0x4d5adc
mov eax, dword [ecx]
call dword [eax + 0xc]
inc dword [esi + 0x9cc]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov esi, dword [ebp + 8]
add esi, 0xfffff9f4
mov eax, dword [esi + 0xfd8]
dec eax
cmp dword [esi + 0xfd4], 0
mov dword [esi + 0xfd8], eax
jne 0x4d5b81
test eax, eax
jne 0x4d5fbc
cmp dword [esi + 0xfe0], eax
jne 0x4d5b33
cmp dword [esi + 0xfdc], eax
je 0x4d5fbc
mov ecx, esi
mov dword [esi + 0xfdc], 0
mov dword [esi + 0xfe0], 0
mov dword [esi + 0xfe4], 0
call fcn.004d50f0
mov ecx, dword [esi + 0x6b0]
test ecx, ecx
je 0x4d5fbc
mov eax, dword [ecx]
call dword [eax + 0x10]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
cmp dword [esi + 0xfe8], 0
je 0x4d5fbc
xor eax, eax
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0x618]
mov dword [ebp - 4], eax
test ecx, ecx
je 0x4d5bd1
mov eax, dword [ecx]
lea edx, [ebp + 8]
push edx
push ecx
call dword [eax + 0x48]
test eax, eax
mov eax, dword [ebp + 8]
jne 0x4d5bd1
test eax, eax
je 0x4d5bd1
mov ecx, dword [esi + 0x6b0]
mov dword [esi + 0xfe8], 0
test ecx, ecx
je 0x4d5bd1
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4d5fbc
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
je 0x4d5fbc
mov eax, dword [ebp + 0x1c]
mov esi, dword [ecx]
mov edx, dword [eax]
movzx eax, word [edx + 8]
push eax
push dword [edx + 0x18]
call dword [esi + 0x40]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0x1c]
mov ebx, dword [ebp + 8]
add ebx, 0xfffff9f4
mov eax, dword [eax]
mov edi, dword [eax + 0x18]
lea esi, [eax + 8]
mov eax, dword [ebx + 0xec4]
test eax, eax
js 0x4d5c61
setne al
mov ecx, ebx
movzx eax, al
push eax
call fcn.004d78e0
mov eax, dword [ebx + 0xec0]
test eax, eax
js 0x4d5c79
setne al
mov ecx, ebx
movzx eax, al
push eax
call fcn.004d7a50
mov eax, dword [esi]
test eax, eax
je 0x4d5cb3
push dword [eax + 8]
mov ecx, ebx
push edi
call fcn.004d61b0
test eax, eax
je 0x4d5cb3
mov ecx, ebx
mov dword [ebx + 0xfd4], 0
mov dword [ebx + 0xfe0], 0
mov dword [ebx + 0xfdc], 0
call fcn.004d50f0
mov ecx, dword [ebx + 0x6b0]
test ecx, ecx
je 0x4d5cc4
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0x28]
cmp byte [ebx + 0x6b5], 0
jne 0x4d5fbc
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push 0
push str.Shell_Embedding
push 0
push dword [ebx + 0x5fc]
call esi
mov edi, eax
push edi
mov dword [ebp + 0x10], edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d5fbc
push 0
push str.Shell_DocObject_View
push 0
push edi
call esi
mov esi, eax
push esi
mov dword [ebp + 8], esi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d5fbc
push 0
push str.Internet_Explorer_Server
push 0
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
push eax
mov dword [ebp + 0x1c], eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4d5fbc
push 0x4d7cc0
push 0xfffffffffffffffc
push edi
mov edi, dword [sym.imp.USER32.dll_SetWindowLongW]
call edi
mov esi, dword [sym.imp.USER32.dll_SetPropW]
push eax
push str.0034D9EE_60D5_4ebb_9C17_0E237DF4F656
push dword [ebp + 0x10]
call esi
push 0x4d7c40
push 0xfffffffffffffffc
push dword [ebp + 8]
call edi
push eax
push str.22CEB27E_D1AA_4b4b_A1EA_96945DE5B3E2
push dword [ebp + 8]
call esi
push 0x4d7bc0
push 0xfffffffffffffffc
push dword [ebp + 0x1c]
call edi
push eax
push str.74F07C83_AB7B_4909_BF77_BE87C7273F6B
push dword [ebp + 0x1c]
call esi
mov byte [ebx + 0x6b5], 1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
je 0x4d5fbc
mov eax, dword [ebp + 0x1c]
mov esi, dword [ecx]
mov edx, dword [eax]
lea eax, [edx + 8]
push eax
lea eax, [edx + 0x18]
push eax
lea eax, [edx + 0x28]
push eax
lea eax, [edx + 0x38]
push eax
push dword [edx + 0x48]
call dword [esi + 0x24]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
je 0x4d5fbc
mov eax, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [eax]
push dword [eax + 8]
call dword [edx + 0x50]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
je 0x4d5fbc
mov eax, dword [ebp + 0x1c]
mov esi, dword [ecx]
mov edx, dword [eax]
push dword [edx + 8]
lea eax, [edx + 0x38]
push dword [edx + 0x18]
push dword [edx + 0x28]
push eax
push dword [edx + 0x48]
call dword [esi + 0x30]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
add esi, 0xfffff9f4
mov eax, dword [eax]
mov edi, dword [eax + 8]
mov ebx, dword [eax + 0x18]
test edi, edi
je 0x4d5eba
push dword [edi + 8]
mov ecx, esi
push ebx
call fcn.004d61b0
test eax, eax
je 0x4d5eba
mov eax, dword [esi + 0xec4]
test eax, eax
js 0x4d5ea2
setne al
mov ecx, esi
movzx eax, al
push eax
call fcn.004d78e0
mov eax, dword [esi + 0xec0]
test eax, eax
js 0x4d5eba
setne al
mov ecx, esi
movzx eax, al
push eax
call fcn.004d7a50
mov ecx, dword [esi + 0x6b0]
test ecx, ecx
je 0x4d5fbc
mov eax, dword [ecx]
push edi
push ebx
call dword [eax + 0x34]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 0x1c]
mov esi, dword [ebp + 8]
add esi, 0xfffff9f4
mov ebx, dword [eax]
mov ecx, dword [esi + 0x6b0]
mov edi, dword [ebx + 8]
test ecx, ecx
je 0x4d5f27
mov edx, dword [ecx]
movzx eax, word [ebx + 0x18]
push edi
push eax
call dword [edx + 0x38]
mov ecx, dword [esi + 0x6b0]
test ecx, ecx
je 0x4d5f27
test edi, edi
je 0x4d5fbc
cmp word [edi], 0
jne 0x4d5fbc
mov ecx, dword [esi + 0x44]
push 0x64
push 0x32
push esi
call fcn.0048e840
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
je 0x4d5fbc
mov eax, dword [ecx]
call dword [eax + 0x44]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
je 0x4d5fbc
mov eax, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [eax]
push dword [eax + 8]
call dword [edx + 0x48]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xa4]
test ecx, ecx
je 0x4d5fbc
mov eax, dword [ebp + 0x1c]
mov edx, dword [ecx]
mov eax, dword [eax]
push dword [eax + 8]
call dword [edx + 0x4c]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, 0x80020003
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24
mov eax, 0x80070057
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x24