Function at 0x418fb0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x471045
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4878d4]
xor eax, esp
push eax
lea eax, [esp + 0x3c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x4c]
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [0x4894b4]
push 0x6d
lea edi, [ebp + 0xde8]
push ecx
mov dword [esp + 0x34], edi
call dword [sym.imp.USER32.dll_LoadMenuW]
mov dword [edi], eax
test eax, eax
jne 0x41900c
xor eax, eax
jmp 0x419264
mov eax, 1
lea esi, [esp + 0x4c]
mov ecx, edi
call fcn.0041e990
mov dword [esp + 0x44], 0
mov ebx, dword [esp + 0x4c]
test ebx, ebx
je 0x419005
mov eax, dword [ebp + 0x5fc]
mov edi, dword [sym.imp.USER32.dll_CheckMenuItem]
cmp eax, 1
jne 0x419046
push 8
push 0x805d
jmp 0x419060
cmp eax, 2
jne 0x419054
push 8
push 0x805f
jmp 0x419060
cmp eax, 3
jne 0x419063
push 8
push 0x805e
push ebx
call edi
mov eax, dword [ebp + 0x518]
mov edx, dword [eax]
mov edx, dword [edx + 0x2c]
lea ecx, [esp + 0x18]
push ecx
push eax
call edx
cmp dword [esp + 0x18], 0
je 0x41909b
push 8
push 0x8061
push ebx
call edi
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 1
push 0x8025
push ebx
call esi
push 1
jmp 0x4190b7
mov esi, dword [sym.imp.USER32.dll_EnableMenuItem]
push 0
push 0x8061
push ebx
call esi
push 0
push 0x8025
push ebx
call esi
push 0
push 0x80a7
push ebx
call esi
mov eax, dword [ebp + 0x518]
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
mov eax, dword [ecx + 0x58]
call eax
mov eax, dword [esp + 0x1c]
cmp eax, 4
jne 0x4190e4
push 8
push 0x8063
jmp 0x41910b
cmp eax, 5
jne 0x4190f2
push 8
push 0x8064
jmp 0x41910b
cmp eax, 6
jne 0x419100
push 8
push 0x8065
jmp 0x41910b
cmp eax, 8
jne 0x41910e
push eax
push 0x8066
push ebx
call edi
mov eax, dword [ebp + 0x518]
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0x7c]
call eax
mov eax, dword [esp + 0x20]
test eax, eax
jne 0x419167
push 1
push 0x802b
push ebx
call esi
push 1
push 0x802c
push ebx
call esi
push 1
push 0x8002
push ebx
call esi
push 1
push 0x8067
push ebx
call esi
push 1
push 0x8068
push ebx
call esi
push 1
push 0x8069
push ebx
call esi
jmp 0x419190
cmp eax, 1
jne 0x419173
push 0x47cec4
jmp 0x41917d
cmp eax, 2
jne 0x419190
push 0x47b508
push 0x802b
push 0
push 0x802b
push ebx
call dword [sym.imp.USER32.dll_ModifyMenuW]
mov eax, dword [ebp + 0x518]
mov ecx, dword [eax]
lea edx, [esp + 0x24]
push edx
push eax
mov eax, dword [ecx + 0x74]
call eax
cmp dword [esp + 0x24], 0
je 0x4191b4
push 8
push 0x80a5
push ebx
call edi
mov eax, dword [ebp + 0x518]
mov ecx, dword [eax]
lea edx, [esp + 0x28]
push edx
push eax
mov eax, dword [ecx + 0x68]
call eax
mov eax, dword [esp + 0x28]
cmp eax, 0xffffff9c
jne 0x4191d9
push 8
push 0x80a0
jmp 0x4191f2
cmp eax, 0x64
jne 0x4191e7
push 8
push 0x80a1
jmp 0x4191f2
test eax, eax
jne 0x4191f5
push 8
push 0x80a2
push ebx
call edi
cmp dword [ebp + 0x608], 0
push 8
je 0x419207
push 0x8062
jmp 0x41920c
push 0x80a8
push ebx
call edi
mov edi, dword [esp + 0x34]
mov esi, dword [esp + 0x30]
mov ebp, dword [ebp + 4]
call fcn.00421560
push 0
push ebp
push 0
mov ecx, edi
push ecx
push eax
push 0
push ebx
call dword [sym.imp.USER32.dll_TrackPopupMenu]
test eax, eax
je 0x419005
mov edi, dword [sym.imp.USER32.dll_DestroyMenu]
push ebx
call edi
mov esi, dword [esp + 0x2c]
mov eax, dword [esi]
test eax, eax
je 0x419259
push eax
call edi
test eax, eax
je 0x419259
mov dword [esi], 0
mov dword [esi], 0
mov eax, 1
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x34
ret 4