Function at 0x10026d82
Capabilities:
Set registry value

Disassembly:
push 0x14
mov eax, 0x1007a630
call fcn.1005ac4f
mov esi, ecx
mov ebx, edx
xor edi, edi
mov dword [ebp - 0x10], edi
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.10008d15
cmp eax, edi
jne 0x10026de0
mov eax, dword [ebp + 0xc]
push 4
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
push 4
push edi
push str.SupplyID
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x10], edi
je 0x10026e07
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], edi
jmp 0x10026e07
call fcn.100430bb
test al, al
je 0x10026e07
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Write_supplyid_to_reg_failed__err___d.
push 0xd2
push str.D:jenkins_TrunkworkspaceCEN_Hive_QQPCDownload_ForTestqqpcmgr_projTxdlTxdlController.cpp
call fcn.10042f4a
add esp, 0x10
mov eax, dword [0x1009d194]
mov ecx, 0x1009d194
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push edi
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
push str.PCMgrNoCmdline
push eax
call dword [ecx + 0x20]
test eax, eax
je 0x10026e44
xor eax, eax
inc eax
cmp dword [esi + 4], eax
jne 0x10026e44
cmp dword [esi + 0x320], edi
mov dword [ebp - 0x18], eax
je 0x10026e47
mov dword [ebp - 0x18], edi
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
push edi
push str.bShowPacketInstallProgross
push eax
call dword [ecx + 0x20]
cmp dword [ebp - 0x18], edi
mov dword [ebp - 0x1c], eax
jne 0x10026ee7
lea eax, [ebp - 0x18]
push eax
mov ecx, ebx
call fcn.10026c08
mov byte [ebp - 4], 2
cmp dword [ebp + 0xc], edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
je 0x10026e9e
cmp dword [ebp - 0x1c], edi
push dword [ebp + 0xc]
push dword [ebp + 8]
je 0x10026e8e
push str.handle_dupdate1supply_dforceinstall1qqpcmgr0_s
jmp 0x10026e93
push str._S_silence1handle_dupdate1supply_dforceinstall1qqpcmgr0_s
push eax
call fcn.1000ee4f
add esp, 0x14
jmp 0x10026ebb
cmp dword [ebp - 0x1c], edi
push dword [ebp + 8]
je 0x10026ead
push str.handle_dupdate1forceinstall1qqpcmgr0_s
jmp 0x10026eb2
push str._S_silence1handle_dupdate1forceinstall1qqpcmgr0_s
push eax
call fcn.1000ee4f
add esp, 0x10
lea eax, [ebx + 0x80]
mov ecx, dword [eax]
cmp dword [ecx - 0xc], edi
je 0x10026ed8
push ecx
push str.installpath__s_
lea ecx, [ebp - 0x14]
call fcn.1002ba10
pop ecx
pop ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.10003475
mov eax, dword [0x1009d194]
mov ecx, 0x1009d194
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp + 0xc], edi
mov byte [ebp - 4], 3
cmp dword [esi + 0x320], 1
jne 0x10026f4b
cmp dword [esi + 4], 1
jne 0x10026f28
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
push 0
push str.CallDllByOrdinal
push eax
call dword [ecx + 0x20]
test eax, eax
je 0x10026f28
push 0x1007dc88
jmp 0x10026f3f
lea edi, [esi + 0x328]
push edi
call fcn.10053c3b
test eax, eax
pop ecx
jne 0x10026f3e
mov edi, str.TxDl_Main
push edi
lea eax, [ebp + 0xc]
push eax
call fcn.100030a8
mov edi, dword [ebp + 0xc]
push dword [ebx + 0x10]
add esi, 0x90
push dword [esi - 0x8c]
push dword [esi + 0x398]
push edi
call fcn.1002a689
mov edx, esi
mov ecx, eax
call fcn.10021b47
test eax, eax
mov ebx, dword [ebp - 0x14]
je 0x10026fa5
push ebx
mov esi, eax
call fcn.1002206d
test eax, eax
je 0x10026fa5
lea eax, [edi - 0x10]
call fcn.10003475
lea eax, [ebx - 0x10]
call fcn.10003475
cmp dword [ebp - 0x10], 0
je 0x10026fa1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x10026fc7
lea eax, [edi - 0x10]
call fcn.10003475
lea eax, [ebx - 0x10]
call fcn.10003475
cmp dword [ebp - 0x10], 0
je 0x10026fc4
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 9
pop eax
call fcn.1005ad27
ret 8