Function at 0x40f477
Capabilities:
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x442f4c
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x46a034]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x46a034]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
push str.NeedInstallBgTask
lea ecx, [esp + 0x14]
mov byte [edi + 0x28], bl
call fcn.0040221e
lea esi, [edi + 4]
push eax
mov ecx, esi
mov dword [esp + 0x54], ebx
call fcn.0040fb56
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f0b3
call fcn.00402286
push str.NeedRunBgTask
lea ecx, [esp + 0x14]
mov byte [edi + 0x29], bl
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 1
call fcn.0040fb56
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f0c9
call fcn.00402286
push str.IsPreDeployOn
lea ecx, [esp + 0x14]
mov byte [edi + 0x2a], bl
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 2
call fcn.0040fb56
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f0df
call fcn.00402286
mov ebx, 0x44cd7f
push ebx
call fcn.004010d9
pop ecx
push eax
push ebx
lea ecx, [edi + 0x2c]
call fcn.004029ec
push str.PreVersion
lea ecx, [esp + 0x14]
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 3
call fcn.0040fb56
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f0f5
call fcn.00402286
push str.ForceSilentMode
lea ecx, [esp + 0x14]
mov byte [edi + 0x44], 0
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 4
call fcn.0040fb56
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f134
call fcn.00402286
and dword [edi + 0x48], 0
push str.CountersLoad
lea ecx, [esp + 0x14]
call fcn.0040221e
mov dword [esp + 0x50], 5
push eax
mov ecx, esi
call fcn.0040fb56
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f14a
call fcn.00402286
push str.BetaPlayerLoad
lea ecx, [esp + 0x14]
mov dword [edi + 0x4c], 0x64
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 6
call fcn.0040fb56
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f162
call fcn.00402286
push str.PerModeLoggingEnabled
lea ecx, [esp + 0x14]
mov byte [edi + 0x50], 0
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 7
call fcn.0040fb56
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f17a
call fcn.00402286
push str.CountersFireImmediately
lea ecx, [esp + 0x14]
mov byte [edi + 0x51], 0
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 8
call fcn.0040fb56
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f190
call fcn.00402286
push ebx
call fcn.004010d9
pop ecx
push eax
push ebx
lea ecx, [edi + 0x54]
call fcn.004029ec
push str.ExeVersion
lea ecx, [esp + 0x14]
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 9
call fcn.0040fb56
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f1a6
call fcn.00402286
mov ebx, str.UA_43420590_15
push ebx
call fcn.004010d9
pop ecx
push eax
push ebx
lea ecx, [edi + 0x6c]
call fcn.004029ec
push str.GoogleAnalyticsAccountPropertyID
lea ecx, [esp + 0x14]
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0xa
call fcn.0040fb56
mov dword [eax], 0x40f1e5
or ebx, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x50], ebx
call fcn.00402286
push str.ValidateInstalledExeVersion
lea ecx, [esp + 0x14]
mov byte [edi + 0x84], 0
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0xb
call fcn.0040fb56
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f224
mov dword [esp + 0x50], ebx
call fcn.00402286
push str.UseNewCdn
lea ecx, [esp + 0x14]
mov byte [edi + 0x85], 0
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0xc
call fcn.0040fb56
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f23d
mov dword [esp + 0x50], ebx
call fcn.00402286
push str.UseNewVersionFetch
lea ecx, [esp + 0x14]
mov byte [edi + 0x86], 0
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0xd
call fcn.0040fb56
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f256
mov dword [esp + 0x50], ebx
call fcn.00402286
push str.CheckIsStudioOutofDate
lea ecx, [esp + 0x14]
mov byte [edi + 0x87], 0
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0xe
call fcn.0040fb56
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f26f
mov dword [esp + 0x50], ebx
call fcn.00402286
and dword [edi + 0x88], 0
push str.HttpBoostPostTimeout
lea ecx, [esp + 0x14]
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0xf
call fcn.0040fb56
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f288
mov dword [esp + 0x50], ebx
call fcn.00402286
push str.ShowInstallSuccessPrompt
lea ecx, [esp + 0x14]
mov byte [edi + 0x8c], 0
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0x10
call fcn.0040fb56
mov dword [eax], 0x40f2a3
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x10]
call fcn.00402286
push str.LogChromeProtocolFix
lea ecx, [esp + 0x14]
mov byte [edi + 0x8d], 0
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0x11
call fcn.0040fb56
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f2bc
mov dword [esp + 0x50], ebx
call fcn.00402286
mov ebx, 0x44cd7f
push ebx
call fcn.004010d9
pop ecx
push eax
push ebx
lea ecx, [edi + 0x90]
call fcn.004029ec
push str.InfluxUrl
lea ecx, [esp + 0x14]
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0x12
call fcn.0040fb56
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f2d5
call fcn.00402286
mov ebx, str.Default
push ebx
call fcn.004010d9
pop ecx
push eax
push ebx
lea ecx, [edi + 0xa8]
call fcn.004029ec
push str.InfluxDatabase
lea ecx, [esp + 0x14]
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0x13
call fcn.0040fb56
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f317
call fcn.00402286
mov ebx, 0x44f274
push ebx
call fcn.004010d9
pop ecx
push eax
push ebx
lea ecx, [edi + 0xc0]
call fcn.004029ec
push str.InfluxUser
lea ecx, [esp + 0x14]
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0x14
call fcn.0040fb56
or dword [esp + 0x50], 0xffffffff
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f359
call fcn.00402286
mov ebx, str.playfaster
push ebx
call fcn.004010d9
pop ecx
push eax
push ebx
lea ecx, [edi + 0xd8]
call fcn.004029ec
push str.InfluxPassword
lea ecx, [esp + 0x14]
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0x15
call fcn.0040fb56
or ebx, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f39b
mov dword [esp + 0x50], ebx
call fcn.00402286
and dword [edi + 0xf0], 0
push str.InfluxHundredthsPercentage
lea ecx, [esp + 0x14]
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0x16
call fcn.0040fb56
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f3dd
mov dword [esp + 0x50], ebx
call fcn.00402286
and dword [edi + 0xf4], 0
push str.InfluxInstallHundredthsPercentage
lea ecx, [esp + 0x14]
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0x17
call fcn.0040fb56
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f3f8
mov dword [esp + 0x50], ebx
call fcn.00402286
push str.UseDataDomain
lea ecx, [esp + 0x14]
mov byte [edi + 0xf8], 1
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0x18
call fcn.0040fb56
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f413
mov dword [esp + 0x50], ebx
call fcn.00402286
push str.CreateEdgeRegistry
lea ecx, [esp + 0x14]
mov byte [edi + 0xf9], 1
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0x19
call fcn.0040fb56
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f42c
mov dword [esp + 0x50], ebx
call fcn.00402286
push str.DeleteEdgeRegistry
lea ecx, [esp + 0x14]
mov byte [edi + 0xfa], 0
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0x1a
call fcn.0040fb56
lea ecx, [esp + 0x10]
mov dword [eax], 0x40f445
mov dword [esp + 0x50], ebx
call fcn.00402286
mov byte [edi + 0xfb], 0
push str.ReplaceCdnTxt
lea ecx, [esp + 0x2c]
call fcn.0040221e
push eax
mov ecx, esi
mov dword [esp + 0x54], 0x1b
call fcn.0040fb56
lea ecx, [esp + 0x28]
mov dword [eax], 0x40f45e
call fcn.00402286
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0043df0a
mov esp, ebp
pop ebp
ret