Function at 0x46c370
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50af62
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x5364d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x14], ebx
cmp dword [edi + 0x4c98], eax
je 0x46c9a6
mov dword [edi + 0x4c98], eax
cmp eax, ebx
jne 0x46c3dd
lea eax, [esp + 0x24]
push 0x1b6
push eax
call fcn.00433510
add esp, 8
mov esi, eax
mov dword [esp + 0x38], ebx
mov ebx, 1
jmp 0x46c3fe
lea ecx, [esp + 0x20]
push 0x1b7
push ecx
call fcn.00433510
add esp, 8
mov esi, eax
mov dword [esp + 0x38], 1
mov ebx, 2
push str.NewIcons002.png
mov dword [esp + 0x18], ebx
call fcn.00492130
add eax, 0xc8
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00404510
add esp, 0xc
mov dword [esp + 0x38], 2
mov eax, dword [eax]
mov ecx, dword [esi]
push eax
push ecx
mov eax, edi
call fcn.0046d5b0
mov byte [esp + 0x38], 1
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c459
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0
test bl, 2
je 0x46c48d
mov eax, dword [esp + 0x20]
and ebx, 0xfffffffd
add eax, 0xfffffff0
mov dword [esp + 0x14], ebx
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c48d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x38], 0xffffffff
test bl, 1
je 0x46c4ba
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c4ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
lea ebx, [edi + 0xdc]
mov ecx, dword [ebx]
push 0
push 0
push 0x101c
push ecx
call esi
test eax, eax
jne 0x46c4c6
mov dword [esp + 0x1c], eax
call fcn.0042a1f0
lea edx, [esp + 0x18]
push edx
mov ecx, str._._colorrgb_122_122_122__size
mov esi, eax
call fcn.00401640
mov dword [esp + 0x38], 3
mov eax, dword [0x563288]
mov edx, dword [eax + 0xc]
mov ecx, 0x563288
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0x14], edi
mov eax, dword [ebp + 0xc]
mov byte [esp + 0x38], 4
test eax, eax
jne 0x46c6fc
mov edi, dword [ebp + 8]
push eax
call fcn.00460cc0
lea eax, [esp + 0x24]
push 0x1b8
push eax
call fcn.00433510
mov byte [esp + 0x40], 5
mov ecx, dword [eax]
mov edx, dword [esp + 0x20]
push ecx
push esi
push edx
push str._s_d__.__s
lea edi, [esp + 0x2c]
call fcn.00404890
mov byte [esp + 0x50], 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c57c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0xc8
call fcn.0041cd00
mov ecx, dword [esp + 0x14]
push 0
push ecx
push 0
push ebx
xor edx, edx
mov ecx, eax
call fcn.00410380
lea edx, [esp + 0x24]
push 0x1b9
push edx
call fcn.00433510
mov byte [esp + 0x40], 6
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push eax
push esi
push ecx
push str._s_d__.__s
lea edi, [esp + 0x2c]
call fcn.00404890
mov byte [esp + 0x50], 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46c5ec
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x46
call fcn.0041cd00
mov ecx, dword [esp + 0x14]
push 1
push ecx
push 1
push ebx
mov edx, 1
mov ecx, eax
call fcn.00410380
lea edx, [esp + 0x24]
push 0x1ba
push edx
call fcn.00433510
mov byte [esp + 0x40], 7
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push eax
push esi
push ecx
push str._s_d__.__s
lea edi, [esp + 0x2c]
call fcn.00404890
mov byte [esp + 0x50], 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46c65f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x78
call fcn.0041cd00
mov ecx, dword [esp + 0x14]
push 0
push ecx
push 2
push ebx
mov edx, 2
mov ecx, eax
call fcn.00410380
lea edx, [esp + 0x24]
push 0x1bb
push edx
call fcn.00433510
mov byte [esp + 0x40], 8
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push eax
push esi
push ecx
push str._s_d__.__s
lea edi, [esp + 0x2c]
call fcn.00404890
mov byte [esp + 0x50], 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46c6d2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x78
call fcn.0041cd00
mov edi, dword [esp + 0x14]
push 0
push edi
push 3
push ebx
mov edx, 3
mov ecx, eax
call fcn.00410380
mov eax, 0x136
jmp 0x46c946
cmp eax, 1
jne 0x46c94f
lea ecx, [esp + 0x24]
push 0x1b8
push ecx
call fcn.00433510
mov byte [esp + 0x40], 9
mov edx, dword [eax]
mov eax, dword [esp + 0x20]
push edx
push esi
push eax
push str._s_d__.__s
lea edi, [esp + 0x2c]
call fcn.00404890
mov byte [esp + 0x50], 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c758
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x64
call fcn.0041cd00
mov ecx, dword [esp + 0x14]
push 0
push ecx
push 0
push ebx
xor edx, edx
mov ecx, eax
call fcn.00410380
lea edx, [esp + 0x24]
push 0x10b
push edx
call fcn.00433510
mov byte [esp + 0x40], 0xa
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push eax
push esi
push ecx
push str._s_d__.__s
lea edi, [esp + 0x2c]
call fcn.00404890
mov byte [esp + 0x50], 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46c7c8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x46
call fcn.0041cd00
mov ecx, dword [esp + 0x14]
push 1
push ecx
push 1
push ebx
mov edx, 1
mov ecx, eax
call fcn.00410380
lea edx, [esp + 0x24]
push 0x115
push edx
call fcn.00433510
mov byte [esp + 0x40], 0xb
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push eax
push esi
push ecx
push str._s_d__.__s
lea edi, [esp + 0x2c]
call fcn.00404890
mov byte [esp + 0x50], 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46c83b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x46
call fcn.0041cd00
mov ecx, dword [esp + 0x14]
push 1
push ecx
push 2
push ebx
mov edx, 2
mov ecx, eax
call fcn.00410380
lea edx, [esp + 0x24]
push 0x1ba
push edx
call fcn.00433510
mov byte [esp + 0x40], 0xc
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push eax
push esi
push ecx
push str._s_d__.__s
lea edi, [esp + 0x2c]
call fcn.00404890
mov byte [esp + 0x50], 4
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46c8ae
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x78
call fcn.0041cd00
mov ecx, dword [esp + 0x14]
push 0
push ecx
push 3
push ebx
mov edx, 3
mov ecx, eax
call fcn.00410380
lea edx, [esp + 0x28]
push 0x1bb
push edx
call fcn.00433510
mov byte [esp + 0x40], 0xd
mov eax, dword [eax]
mov ecx, dword [esp + 0x20]
push eax
push esi
push ecx
push str._s_d__.__s
lea edi, [esp + 0x2c]
call fcn.00404890
mov byte [esp + 0x50], 4
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x18
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x46c921
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 0x78
call fcn.0041cd00
mov edi, dword [esp + 0x14]
push 0
push edi
push 4
push ebx
mov edx, 5
mov ecx, eax
call fcn.00410380
mov eax, 0x17c
call fcn.0041cd00
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [ebp + 8]
push ecx
push edx
call fcn.0046c9c0
add edi, 0xfffffff0
mov byte [esp + 0x38], 3
lea eax, [edi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46c97e
mov ecx, dword [edi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push edi
call eax
mov dword [esp + 0x38], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46c9a6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8