Function at 0x4d95f0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x571208
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x5c524c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
mov edx, 0x57f354
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4d9c5b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4d9625
mov eax, dword [ebp + 0xc]
add eax, 0xffffff9a
cmp eax, 0xab
ja case.0x4d9652.103
movzx eax, byte [eax + 0x4d9cac]
jmp dword [eax*4 + 0x4d9c74]
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 0x4d96cb
push dword [eax + 8]
mov ecx, esi
push edi
call fcn.004d9e20
mov edx, dword [ebp + 0x1c]
test eax, eax
je 0x4d96cb
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 0x4d9c2c
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 0x4d974c
cmp dword [esi + 0x9cc], 0
jne 0x4d974c
cmp dword [esi + 0x9d4], 0
jne 0x4d972a
cmp dword [esi + 0x9d0], 0
je 0x4d974c
cmp dword [esi + 0x9d8], 0
jne 0x4d974c
mov ecx, dword [esi + 0xa4]
mov dword [esi + 0x9d8], 1
test ecx, ecx
je 0x4d974c
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 0x4d97f1
test eax, eax
jne 0x4d9c2c
cmp dword [esi + 0xfe0], eax
jne 0x4d97a3
cmp dword [esi + 0xfdc], eax
je 0x4d9c2c
mov ecx, esi
mov dword [esi + 0xfdc], 0
mov dword [esi + 0xfe0], 0
mov dword [esi + 0xfe4], 0
call fcn.004d8d60
mov ecx, dword [esi + 0x6b0]
test ecx, ecx
je 0x4d9c2c
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 0x4d9c2c
xor eax, eax
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0x618]
mov dword [ebp - 4], eax
test ecx, ecx
je 0x4d9841
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 0x4d9841
test eax, eax
je 0x4d9841
mov ecx, dword [esi + 0x6b0]
mov dword [esi + 0xfe8], 0
test ecx, ecx
je 0x4d9841
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4d9c2c
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 0x4d9c2c
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 0x4d98d1
setne al
mov ecx, ebx
movzx eax, al
push eax
call fcn.004db550
mov eax, dword [ebx + 0xec0]
test eax, eax
js 0x4d98e9
setne al
mov ecx, ebx
movzx eax, al
push eax
call fcn.004db6c0
mov eax, dword [esi]
test eax, eax
je 0x4d9923
push dword [eax + 8]
mov ecx, ebx
push edi
call fcn.004d9e20
test eax, eax
je 0x4d9923
mov ecx, ebx
mov dword [ebx + 0xfd4], 0
mov dword [ebx + 0xfe0], 0
mov dword [ebx + 0xfdc], 0
call fcn.004d8d60
mov ecx, dword [ebx + 0x6b0]
test ecx, ecx
je 0x4d9934
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0x28]
cmp byte [ebx + 0x6b5], 0
jne 0x4d9c2c
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 0x4d9c2c
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 0x4d9c2c
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 0x4d9c2c
push 0x4db930
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 0x4db8b0
push 0xfffffffffffffffc
push dword [ebp + 8]
call edi
push eax
push str.22CEB27E_D1AA_4b4b_A1EA_96945DE5B3E2
push dword [ebp + 8]
call esi
push 0x4db830
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 0x4d9c2c
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 0x4d9c2c
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 0x4d9c2c
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 0x4d9b2a
push dword [edi + 8]
mov ecx, esi
push ebx
call fcn.004d9e20
test eax, eax
je 0x4d9b2a
mov eax, dword [esi + 0xec4]
test eax, eax
js 0x4d9b12
setne al
mov ecx, esi
movzx eax, al
push eax
call fcn.004db550
mov eax, dword [esi + 0xec0]
test eax, eax
js 0x4d9b2a
setne al
mov ecx, esi
movzx eax, al
push eax
call fcn.004db6c0
mov ecx, dword [esi + 0x6b0]
test ecx, ecx
je 0x4d9c2c
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 0x4d9b97
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 0x4d9b97
test edi, edi
je 0x4d9c2c
cmp word [edi], 0
jne 0x4d9c2c
mov ecx, dword [esi + 0x44]
push 0x64
push 0x32
push esi
call fcn.00492360
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 0x4d9c2c
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 0x4d9c2c
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 0x4d9c2c
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