Function at 0x4a7970
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53ec58
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x59024c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 0x10]
mov edx, 0x54dcf0
mov esi, 0xc
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x4a7fdb
add ecx, 4
add edx, 4
sub esi, 4
jae 0x4a79a5
mov eax, dword [ebp + 0xc]
add eax, 0xffffff9a
cmp eax, 0xab
ja case.0x4a79d2.103
movzx eax, byte [eax + 0x4a802c]
jmp dword [eax*4 + 0x4a7ff4]
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 0x4a7a4b
push dword [eax + 8]
mov ecx, esi
push edi
call fcn.004a81a0
mov edx, dword [ebp + 0x1c]
test eax, eax
je 0x4a7a4b
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 0x4a7fac
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 0x4a7acc
cmp dword [esi + 0x9cc], 0
jne 0x4a7acc
cmp dword [esi + 0x9d4], 0
jne 0x4a7aaa
cmp dword [esi + 0x9d0], 0
je 0x4a7acc
cmp dword [esi + 0x9d8], 0
jne 0x4a7acc
mov ecx, dword [esi + 0xa4]
mov dword [esi + 0x9d8], 1
test ecx, ecx
je 0x4a7acc
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 0x4a7b71
test eax, eax
jne 0x4a7fac
cmp dword [esi + 0xfe0], eax
jne 0x4a7b23
cmp dword [esi + 0xfdc], eax
je 0x4a7fac
mov ecx, esi
mov dword [esi + 0xfdc], 0
mov dword [esi + 0xfe0], 0
mov dword [esi + 0xfe4], 0
call fcn.004a70e0
mov ecx, dword [esi + 0x6b0]
test ecx, ecx
je 0x4a7fac
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 0x4a7fac
xor eax, eax
mov dword [ebp + 8], eax
mov ecx, dword [esi + 0x618]
mov dword [ebp - 4], eax
test ecx, ecx
je 0x4a7bc1
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 0x4a7bc1
test eax, eax
je 0x4a7bc1
mov ecx, dword [esi + 0x6b0]
mov dword [esi + 0xfe8], 0
test ecx, ecx
je 0x4a7bc1
mov eax, dword [ecx]
call dword [eax + 0x1c]
mov eax, dword [ebp + 8]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x4a7fac
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 0x4a7fac
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 0x4a7c51
setne al
mov ecx, ebx
movzx eax, al
push eax
call fcn.004a98d0
mov eax, dword [ebx + 0xec0]
test eax, eax
js 0x4a7c69
setne al
mov ecx, ebx
movzx eax, al
push eax
call fcn.004a9a40
mov eax, dword [esi]
test eax, eax
je 0x4a7ca3
push dword [eax + 8]
mov ecx, ebx
push edi
call fcn.004a81a0
test eax, eax
je 0x4a7ca3
mov ecx, ebx
mov dword [ebx + 0xfd4], 0
mov dword [ebx + 0xfe0], 0
mov dword [ebx + 0xfdc], 0
call fcn.004a70e0
mov ecx, dword [ebx + 0x6b0]
test ecx, ecx
je 0x4a7cb4
mov eax, dword [ecx]
push esi
push edi
call dword [eax + 0x28]
cmp byte [ebx + 0x6b5], 0
jne 0x4a7fac
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 0x4a7fac
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 0x4a7fac
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 0x4a7fac
push 0x4a9cb0
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 0x4a9c30
push 0xfffffffffffffffc
push dword [ebp + 8]
call edi
push eax
push str.22CEB27E_D1AA_4b4b_A1EA_96945DE5B3E2
push dword [ebp + 8]
call esi
push 0x4a9bb0
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 0x4a7fac
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 0x4a7fac
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 0x4a7fac
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 0x4a7eaa
push dword [edi + 8]
mov ecx, esi
push ebx
call fcn.004a81a0
test eax, eax
je 0x4a7eaa
mov eax, dword [esi + 0xec4]
test eax, eax
js 0x4a7e92
setne al
mov ecx, esi
movzx eax, al
push eax
call fcn.004a98d0
mov eax, dword [esi + 0xec0]
test eax, eax
js 0x4a7eaa
setne al
mov ecx, esi
movzx eax, al
push eax
call fcn.004a9a40
mov ecx, dword [esi + 0x6b0]
test ecx, ecx
je 0x4a7fac
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 0x4a7f17
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 0x4a7f17
test edi, edi
je 0x4a7fac
cmp word [edi], 0
jne 0x4a7fac
mov ecx, dword [esi + 0x44]
push 0x64
push 0x32
push esi
call fcn.0045f920
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 0x4a7fac
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 0x4a7fac
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 0x4a7fac
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