Function at 0x4d9310
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570f18
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, 0x57f0b0
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4d997b
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4d9345
mov eax, dword [ebp + 0xc]
add eax, 0xffffff9a
cmp eax, 0xab
ja case.0x4d9372.103
movzx eax, byte [eax + 0x4d99cc]
jmp dword [eax*4 + 0x4d9994]
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 0x4d93eb
push dword [eax + 8]
mov ecx, esi
push edi
call fcn.004d9b40
mov edx, dword [ebp + 0x1c]
test eax, eax
je 0x4d93eb
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 0x4d994c
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 0x4d946c
cmp dword [esi + 0x9cc], 0
jne 0x4d946c
cmp dword [esi + 0x9d4], 0
jne 0x4d944a
cmp dword [esi + 0x9d0], 0
je 0x4d946c
cmp dword [esi + 0x9d8], 0
jne 0x4d946c
mov ecx, dword [esi + 0xa4]
mov dword [esi + 0x9d8], 1
test ecx, ecx
je 0x4d946c
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 0x4d9511
test eax, eax
jne 0x4d994c
cmp dword [esi + 0xfe0], eax
jne 0x4d94c3
cmp dword [esi + 0xfdc], eax
je 0x4d994c
mov ecx, esi
mov dword [esi + 0xfdc], 0
mov dword [esi + 0xfe0], 0
mov dword [esi + 0xfe4], 0
call fcn.004d8a80
mov ecx, dword [esi + 0x6b0]
test ecx, ecx
je 0x4d994c
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 0x4d994c
xor eax, eax
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0x618]
mov dword [ebp - 4], eax
test ecx, ecx
je 0x4d9561
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 0x4d9561
test eax, eax
je 0x4d9561
mov ecx, dword [esi + 0x6b0]
mov dword [esi + 0xfe8], 0
test ecx, ecx
je 0x4d9561
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4d994c
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 0x4d994c
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 0x4d95f1
setne al
mov ecx, ebx
movzx eax, al
push eax
call fcn.004db270
mov eax, dword [ebx + 0xec0]
test eax, eax
js 0x4d9609
setne al
mov ecx, ebx
movzx eax, al
push eax
call fcn.004db3e0
mov eax, dword [esi]
test eax, eax
je 0x4d9643
push dword [eax + 8]
mov ecx, ebx
push edi
call fcn.004d9b40
test eax, eax
je 0x4d9643
mov ecx, ebx
mov dword [ebx + 0xfd4], 0
mov dword [ebx + 0xfe0], 0
mov dword [ebx + 0xfdc], 0
call fcn.004d8a80
mov ecx, dword [ebx + 0x6b0]
test ecx, ecx
je 0x4d9654
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0x28]
cmp byte [ebx + 0x6b5], 0
jne 0x4d994c
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 0x4d994c
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 0x4d994c
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 0x4d994c
push 0x4db650
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 0x4db5d0
push 0xfffffffffffffffc
push dword [ebp + 8]
call edi
push eax
push str.22CEB27E_D1AA_4b4b_A1EA_96945DE5B3E2
push dword [ebp + 8]
call esi
push 0x4db550
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 0x4d994c
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 0x4d994c
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 0x4d994c
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 0x4d984a
push dword [edi + 8]
mov ecx, esi
push ebx
call fcn.004d9b40
test eax, eax
je 0x4d984a
mov eax, dword [esi + 0xec4]
test eax, eax
js 0x4d9832
setne al
mov ecx, esi
movzx eax, al
push eax
call fcn.004db270
mov eax, dword [esi + 0xec0]
test eax, eax
js 0x4d984a
setne al
mov ecx, esi
movzx eax, al
push eax
call fcn.004db3e0
mov ecx, dword [esi + 0x6b0]
test ecx, ecx
je 0x4d994c
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 0x4d98b7
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 0x4d98b7
test edi, edi
je 0x4d994c
cmp word [edi], 0
jne 0x4d994c
mov ecx, dword [esi + 0x44]
push 0x64
push 0x32
push esi
call fcn.004920a0
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 0x4d994c
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 0x4d994c
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 0x4d994c
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