Function at 0x4207d0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x45b1b7
mov eax, dword fs:[0]
push eax
sub esp, 0x28c
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x288], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
xor eax, esp
push eax
lea eax, [esp + 0x2a0]
mov dword fs:[0], eax
push 0x16
xor ebp, ebp
mov edi, 7
push str.SOFTWARETencentQTalk
lea esi, [esp + 0x64]
mov dword [esp + 0x7c], edi
mov dword [esp + 0x78], ebp
mov word [esp + 0x68], bp
call fcn.00406f80
mov dword [esp + 0x2a8], ebp
push 0x38
push 0x465360
lea esi, [esp + 0x48]
mov dword [esp + 0x60], edi
mov dword [esp + 0x5c], ebp
mov word [esp + 0x4c], bp
call fcn.00406f80
mov byte [esp + 0x2a8], 1
push 6
push str.Trial0
lea esi, [esp + 0x2c]
mov dword [esp + 0x44], edi
mov dword [esp + 0x40], ebp
mov word [esp + 0x30], bp
call fcn.00406f80
mov byte [esp + 0x2a8], 2
mov eax, dword [esp + 0x38]
push str.Trial1
lea edi, [ebp + 6]
mov ecx, esi
call fcn.00411070
test eax, eax
mov edi, 8
sete bl
mov byte [esp + 0x2a8], 1
cmp dword [esp + 0x3c], edi
jb 0x4208b8
mov eax, dword [esp + 0x28]
push eax
call fcn.004415cb
add esp, 4
test bl, bl
je 0x4208dc
push 0x18
push str.SOFTWARETencentQTTrial
lea esi, [esp + 0x64]
call fcn.00406f80
push 0x3b
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallQT
lea esi, [esp + 0x48]
call fcn.00406f80
cmp dword [esp + 0x74], edi
mov eax, dword [esp + 0x60]
mov dword [esp + 0x20], ebp
mov dword [esp + 0x14], ebp
jae 0x4208f2
lea eax, [esp + 0x60]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x20]
push ecx
push 0x20006
push ebp
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
mov ebx, 8
cmp dword [esp + 0x58], ebx
mov edi, eax
mov eax, dword [esp + 0x44]
jae 0x420920
lea eax, [esp + 0x44]
lea edx, [esp + 0x14]
push edx
push 0x20006
push ebp
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
cmp edi, ebp
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov esi, eax
je 0x42095a
cmp dword [esp + 0x74], ebx
mov eax, dword [esp + 0x60]
jae 0x42094d
lea eax, [esp + 0x60]
lea ecx, [esp + 0x20]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
cmp esi, ebp
je 0x420979
cmp dword [esp + 0x58], ebx
mov eax, dword [esp + 0x44]
jae 0x42096c
lea eax, [esp + 0x44]
lea edx, [esp + 0x14]
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
mov eax, dword [esp + 0x20]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 0x22
push str.9.89.0.13414.483
push 1
xor edi, edi
push edi
push 0x465450
push eax
call ebp
test eax, eax
mov esi, ebx
je 0x4209db
cmp dword [esp + 0x58], esi
jb 0x4209b0
mov ecx, dword [esp + 0x44]
push ecx
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x74], esi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], edi
mov word [esp + 0x44], di
jb 0x4209d4
mov edx, dword [esp + 0x60]
push edx
call fcn.004415cb
add esp, 4
xor eax, eax
jmp 0x420fc7
cmp dword [0x474f6c], edi
je 0x4209fd
cmp dword [0x474fa8], esi
mov eax, dword [0x474f94]
jae 0x4209f5
mov eax, 0x474f94
mov ecx, dword [0x474fa4]
jmp 0x420a15
cmp dword [0x475100], esi
mov eax, dword [0x4750ec]
jae 0x420a0f
mov eax, 0x4750ec
mov ecx, dword [0x4750fc]
lea edx, [ecx + ecx + 2]
push edx
push eax
mov eax, dword [esp + 0x28]
push 1
push edi
push str.Install
push eax
call ebp
cmp eax, edi
jne 0x42099d
push 0x206
lea eax, [esp + 0x9a]
push edi
push eax
mov word [esp + 0xa0], di
call fcn.00446fa0
add esp, 0xc
cmp dword [0x474f6c], edi
je 0x420a89
cmp dword [0x474f8c], esi
mov eax, dword [0x474f78]
jae 0x420a6a
mov eax, 0x474f78
push 0x462518
push eax
push 0x461b58
push 0x208
push 0x104
lea ecx, [esp + 0xa8]
push ecx
jmp 0x420ab8
cmp dword [0x475170], esi
mov eax, dword [0x47515c]
jae 0x420a9b
mov eax, 0x47515c
push 0x462518
push eax
push 0x461b58
push 0x208
push 0x104
lea edx, [esp + 0xa8]
push edx
call fcn.004415ac
lea eax, [esp + 0xac]
add esp, 0x18
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x420ad0
sub eax, edx
mov edx, dword [esp + 0x20]
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea ecx, [esp + 0x98]
push ecx
push 1
push edi
push 0x465470
push edx
call ebp
cmp eax, edi
je 0x420b41
cmp dword [esp + 0x58], esi
jb 0x420b12
mov eax, dword [esp + 0x44]
push eax
call fcn.004415cb
add esp, 4
cmp dword [esp + 0x74], esi
mov dword [esp + 0x58], 7
mov dword [esp + 0x54], edi
mov word [esp + 0x44], di
jb 0x4209d4
mov ecx, dword [esp + 0x60]
push ecx
call fcn.004415cb
add esp, 4
xor eax, eax
jmp 0x420fc7
lea eax, [esp + 0x94]
lea edx, [eax + 2]
jmp 0x420b50
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x420b50
mov ecx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [esp + 0x98]
push eax
push 1
push edi
push str.DisplayIcon
push ecx
call ebp
mov edx, dword [esp + 0x14]
push 0xa
push 0x462448
push 1
push edi
push str.DisplayName
push edx
call ebp
mov eax, dword [esp + 0x14]
push 0x22
push str.9.89.0.13414.483
push 1
push edi
push str.DisplayVersion
push eax
call ebp
mov ecx, dword [esp + 0x14]
push 0x1a
push 0x4654c8
push 1
push edi
push str.Publisher
push ecx
call ebp
push 0x208
lea edx, [esp + 0x98]
push edi
push edx
call fcn.00446fa0
add esp, 0xc
cmp dword [0x474f6c], edi
je 0x420c0c
cmp dword [0x474f8c], esi
mov eax, dword [0x474f78]
jae 0x420bed
mov eax, 0x474f78
push 0x464f08
push eax
push 0x461b58
push 0x208
push 0x104
lea eax, [esp + 0xa8]
push eax
jmp 0x420c3b
cmp dword [0x475170], esi
mov eax, dword [0x47515c]
jae 0x420c1e
mov eax, 0x47515c
push 0x464f08
push eax
push 0x461b58
push 0x208
push 0x104
lea ecx, [esp + 0xa8]
push ecx
call fcn.004415ac
lea eax, [esp + 0xac]
add esp, 0x18
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x420c50
mov ecx, dword [esp + 0x14]
sub eax, edx
sar eax, 1
lea edx, [eax + eax + 2]
push edx
lea eax, [esp + 0x98]
push eax
push 1
push 0
push str.UninstallString
push ecx
call ebp
mov edx, dword [esp + 0x14]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, str.Trial0
lea eax, [esp + 0x24]
call fcn.00406ad0
mov ecx, eax
mov byte [esp + 0x2a8], 3
mov eax, dword [ecx + 0x14]
push str.Trial1
mov edi, 6
call fcn.00411070
test eax, eax
sete bl
mov byte [esp + 0x2a8], 1
cmp dword [esp + 0x3c], 8
jb 0x420cd2
mov eax, dword [esp + 0x28]
push eax
call fcn.004415cb
add esp, 4
test bl, bl
jne 0x420fb0
xor ebx, ebx
mov edx, str.SOFTWARETencentQT
lea eax, [esp + 0x78]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call fcn.00406ad0
push 0x17
push str.SOFTWARETencentQQTalk
lea esi, [esp + 0x48]
mov byte [esp + 0x2b0], 4
call fcn.00406f80
cmp dword [esp + 0x90], 8
mov eax, dword [esp + 0x7c]
jae 0x420d1c
lea eax, [esp + 0x7c]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x18]
push ecx
push 0x20006
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
cmp dword [esp + 0x58], 8
mov esi, eax
mov eax, dword [esp + 0x44]
jae 0x420d46
lea eax, [esp + 0x44]
lea edx, [esp + 0x1c]
push edx
push 0x20006
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call edi
cmp esi, ebx
mov edi, eax
je 0x420d82
cmp dword [esp + 0x90], 8
mov eax, dword [esp + 0x7c]
jae 0x420d71
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x18]
push ecx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
cmp edi, ebx
mov edi, 8
je 0x420daa
cmp dword [esp + 0x58], edi
mov eax, dword [esp + 0x44]
jae 0x420d99
lea eax, [esp + 0x44]
lea edx, [esp + 0x1c]
push edx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [esp + 0x20]
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push eax
call esi
mov ecx, dword [esp + 0x18]
push 0x20
push str.9.89.0.13414.483
push 1
push ebx
push 0x465450
push ecx
call ebp
test eax, eax
je 0x420df3
lea ecx, [esp + 0x78]
call fcn.00406b10
lea ecx, [esp + 0x40]
call fcn.00406b10
lea ecx, [esp + 0x5c]
call fcn.00406b10
xor eax, eax
jmp 0x420fc7
mov edx, dword [esp + 0x1c]
push 0x20
push str.9.89.0.13414.483
push 1
push ebx
push 0x465450
push edx
call ebp
test eax, eax
jne 0x420dd1
cmp dword [0x474f6c], ebx
je 0x420e2f
cmp dword [0x474fa8], edi
mov eax, dword [0x474f94]
jae 0x420e27
mov eax, 0x474f94
mov ecx, dword [0x474fa4]
jmp 0x420e47
cmp dword [0x475100], edi
mov eax, dword [0x4750ec]
jae 0x420e41
mov eax, 0x4750ec
mov ecx, dword [0x4750fc]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [esp + 0x20]
push 1
push ebx
push str.Install
push eax
call ebp
cmp eax, ebx
jne 0x420dd1
cmp dword [0x474f6c], ebx
je 0x420e85
cmp dword [0x474fa8], edi
mov eax, dword [0x474f94]
jae 0x420e7d
mov eax, 0x474f94
mov ecx, dword [0x474fa4]
jmp 0x420e9d
cmp dword [0x475100], edi
mov eax, dword [0x4750ec]
jae 0x420e97
mov eax, 0x4750ec
mov ecx, dword [0x4750fc]
lea edx, [ecx + ecx]
push edx
push eax
mov eax, dword [esp + 0x24]
push 1
push ebx
push str.Install
push eax
call ebp
cmp eax, ebx
jne 0x420dd1
cmp dword [0x474f6c], ebx
je 0x420ef2
cmp dword [0x474f8c], edi
mov eax, dword [0x474f78]
jae 0x420ed3
mov eax, 0x474f78
push 0x462518
push eax
push 0x461b58
push 0x208
push 0x104
lea ecx, [esp + 0xa8]
push ecx
jmp 0x420f21
cmp dword [0x475170], edi
mov eax, dword [0x47515c]
jae 0x420f04
mov eax, 0x47515c
push 0x462518
push eax
push 0x461b58
push 0x208
push 0x104
lea edx, [esp + 0xa8]
push edx
call fcn.004415ac
lea eax, [esp + 0xac]
add esp, 0x18
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x420f33
sub eax, edx
mov edx, dword [esp + 0x18]
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 0x98]
push ecx
push 1
push ebx
push 0x465470
push edx
call ebp
cmp eax, ebx
jne 0x420dd1
lea eax, [esp + 0x94]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x420f70
sub eax, edx
mov edx, dword [esp + 0x1c]
sar eax, 1
add eax, eax
push eax
lea ecx, [esp + 0x98]
push ecx
push 1
push ebx
push 0x465470
push edx
call ebp
mov eax, dword [esp + 0x18]
push eax
call esi
mov ecx, dword [esp + 0x1c]
push ecx
call esi
lea ecx, [esp + 0x78]
call fcn.00406b10
lea ecx, [esp + 0x40]
call fcn.00406b10
lea ecx, [esp + 0x5c]
call fcn.00406b10
mov eax, 1
mov ecx, dword [esp + 0x2a0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x288]
xor ecx, esp
call fcn.004414cc
add esp, 0x298
ret