Function at 0x423900
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x45afe7
mov eax, dword fs:[0]
push eax
sub esp, 0x288
mov eax, dword [0x4713c0]
xor eax, esp
mov dword [esp + 0x284], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4713c0]
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.00406f80
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.00406f80
mov byte [esp + 0x2a4], 1
mov eax, dword [esp + 0x50]
push str.Trial1
lea edi, [ebx + 6]
mov ecx, esi
call fcn.00411070
test eax, eax
mov edi, 8
sete byte [esp + 0x17]
mov byte [esp + 0x2a4], bl
cmp dword [esp + 0x54], edi
jb 0x4239db
mov eax, dword [esp + 0x40]
push eax
call fcn.004415cb
add esp, 4
cmp byte [esp + 0x17], bl
je 0x4239f1
push 0x18
push str.SOFTWARETencentQTTrial
lea esi, [esp + 0x60]
call fcn.00406f80
cmp dword [esp + 0x70], edi
mov eax, dword [esp + 0x5c]
jae 0x4239ff
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 0x423bda
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.00406f80
mov byte [esp + 0x2a4], 2
mov eax, dword [esp + 0x34]
push str.Trial1
mov edi, 6
mov ecx, esi
call fcn.00411070
test eax, eax
mov edi, 8
sete byte [esp + 0x17]
mov byte [esp + 0x2a4], bl
cmp dword [esp + 0x38], edi
jb 0x423a82
mov edx, dword [esp + 0x24]
push edx
call fcn.004415cb
add esp, 4
cmp byte [esp + 0x17], bl
je 0x423ab7
push ebx
mov dword [ebp + 0x18], 7
mov dword [ebp + 0x14], ebx
push 0x46278c
mov esi, ebp
mov word [ebp + 4], bx
call fcn.00406f80
cmp dword [esp + 0x70], edi
jb 0x423c93
mov eax, dword [esp + 0x5c]
push eax
jmp 0x423c8b
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.00406f80
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.00406f80
mov byte [esp + 0x2a4], 4
cmp dword [esp + 0x54], 8
mov eax, dword [esp + 0x40]
jae 0x423b1e
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 0x423b90
cmp dword [esp + 0x8c], 8
mov eax, dword [esp + 0x78]
jae 0x423b4d
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 0x423b90
mov edx, 0x46278c
mov eax, ebp
call fcn.00406ad0
lea ecx, [esp + 0x74]
call fcn.00406b10
lea ecx, [esp + 0x3c]
call fcn.00406b10
lea ecx, [esp + 0x58]
call fcn.00406b10
jmp 0x423c93
mov esi, 8
cmp dword [esp + 0x8c], esi
jb 0x423bab
mov eax, dword [esp + 0x78]
push eax
call fcn.004415cb
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 0x423bdf
mov ecx, dword [esp + 0x40]
push ecx
call fcn.004415cb
add esp, 4
jmp 0x423bdf
mov edi, 7
push 0x206
lea edx, [esp + 0x96]
push ebx
push edx
mov word [esp + 0x9c], bx
call fcn.00446fa0
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 0x423c3d
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 0x46278c
jmp 0x423c78
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 0x423c60
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x94]
push eax
mov esi, ebp
call fcn.00406f80
cmp dword [esp + 0x70], 8
jb 0x423c93
mov ecx, dword [esp + 0x5c]
push ecx
call fcn.004415cb
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.004414cc
add esp, 0x294
ret