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

Disassembly:
mov eax, 0x5db0d1
call fcn.0056d460
sub esp, 0xbc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x14], edi
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [edi + 0xd4]
call fcn.00535c13
mov esi, dword [eax + 0x10]
lea ecx, [ebp - 0x80]
call fcn.00403730
test esi, esi
jne 0x53dd76
push 0xffffffffffffffff
push esi
mov ecx, edi
call fcn.00545a5a
mov ecx, edi
call fcn.0053cc54
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x53d844
cmp dword [edi + 0x758], esi
jne 0x53d844
mov dword [edi + 0x758], 0xe
mov eax, dword [edi + 0x758]
test eax, eax
jne 0x53d895
xor ebx, ebx
inc ebx
mov dword [ebp - 0x38], ebx
push str.EnableClipboard
lea ecx, [ebp - 0x34]
call fcn.00408981
push dword [ebp - 0x38]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push 7
call fcn.004c7930
add esp, 0x10
lea ecx, [ebp - 0x34]
call fcn.00403730
push 0x5e289c
push 2
call fcn.004f46c0
push eax
call fcn.004f6ae0
add esp, 0xc
jmp 0x53d8d3
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0053e529
pop ecx
pop ecx
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
cmovae eax, dword [ebp - 0x34]
push eax
push dword [edi + 0x758]
push 0x5e28a8
push 4
call fcn.004f46c0
push eax
call fcn.004f6ae0
add esp, 0x14
lea ecx, [ebp - 0x34]
call fcn.00403730
xor ebx, ebx
inc ebx
mov ecx, edi
call fcn.00541490
push 0x605890
lea ecx, [ebp - 0x68]
call fcn.00408981
push 0x605890
lea ecx, [ebp - 0x34]
call fcn.00408981
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [edi + 0x760]
push eax
push dword [ebp - 0x18]
push dword [edi + 0x75c]
push dword [edi + 0x758]
push 0x7d5
mov ecx, edi
call fcn.0053d2cd
lea ecx, [ebp - 0x34]
call fcn.00403730
lea ecx, [ebp - 0x68]
call fcn.00403730
push str.InstallStep
lea ecx, [ebp - 0x34]
call fcn.00408981
push 0xa1e
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.004c8740
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.00403730
push str.InstallResult
lea ecx, [ebp - 0x34]
call fcn.00408981
push dword [edi + 0x758]
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.004c8740
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.00403730
push str.InstallError
lea ecx, [ebp - 0x34]
call fcn.00408981
push dword [edi + 0x75c]
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.004c8740
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.00403730
push ebx
lea eax, [ebp - 0x90]
push eax
lea ecx, [edi + 0xd4]
call fcn.00533e63
mov eax, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0x90]
cmp ebx, eax
je 0x53d9f7
mov edi, eax
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
push ebx
lea ecx, [ebp - 0x1c]
call fcn.0052fa8c
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x53d9ed
call fcn.0052e54c
add ebx, 8
cmp ebx, edi
jne 0x53d9ca
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 7
push 0x60b838
lea ecx, [ebp - 0x34]
call fcn.00408981
sub esp, 0x18
mov ecx, esp
mov ebx, 0x605890
push ebx
call fcn.00408981
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
push eax
push 2
call fcn.004c7d70
add esp, 0x24
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x34]
call fcn.00403730
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x18], esi
je 0x53da5b
lea ecx, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
cmovae ecx, dword [ebp - 0x50]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov dword [ebp - 0x38], eax
cmp dword [edi + 0x758], esi
jne 0x53dac1
push ebx
lea ecx, [ebp - 0x80]
call fcn.00408981
push ebx
lea ecx, [ebp - 0x68]
call fcn.00408981
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
cmovae eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00408981
lea eax, [ebp - 0x80]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x34]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x18]
push 0x6e
push 0x7d6
mov ecx, edi
call fcn.0053d2cd
lea ecx, [ebp - 0x34]
call fcn.00403730
lea ecx, [ebp - 0x68]
call fcn.00403730
lea ecx, [ebp - 0x80]
call fcn.00403730
mov dword [ebp - 4], esi
mov ebx, esi
mov dword [ebp - 0x84], ebx
cmp ebx, 0xc
jge 0x53dade
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.00545a5a
inc ebx
jmp 0x53dac6
or dword [ebp - 4], 0xffffffff
jmp 0x53daf3
call fcn.004f9fc0
lea ecx, [ebp - 0xc8]
call fcn.004cf8b0
push esi
lea ecx, [ebp - 0xc8]
call fcn.004d68b0
cmp dword [edi + 0x758], esi
jne 0x53dbab
lea eax, [ebp - 0x5c]
push eax
mov ecx, edi
call fcn.0053e055
mov ebx, dword [ebp - 0x5c]
jmp 0x53db9e
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
push ebx
lea ecx, [ebp - 0x34]
call fcn.00407eca
sub esp, 0x18
mov ecx, esp
mov dword [ecx], esi
mov dword [ecx + 0x10], esi
mov dword [ecx + 0x14], esi
lea eax, [ebp - 0x34]
push eax
call fcn.00407eca
lea ecx, [ebp - 0xc8]
call fcn.004d60d0
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x53db9b
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x18], ecx
cmp eax, 0x1000
jb 0x53db92
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040379f
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.0056d0c8
pop ecx
pop ecx
add ebx, 0x18
cmp ebx, dword [ebp - 0x58]
jne 0x53db2b
lea ecx, [ebp - 0x5c]
call fcn.00444448
mov ecx, edi
call fcn.0053cdcf
push dword [edi + 0x758]
push 0x5e2910
push 2
call fcn.004f46c0
push eax
call fcn.004f6ae0
add esp, 0x10
cmp dword [edi + 0x758], esi
jne 0x53dd0b
cmp byte [edi + 0x7b4], 0
jne 0x53dcc5
mov ecx, edi
call fcn.0053f167
mov ecx, edi
test eax, eax
jne 0x53dc20
push 1
sub esp, 0x18
mov eax, esp
push esi
push eax
call fcn.0053f11a
sub esp, 0x18
mov eax, esp
push 1
push eax
mov ecx, edi
call fcn.0053f11a
lea ecx, [ebp - 0xc8]
call fcn.004d5430
jmp 0x53dcc5
call fcn.0053e5dd
cmp eax, 1
je 0x53dcc5
push str.QBDelayUpdate.exe
lea ecx, [ebp - 0x80]
call fcn.00408981
push 1
lea eax, [ebp - 0x80]
push eax
push 1
lea eax, [ebp - 0x34]
push eax
call fcn.004ca5a0
add esp, 0x10
lea ecx, [ebp - 0x80]
call fcn.00403730
push 0x605890
lea ecx, [ebp - 0x68]
call fcn.00408981
push str.QQBrowser_Update_Post_Task
lea ecx, [ebp - 0x80]
call fcn.00408981
push 5
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004ed800
add esp, 0x10
lea ecx, [ebp - 0x80]
call fcn.00403730
lea ecx, [ebp - 0x68]
call fcn.00403730
push str._check
lea ecx, [ebp - 0x80]
call fcn.00408981
lea eax, [ebp - 0x80]
push eax
push esi
lea eax, [ebp - 0x34]
push eax
call fcn.004e7490
add esp, 0xc
lea ecx, [ebp - 0x80]
call fcn.00403730
lea ecx, [ebp - 0x34]
call fcn.00403730
cmp byte [edi + 0x8c1], 0
je 0x53dd06
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x18], 4
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push str.EmbedFlashEnabled
push str.SoftwareTencentQQBrowserPrivateCfg
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x53dd06
cmp dword [ebp - 0x14], eax
je 0x53dd06
mov ecx, edi
call fcn.00540d59
call fcn.004edfe0
push esi
mov ecx, edi
call fcn.00543558
lea ecx, [ebp - 0xc8]
call fcn.004cf960
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x53dd5b
lea eax, [eax*2 + 2]
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x18], ecx
cmp eax, 0x1000
jb 0x53dd52
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040379f
pop ecx
pop ecx
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
push eax
push ecx
call fcn.0056d0c8
pop ecx
pop ecx
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 7
xor eax, eax
mov word [ebp - 0x50], ax
lea ecx, [ebp - 0x90]
call fcn.00538138
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret