Function at 0x5461af
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
push ebx
push esi
push 0xf003f
xor ebx, ebx
lea eax, [ebp - 0x14]
mov esi, ecx
mov dword [ebp - 0x14], ebx
push 2
push eax
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.004c77b0
add esp, 0xc
test eax, eax
je 0x5465eb
push edi
mov ecx, esi
call fcn.0053e5dd
cmp eax, 1
je 0x546220
lea eax, [ebp - 0x2c]
push eax
call fcn.004dcbb0
pop ecx
cmp dword [eax + 0x14], 8
jb 0x546204
mov eax, dword [eax]
xor edi, edi
lea ecx, [ebp - 0x14]
inc edi
push edi
push eax
push 0x61164c
call fcn.004b9006
lea ecx, [ebp - 0x2c]
call fcn.00403730
jmp 0x546223
xor edi, edi
inc edi
push ebx
lea eax, [ebp - 0x2c]
push ebx
push eax
call fcn.004ca580
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x546239
mov eax, dword [eax]
push edi
push eax
push str.InstallDir
lea ecx, [ebp - 0x14]
call fcn.004b9006
lea ecx, [ebp - 0x2c]
call fcn.00403730
push ebx
lea eax, [ebp - 0x2c]
mov ecx, esi
push eax
call fcn.0053f11a
cmp dword [eax + 0x14], 8
jb 0x546264
mov eax, dword [eax]
push edi
push eax
push 0x60b838
lea ecx, [ebp - 0x14]
call fcn.004b9006
lea ecx, [ebp - 0x2c]
call fcn.00403730
lea eax, [esi + 0x7d0]
cmp dword [eax + 0x14], 8
jb 0x546289
mov eax, dword [eax]
push edi
push eax
push str.Version
lea ecx, [ebp - 0x14]
call fcn.004b9006
lea eax, [ebp - 0x2c]
push eax
call fcn.004dcd10
pop ecx
cmp dword [eax + 0x14], 8
jb 0x5462aa
mov eax, dword [eax]
push edi
push eax
push str.CoreVersion
lea ecx, [ebp - 0x14]
call fcn.004b9006
lea ecx, [ebp - 0x2c]
call fcn.00403730
lea eax, [ebp - 0x2c]
push eax
call fcn.004caba0
pop ecx
cmp dword [eax + 0x14], 8
jb 0x5462d3
mov eax, dword [eax]
push edi
push eax
push str.InstallPackagePath
lea ecx, [ebp - 0x14]
call fcn.004b9006
lea ecx, [ebp - 0x2c]
call fcn.00403730
call sub.KERNEL32.DLL_GetSystemDefaultLangID
movzx eax, ax
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0053022a
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
pop ecx
cmovae eax, dword [ebp - 0x2c]
pop ecx
push edi
push eax
push str.INSTLANG
lea ecx, [ebp - 0x14]
call fcn.004b9006
lea ecx, [ebp - 0x2c]
call fcn.00403730
mov edi, 0x5e3d5c
push edi
call fcn.0057bbea
pop ecx
lea eax, [eax*2 + 2]
push eax
push edi
push 1
push ebx
push str.ListenStatusControl
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov byte [ebp - 1], 1
call fcn.004dac70
test eax, eax
jne 0x546425
lea edi, [esi + 0xd4]
mov ecx, edi
call fcn.00535bff
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0053022a
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
pop ecx
cmovae eax, dword [ebp - 0x2c]
pop ecx
push 1
push eax
push str.SupplyID
lea ecx, [ebp - 0x14]
call fcn.004b9006
lea ecx, [ebp - 0x2c]
call fcn.00403730
mov ecx, edi
call fcn.00536701
test al, al
je 0x5463ea
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 4
push ebx
push str.IsCoopDev
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.00535bb3
cmp dword [eax + 0x14], 8
jb 0x5463cf
mov eax, dword [eax]
push 1
push eax
push str.SubSupplyID
lea ecx, [ebp - 0x14]
call fcn.004b9006
lea ecx, [ebp - 0x2c]
call fcn.00403730
mov byte [ebp - 1], bl
mov ecx, edi
call fcn.00535c09
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0053022a
cmp dword [ebp - 0x18], 8
lea eax, [ebp - 0x2c]
pop ecx
cmovae eax, dword [ebp - 0x2c]
pop ecx
push 1
push eax
push str.UniSupplyID
lea ecx, [ebp - 0x14]
call fcn.004b9006
lea ecx, [ebp - 0x2c]
call fcn.00403730
cmp byte [ebp - 1], bl
je 0x5464a0
push 0x208
lea eax, [ebp - 0x448]
push ebx
push eax
call fcn.005713c0
add esp, 0xc
mov dword [ebp - 8], 0x104
lea eax, [ebp - 8]
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x448]
push eax
push str.SubSupplyID
call fcn.00459fc9
test eax, eax
jne 0x546471
cmp dword [ebp - 8], ebx
je 0x54646c
cmp word [ebp - 0x448], 0x23
jne 0x5464a0
cmp byte [ebp - 1], bl
je 0x5464a0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [esi + 0xd4]
call fcn.00534f6c
cmp dword [eax + 0x14], 8
jb 0x546488
mov eax, dword [eax]
push 1
push eax
push str.SubSupplyID
lea ecx, [ebp - 0x14]
call fcn.004b9006
lea ecx, [ebp - 0x2c]
call fcn.00403730
push ebx
call fcn.005a1a5c
mov edi, eax
mov dword [esp], 0x208
lea eax, [ebp - 0x240]
mov dword [ebp - 0x38], edi
mov esi, edx
push ebx
push eax
mov dword [ebp - 0x34], esi
call fcn.005713c0
push esi
push edi
push str._lld
lea eax, [ebp - 0x240]
push 0x104
push eax
call fcn.0040b185
lea eax, [ebp - 0x240]
push eax
call fcn.0057bbea
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 0x24
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x240]
push eax
push 1
push ebx
push str.InstallTimeStamp
push dword [ebp - 0x14]
call edi
push str._Y__m__d__H:_M:_S
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x38]
call fcn.004b9200
push 1
lea ecx, [ebp - 0x14]
push dword [eax]
push str.InstallTimeStr
call fcn.004b9006
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.0040b785
mov esi, dword [ebp - 0x30]
lea ecx, [esi + 0xd4]
call fcn.00536832
test al, al
jne 0x546575
push str.JoinUserExperienceImprovePlan
lea ecx, [ebp - 0x2c]
call fcn.00408981
push dword [esi + 0x744]
lea eax, [ebp - 0x2c]
push eax
push 9
call fcn.004c8740
add esp, 0xc
lea ecx, [ebp - 0x2c]
call fcn.00403730
lea eax, [ebp - 0x30]
mov dword [ebp - 0x1c], ebx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x18], ebx
push eax
push ebx
push 0x2001f
push ebx
push ebx
push ebx
push str.SoftwareTencentQQBrowserSpeedUp
push SysReAllocString
mov esi, ebx
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x5465dc
mov esi, dword [ebp - 8]
lea eax, [ebp - 8]
push eax
push str.NeedImport_Preloaded
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [ebp - 8], ebx
call fcn.004ca540
cmp dword [ebp - 8], ebx
jne 0x5465dc
push 4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 2
push eax
push 4
push ebx
push str.NeedImport_Preloaded
push esi
call edi
xor ebx, ebx
inc ebx
pop edi
test esi, esi
je 0x5465eb
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x14], 0
je 0x5465fa
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov eax, ebx
pop ebx
leave
ret