Function at 0x54133a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x490
push ebx
push edi
push 0xf003f
xor ebx, ebx
lea eax, [ebp - 0x14]
mov edi, ecx
mov dword [ebp - 0x14], ebx
push 2
push eax
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0xc], ebx
call fcn.004bdb20
add esp, 0xc
test eax, eax
je 0x54184a
mov ecx, edi
call fcn.0053b151
cmp eax, 1
je 0x54144f
lea eax, [ebp - 0x30]
push eax
call fcn.004e1a20
lea eax, [ebp - 0x60]
push eax
call fcn.004e1b30
pop ecx
pop ecx
push str.11.4.5234.400
lea ecx, [ebp - 0x48]
call fcn.00408fc4
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00453ad8
pop ecx
pop ecx
test eax, eax
jg 0x5413d1
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
push 1
cmovae eax, dword [ebp - 0x30]
lea ecx, [ebp - 0x14]
push eax
push 0x6192b8
call fcn.004b58ef
jmp 0x541437
cmp dword [ebp - 0x50], ebx
je 0x541437
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
push 1
cmovae eax, dword [ebp - 0x60]
lea ecx, [ebp - 0x14]
push eax
push 0x6192b8
call fcn.004b58ef
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x30]
call fcn.0041069a
test al, al
jne 0x541437
push 0x60c5e0
lea ecx, [ebp - 0x80]
call fcn.00408fc4
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x30]
push eax
push ebx
push ebx
push ebx
push 0xfa0
push 0x1fc5
call fcn.004f37b0
add esp, 0x20
lea ecx, [ebp - 0x80]
call fcn.00403d40
lea ecx, [ebp - 0x48]
call fcn.00403d40
lea ecx, [ebp - 0x60]
call fcn.00403d40
lea ecx, [ebp - 0x30]
call fcn.00403d40
push ebx
lea eax, [ebp - 0x48]
push ebx
push eax
call fcn.004c08f0
add esp, 0xc
cmp dword [eax + 0x14], 8
jb 0x541465
mov eax, dword [eax]
push esi
xor esi, esi
lea ecx, [ebp - 0x14]
inc esi
push esi
push eax
push str.InstallDir
call fcn.004b58ef
lea ecx, [ebp - 0x48]
call fcn.00403d40
push ebx
lea eax, [ebp - 0x48]
mov ecx, edi
push eax
call fcn.0053b48e
cmp dword [eax + 0x14], 8
jb 0x541494
mov eax, dword [eax]
push esi
push eax
push 0x6132e8
lea ecx, [ebp - 0x14]
call fcn.004b58ef
lea ecx, [ebp - 0x48]
call fcn.00403d40
lea eax, [edi + 0x7d4]
cmp dword [eax + 0x14], 8
jb 0x5414b9
mov eax, dword [eax]
push esi
push eax
push str.Version
lea ecx, [ebp - 0x14]
call fcn.004b58ef
lea eax, [ebp - 0x48]
push eax
call fcn.004e1cd0
pop ecx
cmp dword [eax + 0x14], 8
jb 0x5414da
mov eax, dword [eax]
push esi
push eax
push str.CoreVersion
lea ecx, [ebp - 0x14]
call fcn.004b58ef
lea ecx, [ebp - 0x48]
call fcn.00403d40
lea eax, [ebp - 0x48]
push eax
call fcn.004c0f10
pop ecx
cmp dword [eax + 0x14], 8
jb 0x541503
mov eax, dword [eax]
push esi
push eax
push str.InstallPackagePath
lea ecx, [ebp - 0x14]
call fcn.004b58ef
lea ecx, [ebp - 0x48]
call fcn.00403d40
call sub.KERNEL32.dll_GetSystemDefaultLangID
movzx eax, ax
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00535ad4
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
pop ecx
cmovae eax, dword [ebp - 0x30]
pop ecx
push esi
push eax
push str.INSTLANG
lea ecx, [ebp - 0x14]
call fcn.004b58ef
lea ecx, [ebp - 0x30]
call fcn.00403d40
mov esi, 0x5e8318
push esi
call fcn.0057e469
pop ecx
lea eax, [eax*2 + 2]
push eax
push esi
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.004dfae0
mov esi, eax
push esi
push str.S_MRpenc
push 2
call fcn.004ede00
push eax
call fcn.004f0230
add esp, 0x10
test esi, esi
jne 0x541687
lea ecx, [edi + 0xd4]
call fcn.0052f7c4
mov esi, eax
push esi
push 0x5e8364
push 2
call fcn.004ede00
push eax
call fcn.004f0230
lea eax, [ebp - 0x30]
push esi
push eax
call fcn.00535ad4
add esp, 0x18
lea eax, [ebp - 0x30]
cmp dword [ebp - 0x1c], 8
lea ecx, [ebp - 0x14]
cmovae eax, dword [ebp - 0x30]
push 1
push eax
push str.SupplyID
call fcn.004b58ef
lea ecx, [ebp - 0x30]
call fcn.00403d40
lea esi, [edi + 0xd4]
mov ecx, esi
call fcn.005302e1
test al, al
je 0x54164c
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 4
push ebx
push 0x5e8380
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.0052f778
cmp dword [eax + 0x14], 8
jb 0x541631
mov eax, dword [eax]
push 1
push eax
push str.SubSupplyID
lea ecx, [ebp - 0x14]
call fcn.004b58ef
lea ecx, [ebp - 0x48]
call fcn.00403d40
mov byte [ebp - 1], bl
mov ecx, esi
call fcn.0052f7ce
push eax
lea eax, [ebp - 0x30]
push eax
call fcn.00535ad4
cmp dword [ebp - 0x1c], 8
lea eax, [ebp - 0x30]
pop ecx
cmovae eax, dword [ebp - 0x30]
pop ecx
push 1
push eax
push str.UniSupplyID
lea ecx, [ebp - 0x14]
call fcn.004b58ef
lea ecx, [ebp - 0x30]
call fcn.00403d40
cmp byte [ebp - 1], bl
je 0x5416ff
push 0x208
lea eax, [ebp - 0x490]
push ebx
push eax
call fcn.00573610
add esp, 0xc
mov dword [ebp - 8], 0x104
lea eax, [ebp - 8]
mov esi, str.SubSupplyID
lea ecx, [ebp - 0x14]
push eax
lea eax, [ebp - 0x490]
push eax
push esi
call fcn.00454ceb
test eax, eax
jne 0x5416d4
cmp dword [ebp - 8], ebx
je 0x5416cf
cmp word [ebp - 0x490], 0x23
jne 0x5416ff
cmp byte [ebp - 1], bl
je 0x5416ff
lea eax, [ebp - 0x48]
push eax
lea ecx, [edi + 0xd4]
call fcn.0052eb12
cmp dword [eax + 0x14], 8
jb 0x5416eb
mov eax, dword [eax]
push 1
push eax
push esi
lea ecx, [ebp - 0x14]
call fcn.004b58ef
lea ecx, [ebp - 0x48]
call fcn.00403d40
push ebx
call fcn.00597c50
mov edi, eax
mov dword [esp], 0x208
lea eax, [ebp - 0x288]
mov dword [ebp - 0x68], edi
mov esi, edx
push ebx
push eax
mov dword [ebp - 0x64], esi
call fcn.00573610
push esi
push edi
push str._lld
lea eax, [ebp - 0x288]
push 0x104
push eax
call fcn.0040b93c
lea eax, [ebp - 0x288]
push eax
call fcn.0057e469
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
add esp, 0x24
lea eax, [eax*2 + 2]
push eax
lea eax, [ebp - 0x288]
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 - 0x68]
call fcn.004b5ae9
push 1
lea ecx, [ebp - 0x14]
push dword [eax]
push str.InstallTimeStr
call fcn.004b58ef
mov ecx, dword [ebp - 8]
lea ecx, [ecx - 0x10]
call fcn.0040bedb
mov esi, dword [ebp - 0x18]
lea ecx, [esi + 0xd4]
call fcn.00530412
test al, al
jne 0x5417d4
push str.JoinUserExperienceImprovePlan
lea ecx, [ebp - 0x48]
call fcn.00408fc4
push dword [esi + 0x748]
lea eax, [ebp - 0x48]
push eax
push 9
call fcn.004beab0
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.00403d40
lea eax, [ebp - 0x18]
mov dword [ebp - 0x50], ebx
push eax
lea eax, [ebp - 8]
mov dword [ebp - 0x4c], 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 0x54183b
mov esi, dword [ebp - 8]
lea eax, [ebp - 8]
push eax
push str.NeedImport_Preloaded
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], esi
mov dword [ebp - 8], ebx
call fcn.004c08b0
cmp dword [ebp - 8], ebx
jne 0x54183b
push 4
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 2
push eax
push 4
push ebx
push str.NeedImport_Preloaded
push esi
call edi
xor ebx, ebx
inc ebx
test esi, esi
je 0x541849
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
cmp dword [ebp - 0x14], 0
je 0x541859
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop ebx
leave
ret