Function at 0x409150
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ea618
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
mov ebp, ecx
push esi
lea eax, [esp + 0x18]
push edi
lea ecx, [esp + 0x18]
xor esi, esi
push eax
push ecx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
call dword [sym.imp.SHELL32.dll_Shell_GetImageLists]
mov edx, dword [esp + 0x18]
mov ebx, dword [sym.imp.USER32.dll_SendMessageA]
mov dword [0x75e3b0], esi
mov eax, dword [ebp + 0xad4]
push edx
push esi
push 0x1003
push eax
call ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 0xad4]
push ecx
push 1
push 0x1003
push edx
call ebx
mov eax, dword [ebp + 0xad4]
push esi
push esi
push 0x1009
push eax
call ebx
mov ecx, dword [ebp + 0xad4]
push esi
push esi
push 0x101c
push ecx
call ebx
cmp eax, esi
je 0x4091ff
mov edx, dword [ebp + 0xad4]
push esi
push esi
push 0x101c
push edx
call ebx
cmp eax, esi
jne 0x4091eb
push 0xffffffffffffffff
push 0xaf
lea edi, [ebp + 0xab8]
push esi
push 0x5485f8
push esi
mov ecx, edi
call fcn.004cd4a0
push 0xffffffffffffffff
push 0x64
push esi
push 0x5485f0
push 1
mov ecx, edi
call fcn.004cd4a0
push 0xffffffffffffffff
push 0x7d
push esi
push 0x5485e8
push 2
mov ecx, edi
call fcn.004cd4a0
push 0xffffffffffffffff
push 0x73
push esi
push 0x5485dc
push 3
mov ecx, edi
call fcn.004cd4a0
mov eax, dword [ebp + 0xad4]
push 0xffffff
push esi
push 0x1024
push eax
call ebx
mov ecx, dword [ebp + 0xad4]
push 0x262525
push esi
push 0x1001
push ecx
call ebx
mov edx, dword [ebp + 0xad4]
push 0xffffffffffffffff
push esi
push 0x1026
push edx
call ebx
mov al, byte [ebp + 0x1a4]
lea ebx, [ebp + 0x1a4]
test al, al
je 0x40942d
mov eax, ebx
mov cl, byte [eax]
cmp cl, 0x41
je 0x4092de
cmp cl, 0x42
je 0x4092de
movsx ecx, byte [esi + ebx + 1]
add ecx, 0xfffffffe
cmp ecx, 3
ja case.0x4092bb.3
jmp dword [ecx*4 + 0x4094d0]
mov ebp, 7
jmp 0x4092e3
mov ebp, 9
jmp 0x4092e3
mov ebp, 0xb
jmp 0x4092e3
mov ebp, 8
jmp 0x4092e3
mov ebp, 6
mov ecx, dword [0x74e3a4]
mov dword [esp + 0x14], ecx
movsx edx, byte [eax]
push edx
lea eax, [esp + 0x18]
push str._c:_
push eax
mov dword [esp + 0x54], 0
call fcn.004cd19e
mov ecx, dword [esp + 0x20]
add esp, 0xc
push 0
push ebp
push 0
push 0
push ecx
push esi
push 3
mov ecx, edi
call fcn.004cd4f3
push 1
push 0
push 0
push 0
push 0
mov ebp, eax
push 4
push 0
push ebp
mov ecx, edi
call fcn.004cd575
mov eax, dword [ebx + esi + 2]
mov dword [esp + 0x34], 0
mov dword [esp + 0x30], eax
mov edx, dword [ebx + esi + 6]
fild qword [esp + 0x30]
sub esp, 8
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], edx
fmul dword [0x510674]
fstp qword [esp]
push str._12.1f_GB
push eax
call fcn.004cd19e
mov ecx, dword [esp + 0x24]
add esp, 0x10
push ecx
push 2
push ebp
mov ecx, edi
call fcn.004cd5ee
mov edx, dword [esp + 0x20]
mov dword [esp + 0x3c], 0
mov dword [esp + 0x38], edx
sub esp, 8
fild qword [esp + 0x40]
lea eax, [esp + 0x1c]
fmul dword [0x510674]
fstp qword [esp]
push str._10.1f_GB
push eax
call fcn.004cd19e
mov ecx, dword [esp + 0x24]
add esp, 0x10
push ecx
push 3
push ebp
mov ecx, edi
call fcn.004cd5ee
add esi, 0xa
lea eax, [esi + ebx]
push eax
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esi + eax + 1]
mov dword [esp + 0x24], esi
add esi, ebx
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jne 0x4093f0
mov edx, dword [esp + 0x20]
push edx
jmp 0x4093f1
push esi
push 1
push ebp
mov ecx, edi
call fcn.004cd5ee
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x48], 0xffffffff
lea esi, [ecx + eax + 1]
lea ecx, [esp + 0x14]
call fcn.004d3760
mov cl, byte [esi + ebx]
lea eax, [esi + ebx]
test cl, cl
jne 0x4092a2
mov ebp, dword [esp + 0x28]
push 0x75e2e8
lea ecx, [ebp + 0x1a0]
call fcn.004d38e9
mov edx, dword [ebp + 0xa5c]
push 0
push 0
push 0x14b
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
push 0x5485a4
push ebp
mov dword [0x75e3b4], 0
call fcn.0040a040
mov eax, dword [ebp + 0x9b4]
add esp, 8
test eax, eax
je 0x409478
mov eax, dword [eax + 0x1c]
lea ecx, [esp + 0x2c]
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutA]
push ecx
push 0x1f4
push 3
push 0
push 0
push 0x402
push eax
call esi
add ebp, 0x9c4
test ebp, ebp
je 0x4094a3
mov ebp, dword [ebp + 0x1c]
lea edx, [esp + 0x2c]
push edx
push 0x1f4
push 3
push 0
push 2
push 0x401
push ebp
call esi
mov ecx, dword [esp + 0x40]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret