Function at 0x100264a6
Capabilities:
Set registry value

Disassembly:
push 0xc
mov eax, 0x10078100
call fcn.1005886f
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], ebx
push str.SOFTWARETencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x10]
mov dword [ebp - 4], ebx
call fcn.10008c7d
cmp eax, ebx
jne 0x10026502
mov eax, dword [ebp + 0xc]
push 4
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x18]
push eax
push 4
push ebx
push str.SupplyID
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp dword [ebp - 0x10], ebx
je 0x10026529
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x10], ebx
jmp 0x10026529
call fcn.100419fb
test al, al
je 0x10026529
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.1004188a
add esp, 0x10
mov eax, dword [0x1009a0f4]
mov ebx, 0x1009a0f4
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
push 0
mov byte [ebp - 4], 1
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
push str.PCMgrNoCmdline
push eax
call dword [ecx + 0x20]
test eax, eax
je 0x10026565
cmp dword [esi + 4], 1
jne 0x10026565
cmp dword [esi + 0x320], 0
je 0x100265cf
lea eax, [ebp - 0x18]
push eax
mov ecx, edi
call fcn.1002636b
mov byte [ebp - 4], 2
cmp dword [ebp + 0xc], 0
push dword [ebp - 0x18]
lea eax, [ebp - 0x14]
je 0x10026596
push dword [ebp + 0xc]
push dword [ebp + 8]
push str._S_silence1handle_dupdate1supply_dforceinstall1qqpcmgr0_s
push eax
call fcn.1000eccb
add esp, 0x14
jmp 0x100265a7
push dword [ebp + 8]
push str._S_silence1handle_dupdate1forceinstall1qqpcmgr0_s
push eax
call fcn.1000eccb
add esp, 0x10
mov eax, dword [edi + 0x7c]
cmp dword [eax - 0xc], 0
je 0x100265c0
push eax
push str.installpath__s_
lea ecx, [ebp - 0x14]
call fcn.1002ae2a
pop ecx
pop ecx
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.100033b2
mov eax, dword [0x1009a0f4]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0xc], eax
mov byte [ebp - 4], 3
mov eax, dword [esi + 0x320]
xor ebx, ebx
cmp eax, 1
jne 0x10026658
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
push 1
push str.StartType
push eax
call dword [ecx + 0x18]
cmp dword [esi + 4], 1
mov ebx, eax
jne 0x10026623
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
push 0
push str.CallDllByOrdinal
push eax
call dword [ecx + 0x20]
test eax, eax
je 0x10026623
push 0x1007bc68
jmp 0x10026640
lea eax, [esi + 0x328]
push eax
call fcn.1005184b
test eax, eax
pop ecx
mov eax, str.TxDl_Main
je 0x1002663f
lea eax, [esi + 0x328]
push eax
lea eax, [ebp + 0xc]
push eax
call fcn.10002fe5
cmp ebx, 1
je 0x10026685
cmp ebx, 5
je 0x10026685
xor ebx, ebx
inc ebx
jmp 0x10026685
test eax, eax
jne 0x10026685
cmp dword [esi + 4], 1
jne 0x10026685
mov eax, dword [edi + 0x10]
mov ecx, dword [eax]
push 0
push str.StartType
push eax
call dword [ecx + 0x18]
mov ebx, eax
cmp ebx, 1
je 0x10026683
cmp ebx, 5
je 0x10026683
cmp ebx, 8
jl 0x10026685
xor ebx, ebx
mov dword [esi + 0x428], ebx
push dword [edi + 0x10]
add esi, 0x90
push dword [esi - 0x8c]
push ebx
push dword [ebp + 0xc]
call fcn.10029e3a
mov edx, esi
mov ecx, eax
call fcn.1002168d
test eax, eax
mov esi, dword [ebp - 0x14]
je 0x100266e5
mov edx, dword [eax]
push esi
mov ecx, eax
call dword [edx + 4]
test eax, eax
je 0x100266e5
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.100033b2
lea eax, [esi - 0x10]
call fcn.100033b2
cmp dword [ebp - 0x10], 0
je 0x100266e1
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1002670a
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.100033b2
lea eax, [esi - 0x10]
call fcn.100033b2
cmp dword [ebp - 0x10], 0
je 0x10026707
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 9
pop eax
call fcn.10058947
ret 8