Function at 0x53e96b
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 0x53e994
mov eax, dword [ebp + 8]
mov dword [eax], ebx
mov dword [eax + 0x10], ebx
mov dword [eax + 0x14], 7
jmp 0x53ecae
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.0053ecb2
add esp, 0x14
lea ecx, [ebp - 0x8c]
mov esi, dword [eax + 0x10]
call fcn.00403730
push 8
test esi, esi
pop esi
jne 0x53ea03
mov ebx, dword [ebp + 8]
and dword [ebx], 0
and dword [ebx + 0x10], 0
mov dword [ebx + 0x14], edi
mov edi, 0x1000
jmp 0x53ebbe
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 0x53e9ec
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 0x53eaad
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 0x53eaad
cmp dword [ebp - 8], esi
lea eax, [ebp - 0x1c]
push ebx
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.0053d233
mov ebx, dword [ebp + 8]
pop ecx
pop ecx
and dword [ebx], 0
and dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
jmp 0x53e9f9
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.0053f4cc
add esp, 0xc
test al, al
jne 0x53eb00
cmp dword [ebp - 8], esi
lea eax, [ebp - 0x1c]
push ebx
cmovae eax, dword [ebp - 0x1c]
push eax
call fcn.0053d233
mov ebx, dword [ebp + 8]
pop ecx
pop ecx
and dword [ebx], 0
and dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 7
jmp 0x53eb76
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 0x53eada
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x53eb5e
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 0x53ebaf
mov ecx, dword [ebp - 0x70]
inc eax
mov dword [ebp + 0xc], eax
mov dword [ebp - 4], ecx
cmp eax, edi
jb 0x53eba6
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 0x53ebf7
mov ecx, dword [ebp - 0x58]
lea eax, [eax*2 + 2]
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], eax
cmp eax, edi
jb 0x53ebee
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 0x53ec40
mov ecx, dword [ebp - 0x1c]
lea eax, [eax*2 + 2]
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], eax
cmp eax, edi
jb 0x53ec37
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 0x53ec89
mov ecx, dword [ebp - 0x34]
lea eax, [eax*2 + 2]
mov dword [ebp - 4], ecx
mov dword [ebp + 0xc], eax
cmp eax, edi
jb 0x53ec80
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 0x53ecab
mov eax, dword [ebp - 0x38]
test eax, eax
je 0x53ecab
push dword [ebp - 0x40]
call eax
mov eax, ebx
pop edi
pop esi
pop ebx
leave
ret