Function at 0x422810
Capabilities:
Check if file exists
Delete registry value
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x51467c
mov eax, dword fs:[0]
push eax
sub esp, 0x480
mov eax, dword [0x56d06c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x478], edx
mov esi, ecx
mov dword [ebp - 0x474], esi
mov eax, dword [ebp + 8]
mov dword [ebp - 0x47c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x480], eax
mov eax, dword [ebp + 0x10]
push 0x410
mov dword [ebp - 0x484], eax
lea eax, [ebp - 0x424]
push 0
push eax
mov dword [ebp - 0x488], 0
call fcn.004e9ab0
add esp, 0xc
mov dword [ebp - 0x474], 0x410
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.flash_ver_url
push str.SoftwareTencentQQBrowserPrivateCfg
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x422bd4
lea eax, [ebp - 0x424]
push 0x7c
push eax
call fcn.004e9491
mov edi, eax
add esp, 8
test edi, edi
je 0x422bd4
xor eax, eax
lea ecx, [ebp - 0x454]
mov word [edi], ax
lea eax, [ebp - 0x424]
push eax
call fcn.00419a80
lea ebx, [edi + 2]
mov dword [ebp - 4], 0
push 0x7c
push ebx
call fcn.004e9491
add esp, 8
test eax, eax
je 0x422b8c
cmp word [eax + 2], 0
lea edi, [eax + 2]
je 0x422b8c
push ecx
push eax
push ebx
lea ecx, [ebp - 0x46c]
call fcn.0041de00
mov byte [ebp - 4], 1
cmp dword [ebp - 0x444], 0
je 0x422b5f
cmp dword [ebp - 0x45c], 0
je 0x422b5f
xor eax, eax
mov dword [ebp - 0x474], 0x410
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x474]
push eax
lea eax, [ebp - 0x424]
push eax
push 0
push str.CC_FLASH
push str.SoftwareTencentQQBrowserPrivateCfg
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x422a9c
cmp dword [ebp - 0x440], 8
lea edx, [ebp - 0x454]
mov byte [ebp - 0x46d], al
lea ecx, [ebp - 0x424]
cmovae edx, dword [ebp - 0x454]
lea eax, [ebp - 0x46d]
push eax
call fcn.00422070
add esp, 4
cmp word [ebp - 0x424], 0
je 0x422a9c
cmp byte [ebp - 0x46d], 0
jne 0x422a9c
test eax, eax
js 0x422a9c
push dword [ebp - 0x478]
lea ecx, [ebp - 0x43c]
call fcn.00419b00
push str.User_DataFlash_
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 2
call fcn.00419a30
lea eax, [ebp - 0x424]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00419a30
push str.pepflashplayer.dll
lea ecx, [ebp - 0x43c]
call fcn.00419a30
cmp dword [ebp - 0x428], 8
lea eax, [ebp - 0x43c]
cmovae eax, dword [ebp - 0x43c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x422a8d
push str.flash_ver_url
push str.SoftwareTencentQQBrowserPrivateCfg
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
lea ecx, [ebp - 0x43c]
mov word [esi], ax
call fcn.0041e2c0
lea ecx, [ebp - 0x46c]
call fcn.0041e2c0
lea ecx, [ebp - 0x454]
call fcn.0041e2c0
jmp 0x422bfc
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 1
call fcn.0041e2c0
mov eax, dword [ebp - 0x47c]
test eax, eax
je 0x422ab8
push 0xffffffffffffffff
push 0
lea ecx, [ebp - 0x454]
push ecx
mov ecx, eax
call fcn.0041d980
mov ebx, dword [ebp - 0x480]
test ebx, ebx
je 0x422b3a
push dword [ebp - 0x478]
lea ecx, [ebp - 0x43c]
call fcn.00419b00
push str.User_DataFlash_
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 3
call fcn.00419a30
push 0x54e29c
lea ecx, [ebp - 0x43c]
call fcn.00419a30
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x454]
push eax
lea ecx, [ebp - 0x43c]
call fcn.00419e90
push str..exe
lea ecx, [ebp - 0x43c]
call fcn.00419a30
lea eax, [ebp - 0x43c]
mov ecx, ebx
push eax
call fcn.0042adb0
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 1
call fcn.0041e2c0
mov eax, dword [ebp - 0x484]
test eax, eax
je 0x422b4c
push edi
mov ecx, eax
call fcn.004199e0
lea eax, [ebp - 0x46c]
mov ecx, esi
push eax
call fcn.0041deb0
jmp 0x422a72
push str.flash_ver_url
push str.SoftwareTencentQQBrowserPrivateCfg
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
jmp 0x422a72
push str.flash_ver_url
push str.SoftwareTencentQQBrowserPrivateCfg
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov eax, dword [ebp - 0x440]
cmp eax, 8
jb 0x422bfc
inc eax
lea ecx, [ebp - 0x454]
push eax
push dword [ebp - 0x454]
call fcn.0041e1c0
jmp 0x422bfc
push str.flash_ver_url
push str.SoftwareTencentQQBrowserPrivateCfg
push 0x80000001
call dword [sym.imp.SHLWAPI.dll_SHDeleteValueW]
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov word [esi], ax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00471876
mov esp, ebp
pop ebp
ret