Function at 0x422e30
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x502978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x64
push ebx
push ebp
push esi
push edi
mov esi, ecx
call fcn.00436d40
mov ecx, dword [esi + 0x1c]
lea ebx, [esi + 0x18]
mov dword [esp + 0x24], eax
push ecx
mov eax, dword [ebx + 8]
mov dword [esp + 0x30], ebx
push eax
push eax
call fcn.00423880
add esp, 0xc
mov edi, eax
mov eax, dword [ebx + 8]
mov ecx, ebx
push eax
push edi
call fcn.0041f3c0
add esi, 0x28
mov dword [ebx + 8], edi
mov ecx, dword [esi + 4]
mov eax, dword [esi + 8]
push ecx
push eax
push eax
call fcn.00423880
add esp, 0xc
mov edi, eax
mov eax, dword [esi + 8]
mov ecx, esi
push eax
push edi
call fcn.0041f3c0
mov dword [esi + 8], edi
call fcn.004f65e5
mov eax, dword [eax + 4]
push str._empty_
push str.Favorites
lea ecx, [esp + 0x18]
push str.Settings
push ecx
mov ecx, eax
call fcn.004f6a9a
mov edi, dword [esp + 0x10]
mov dword [esp + 0x7c], 0
mov ebp, str._empty_
mov dl, byte [edi]
mov cl, byte [ebp]
mov al, dl
cmp dl, cl
jne 0x422f02
test al, al
je 0x422efe
mov cl, byte [edi + 1]
mov dl, byte [ebp + 1]
mov al, cl
cmp cl, dl
jne 0x422f02
add edi, 2
add ebp, 2
test al, al
jne 0x422ed9
xor eax, eax
jmp 0x422f07
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x422f39
mov edx, dword [str.1_21_41_47_61_43]
lea ecx, [esp + 0x10]
push edx
call fcn.004e14c2
call fcn.004f65e5
mov ecx, dword [esp + 0x10]
mov eax, dword [eax + 4]
push ecx
push str.Favorites
push str.Settings
mov ecx, eax
call fcn.004ecaae
or edi, 0xffffffff
jmp 0x422f42
mov edi, dword [esp + 0x18]
inc edi
lea ecx, [esp + 0x10]
push edi
push 0x2c
call fcn.004e1868
mov edx, dword [0x54514c]
mov ebp, eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x14], edx
test ebp, ebp
mov byte [esp + 0x7c], 1
jl 0x422f97
sub eax, edi
lea ecx, [esp + 0x1c]
push eax
push edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.004db165
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 2
call fcn.004e1472
mov byte [esp + 0x7c], 1
lea ecx, [esp + 0x1c]
jmp 0x422fca
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x10]
mov eax, dword [edx - 8]
sub eax, edi
push eax
lea eax, [esp + 0x24]
push eax
call fcn.004db1fb
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x80], 3
call fcn.004e1472
mov byte [esp + 0x7c], 1
lea ecx, [esp + 0x20]
call fcn.004e1339
mov ecx, dword [esp + 0x14]
push ecx
call fcn.004b1161
mov edi, eax
add esp, 4
test edi, edi
jbe 0x423212
lea ecx, [esp + 0x30]
call fcn.0041af20
push edi
lea ecx, [esp + 0x34]
mov byte [esp + 0x80], 4
call fcn.0041afc0
test eax, eax
jne 0x423018
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 1
call fcn.0041af70
jmp 0x423212
lea ecx, [esp + 0x30]
call fcn.0041b190
test eax, eax
jbe 0x42306a
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x24]
lea edx, [esp + 0x4c]
mov ecx, edi
push edx
push eax
call fcn.00437520
push 0
mov ecx, edi
call fcn.00438100
test dword [esp + 0x54], eax
jbe 0x42306a
push 0
mov ecx, edi
call fcn.00438bc0
test dword [esp + 0x54], eax
jbe 0x42306a
mov eax, dword [ebx + 8]
lea ecx, [esp + 0x30]
push ecx
push 1
push eax
mov ecx, ebx
call fcn.0041f070
mov ecx, dword [esi + 8]
mov ebp, dword [esi + 0xc]
sub ebp, ecx
mov eax, 0x92492493
imul ebp
add edx, ebp
mov edi, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x423163
mov eax, dword [esi + 4]
test eax, eax
je 0x4230b3
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp edx, 1
mov ebp, edx
ja 0x4230b8
mov ebp, 1
mov ecx, esi
call fcn.0041f040
mov ebx, eax
add ebx, ebp
mov eax, ebx
jns 0x4230c9
xor eax, eax
lea edx, [eax*8]
sub edx, eax
shl edx, 2
push edx
call fcn.004e1a0a
add esp, 4
mov ebp, eax
mov eax, dword [esi + 4]
mov ecx, esi
push ebp
push edi
push eax
call fcn.0041f3f0
lea ecx, [esp + 0x30]
mov dword [esp + 0x28], eax
push ecx
push 1
push eax
mov ecx, esi
call fcn.0041f430
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 8]
add edx, 0x1c
mov ecx, esi
push edx
push eax
push edi
call fcn.0041f3f0
mov ecx, dword [esi + 8]
mov edx, dword [esi + 4]
push ecx
push edx
mov ecx, esi
call fcn.0041f3c0
mov eax, dword [esi + 4]
push eax
call fcn.004e1a33
lea eax, [ebx*8]
add esp, 4
sub eax, ebx
lea ecx, [ebp + eax*4]
mov dword [esi + 0xc], ecx
mov ecx, esi
call fcn.0041f040
inc eax
mov ebx, dword [esp + 0x2c]
mov dword [esi + 4], ebp
lea edx, [eax*8]
sub edx, eax
lea eax, [ebp + edx*4]
mov dword [esi + 8], eax
jmp 0x423200
mov ebp, ecx
mov eax, 0x92492493
sub ebp, edi
imul ebp
add edx, ebp
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
cmp edx, 1
jae 0x4231cf
lea edx, [edi + 0x1c]
push edx
push ecx
push edi
mov ecx, esi
call fcn.0041f3f0
mov ebp, dword [esi + 8]
lea eax, [esp + 0x30]
mov ecx, ebp
push eax
sub ecx, edi
mov eax, 0x92492493
imul ecx
add edx, ecx
mov eax, 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
mov ecx, esi
sub eax, edx
push eax
push ebp
call fcn.0041f430
mov edx, dword [esi + 8]
lea ecx, [esp + 0x30]
push ecx
push edx
push edi
call fcn.0041f460
add esp, 0xc
jmp 0x4231fc
push ecx
push ecx
add ecx, 0xffffffe4
push ecx
mov ecx, esi
call fcn.0041f3f0
mov eax, dword [esi + 8]
push eax
add eax, 0xffffffe4
push eax
push edi
call fcn.0041f4c0
lea eax, [esp + 0x3c]
lea ecx, [edi + 0x1c]
push eax
push ecx
push edi
call fcn.0041f460
add esp, 0x18
add dword [esi + 8], 0x1c
lea ecx, [esp + 0x30]
mov byte [esp + 0x7c], 1
call fcn.0041af70
mov ebp, dword [esp + 0x18]
lea ecx, [esp + 0x14]
mov byte [esp + 0x7c], 0
call fcn.004e1339
test ebp, ebp
jge 0x422f3e
lea ecx, [esp + 0x10]
mov dword [esp + 0x7c], 0xffffffff
call fcn.004e1339
mov ecx, dword [esp + 0x74]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x70
ret