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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2d8
push ebx
push esi
mov esi, dword [ebp + 0xc]
xor ebx, ebx
cmp dword [esi + 0x10], ebx
jne 0x54960c
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 7
jmp 0x549926
push edi
lea ecx, [ebp - 0x40]
call fcn.0053b164
push 7
pop edi
lea eax, [ebp - 0x58]
mov dword [ebp - 0x34], ebx
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], ebx
push eax
lea eax, [ebp - 0x34]
mov dword [ebp - 0x20], edi
push eax
lea eax, [ebp - 0x8c]
mov dword [ebp - 0x1c], ebx
push esi
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 8], edi
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x44], edi
call fcn.0054992a
add esp, 0x14
lea ecx, [ebp - 0x8c]
mov esi, dword [eax + 0x10]
call fcn.00403730
push 8
test esi, esi
pop esi
jne 0x54967b
mov ebx, dword [ebp + 8]
and dword [ebx], 0
and dword [ebx + 0x10], 0
mov dword [ebx + 0x14], edi
mov edi, 0x1000
jmp 0x549836
cmp dword [ebp - 8], esi
lea eax, [ebp - 0x1c]
cmovae eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x549664
mov edi, 0x208
lea eax, [ebp - 0x2d8]
push edi
push ebx
push eax
call fcn.005713c0
add esp, 0xc
mov dword [ebp - 0x74], edi
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x2d8]
push eax
push ebx
push str.CC_FLASH_VER
push str.SoftwareTencentQQBrowserPrivateCfg
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x549725
lea eax, [ebp - 0x2d8]
push eax
call fcn.0057bbea
cmp dword [ebp - 0x20], esi
lea ecx, [ebp - 0x34]
push eax
cmovae ecx, dword [ebp - 0x34]
lea eax, [ebp - 0x2d8]
push eax
push dword [ebp - 0x24]
push ecx
call fcn.0040fb86
add esp, 0x14
test eax, eax
jne 0x549725
cmp dword [ebp - 8], esi
lea eax, [ebp - 0x1c]
push ebx
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.0054936e
mov ebx, dword [ebp + 8]
pop ecx
pop ecx
and dword [ebx], 0
and dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
jmp 0x549671
cmp dword [ebp - 8], esi
lea ecx, [ebp - 0x70]
push str.B024060C_738F_43AA_9F81_F500ED433213
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x70], ebx
cmovae eax, dword [ebp - 0x1c]
push ecx
push eax
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x5c], 0xf
call fcn.00549e23
add esp, 0xc
test al, al
jne 0x549778
cmp dword [ebp - 8], esi
lea eax, [ebp - 0x1c]
push ebx
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.0054936e
mov ebx, dword [ebp + 8]
pop ecx
pop ecx
and dword [ebx], 0
and dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
jmp 0x5497ee
push 0x42
lea eax, [ebp - 0xd0]
push ebx
push eax
call fcn.005713c0
add esp, 0xc
lea ecx, [ebp - 0xd0]
cmp dword [ebp - 0x5c], 0x10
lea eax, [ebp - 0x70]
cmovae eax, dword [ebp - 0x70]
push 0x21
push ecx
push 0xffffffffffffffff
push eax
push ebx
push ebx
call dword [sym.imp.KERNEL32.DLL_MultiByteToWideChar]
cmp dword [ebp - 0x44], esi
lea ecx, [ebp - 0xd0]
lea eax, [ebp - 0x58]
cmovae eax, dword [ebp - 0x58]
push ecx
push eax
call fcn.00592981
pop ecx
pop ecx
test eax, eax
jne 0x549752
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x5497d6
lea eax, [ebp - 0x34]
push eax
call fcn.0044c6a5
mov ebx, dword [ebp + 8]
xor eax, eax
mov ecx, ebx
mov dword [ebx], eax
mov dword [ebx + 0x10], eax
mov dword [ebx + 0x14], eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00444b1d
mov eax, dword [ebp - 0x5c]
mov edi, 0x1000
cmp eax, 0x10
jb 0x549827
mov ecx, dword [ebp - 0x70]
inc eax
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], ecx
cmp eax, edi
jb 0x54981e
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040379f
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.0056d0c8
pop ecx
pop ecx
and dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov eax, dword [ebp - 0x44]
cmp eax, esi
jb 0x54986f
mov ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], eax
cmp eax, edi
jb 0x549866
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040379f
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.0056d0c8
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x44], 7
and dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
mov eax, dword [ebp - 8]
cmp eax, esi
jb 0x5498b8
mov ecx, dword [ebp - 0x1c]
lea eax, [eax*2 + 2]
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], eax
cmp eax, edi
jb 0x5498af
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040379f
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.0056d0c8
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 8], 7
and dword [ebp - 0xc], eax
mov word [ebp - 0x1c], ax
mov eax, dword [ebp - 0x20]
cmp eax, esi
jb 0x549901
mov ecx, dword [ebp - 0x34]
lea eax, [eax*2 + 2]
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], eax
cmp eax, edi
jb 0x5498f8
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 4]
push eax
call fcn.0040379f
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
mov ecx, dword [ebp - 4]
push eax
push ecx
call fcn.0056d0c8
pop ecx
pop ecx
and dword [ebp - 0x24], 0
xor eax, eax
mov word [ebp - 0x34], ax
mov dword [ebp - 0x20], 7
cmp dword [ebp - 0x3c], eax
je 0x549923
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x549923
push dword [ebp - 0x40]
call eax
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret