Function at 0x422090
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x458987
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x46e3d0]
xor eax, esp
mov dword [esp + 0x284], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x46e3d0]
xor eax, esp
push eax
lea eax, [esp + 0x29c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2ac]
xor ebx, ebx
mov dword [esp + 0x1c], ebx
push 0x16
mov edi, 7
push str.SOFTWARETencentQTalk
lea esi, [esp + 0x60]
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], 0x104
mov dword [esp + 0x78], edi
mov dword [esp + 0x74], ebx
mov word [esp + 0x64], bx
call fcn.00406f20
mov dword [esp + 0x2a4], ebx
push 6
push str.Trial0
lea esi, [esp + 0x44]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
call fcn.00406f20
mov byte [esp + 0x2a4], 1
mov eax, dword [esp + 0x50]
push str.Trial1
lea edi, [ebx + 6]
mov ecx, esi
call fcn.00411e60
test eax, eax
mov edi, 8
sete byte [esp + 0x17]
mov byte [esp + 0x2a4], bl
cmp dword [esp + 0x54], edi
jb 0x42216b
mov eax, dword [esp + 0x40]
push eax
call fcn.0043ef40
add esp, 4
cmp byte [esp + 0x17], bl
je 0x422181
push 0x18
push str.SOFTWARETencentQTTrial
lea esi, [esp + 0x60]
call fcn.00406f20
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x42218f
lea eax, [esp + 0x5c]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42236a
push 6
push str.Trial0
lea esi, [esp + 0x28]
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], bx
call fcn.00406f20
mov byte [esp + 0x2a4], 2
mov eax, dword [esp + 0x34]
push str.Trial1
mov edi, 6
mov ecx, esi
call fcn.00411e60
test eax, eax
mov edi, 8
sete byte [esp + 0x17]
mov byte [esp + 0x2a4], bl
cmp dword [esp + 0x38], edi
jb 0x422212
mov edx, dword [esp + 0x24]
push edx
call fcn.0043ef40
add esp, 4
cmp byte [esp + 0x17], bl
je 0x422247
push ebx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
push 0x4606f4
mov esi, ebp
mov word [ebp + 4], bx
call fcn.00406f20
cmp dword [esp + 0x70], edi
jb 0x422423
mov eax, dword [esp + 0x5c]
push eax
jmp 0x42241b
push 0x13
mov edi, 7
push str.SOFTWARETencentQT
lea esi, [esp + 0x44]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], ebx
mov word [esp + 0x48], bx
call fcn.00406f20
mov byte [esp + 0x2a4], 3
push 0x17
push str.SOFTWARETencentQQTalk
lea esi, [esp + 0x7c]
mov dword [esp + 0x94], edi
mov dword [esp + 0x90], ebx
mov word [esp + 0x80], bx
call fcn.00406f20
mov byte [esp + 0x2a4], 4
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x4222ae
lea eax, [esp + 0x40]
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea ecx, [esp + 0x18]
push ecx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x422320
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x4222dd
lea eax, [esp + 0x78]
lea edx, [esp + 0x18]
push edx
push 0x20019
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call esi
test eax, eax
je 0x422320
mov edx, 0x4606f4
mov eax, ebp
call fcn.00406a70
lea ecx, [esp + 0x74]
call fcn.00406ab0
lea ecx, [esp + 0x3c]
call fcn.00406ab0
lea ecx, [esp + 0x58]
call fcn.00406ab0
jmp 0x422423
mov esi, 8
cmp dword [esp + 0x8c], esi
jb 0x42233b
mov eax, dword [esp + 0x78]
push eax
call fcn.0043ef40
add esp, 4
mov byte [esp + 0x2a4], bl
cmp dword [esp + 0x54], esi
mov dword [esp + 0x8c], edi
mov dword [esp + 0x88], ebx
mov word [esp + 0x78], bx
jb 0x42236f
mov ecx, dword [esp + 0x40]
push ecx
call fcn.0043ef40
add esp, 4
jmp 0x42236f
mov edi, 7
push 0x206
lea edx, [esp + 0x96]
push ebx
push edx
mov word [esp + 0x9c], bx
call fcn.00443e10
mov edx, dword [esp + 0x24]
add esp, 0xc
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x94]
push ecx
push ebx
push ebx
push str.Install
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x4223cd
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebx
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], bx
push 0x4606f4
jmp 0x422408
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esp + 0x90]
mov dword [ebp + 0x18], edi
mov dword [ebp + 0x14], ebx
mov word [ebp + 4], bx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4223f0
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x94]
push eax
mov esi, ebp
call fcn.00406f20
cmp dword [esp + 0x70], 8
jb 0x422423
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.0043ef40
add esp, 4
mov eax, ebp
mov ecx, dword [esp + 0x29c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x284]
xor ecx, esp
call fcn.0043ef12
add esp, 0x294
ret