Function at 0x53a399
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x5df46a
call fcn.0056c9b8
sub esp, 0xbc
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x1c], edi
lea ecx, [ebp - 0x80]
push ecx
lea ecx, [edi + 0xd4]
call fcn.0052f7d8
mov esi, dword [eax + 0x10]
lea ecx, [ebp - 0x80]
call fcn.00403d40
test esi, esi
jne 0x53a8ea
push 0xffffffffffffffff
push esi
mov ecx, edi
call fcn.00540c70
xor ebx, ebx
inc ebx
push ebx
mov ecx, edi
call fcn.00539097
mov dword [ebp - 0x14], eax
test eax, eax
jle 0x53a404
cmp dword [edi + 0x75c], esi
jne 0x53a404
mov dword [edi + 0x75c], 0xe
mov eax, dword [edi + 0x75c]
test eax, eax
jne 0x53a452
mov dword [ebp - 0x38], ebx
push str.EnableClipboard
lea ecx, [ebp - 0x34]
call fcn.00408fc4
push dword [ebp - 0x38]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x34]
push eax
push 7
call fcn.004bdca0
add esp, 0x10
lea ecx, [ebp - 0x34]
call fcn.00403d40
push 0x5e6e04
push 2
call fcn.004ede00
push eax
call fcn.004f0230
add esp, 0xc
jmp 0x53a48d
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0053b09d
pop ecx
pop ecx
lea eax, [ebp - 0x34]
cmp dword [ebp - 0x20], 8
cmovae eax, dword [ebp - 0x34]
push eax
push dword [edi + 0x75c]
push 0x5e6e10
push 4
call fcn.004ede00
push eax
call fcn.004f0230
add esp, 0x14
lea ecx, [ebp - 0x34]
call fcn.00403d40
mov ecx, edi
call fcn.0053d4ed
push 0x60c5e0
lea ecx, [ebp - 0x68]
call fcn.00408fc4
push 0x60c5e0
lea ecx, [ebp - 0x34]
call fcn.00408fc4
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [edi + 0x764]
push eax
push dword [ebp - 0x14]
push dword [edi + 0x760]
push dword [edi + 0x75c]
push 0x7d5
mov ecx, edi
call fcn.005399e2
lea ecx, [ebp - 0x34]
call fcn.00403d40
lea ecx, [ebp - 0x68]
call fcn.00403d40
push str.InstallStep
lea ecx, [ebp - 0x34]
call fcn.00408fc4
push 0xa1e
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.004beab0
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.00403d40
push str.InstallResult
lea ecx, [ebp - 0x34]
call fcn.00408fc4
push dword [edi + 0x75c]
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.004beab0
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.00403d40
push str.InstallError
lea ecx, [ebp - 0x34]
call fcn.00408fc4
push dword [edi + 0x760]
lea eax, [ebp - 0x34]
push eax
push ebx
call fcn.004beab0
add esp, 0xc
lea ecx, [ebp - 0x34]
call fcn.00403d40
push ebx
lea eax, [ebp - 0x90]
push eax
lea ecx, [edi + 0xd4]
call fcn.0052dccd
mov eax, dword [ebp - 0x8c]
mov ebx, dword [ebp - 0x90]
cmp ebx, eax
je 0x53a5b1
mov edi, eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], esi
push ebx
lea ecx, [ebp - 0x18]
call fcn.0052a2f2
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x53a5a7
call fcn.005260ab
add ebx, 8
cmp ebx, edi
jne 0x53a584
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x50], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], 7
push 0x6132e8
lea ecx, [ebp - 0x34]
call fcn.00408fc4
sub esp, 0x18
mov ecx, esp
mov ebx, 0x60c5e0
push ebx
call fcn.00408fc4
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x34]
push eax
push 2
call fcn.004be0e0
add esp, 0x24
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x34]
call fcn.00403d40
mov dword [ebp - 0x38], esi
cmp dword [ebp - 0x14], esi
je 0x53a615
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 + 0x75c], esi
jne 0x53a67b
push ebx
lea ecx, [ebp - 0x80]
call fcn.00408fc4
push ebx
lea ecx, [ebp - 0x68]
call fcn.00408fc4
lea eax, [ebp - 0x50]
cmp dword [ebp - 0x3c], 8
cmovae eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x34]
call fcn.00408fc4
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 - 0x14]
push 0x6e
push 0x7d6
mov ecx, edi
call fcn.005399e2
lea ecx, [ebp - 0x34]
call fcn.00403d40
lea ecx, [ebp - 0x68]
call fcn.00403d40
lea ecx, [ebp - 0x80]
call fcn.00403d40
mov dword [ebp - 4], esi
mov ebx, esi
mov dword [ebp - 0x84], ebx
cmp ebx, 0xc
jge 0x53a698
push 0xffffffffffffffff
push ebx
mov ecx, edi
call fcn.00540c70
inc ebx
jmp 0x53a680
or dword [ebp - 4], 0xffffffff
jmp 0x53a6ad
call fcn.004f3850
lea ecx, [ebp - 0xc8]
call fcn.004c5c50
push esi
lea ecx, [ebp - 0xc8]
call fcn.004ccc50
cmp dword [edi + 0x75c], esi
jne 0x53a765
lea eax, [ebp - 0x5c]
push eax
mov ecx, edi
call fcn.0053abc9
mov ebx, dword [ebp - 0x5c]
jmp 0x53a758
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
push ebx
lea ecx, [ebp - 0x34]
call fcn.0040850d
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.0040850d
lea ecx, [ebp - 0xc8]
call fcn.004cc470
mov eax, dword [ebp - 0x20]
cmp eax, 8
jb 0x53a755
lea eax, [eax*2 + 2]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x53a74c
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403daf
pop ecx
pop ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0056c61e
pop ecx
pop ecx
add ebx, 0x18
cmp ebx, dword [ebp - 0x58]
jne 0x53a6e5
lea ecx, [ebp - 0x5c]
call fcn.00446dac
mov ecx, edi
call fcn.00539278
push dword [edi + 0x75c]
push 0x5e6e78
push 2
call fcn.004ede00
push eax
call fcn.004f0230
add esp, 0x10
cmp dword [edi + 0x75c], esi
jne 0x53a87f
cmp byte [edi + 0x7b8], 0
jne 0x53a87f
mov ecx, edi
call fcn.0053b4db
mov ecx, edi
test eax, eax
jne 0x53a7da
push 1
sub esp, 0x18
mov eax, esp
push esi
push eax
call fcn.0053b48e
sub esp, 0x18
mov eax, esp
push 1
push eax
mov ecx, edi
call fcn.0053b48e
lea ecx, [ebp - 0xc8]
call fcn.004cb7d0
jmp 0x53a87f
call fcn.0053b151
cmp eax, 1
je 0x53a87f
push str.QBDelayUpdate.exe
lea ecx, [ebp - 0x80]
call fcn.00408fc4
push 1
lea eax, [ebp - 0x80]
push eax
push 1
lea eax, [ebp - 0x34]
push eax
call fcn.004c0910
add esp, 0x10
lea ecx, [ebp - 0x80]
call fcn.00403d40
push 0x60c5e0
lea ecx, [ebp - 0x68]
call fcn.00408fc4
push str.QQBrowser_Updater_Task_Post_
lea ecx, [ebp - 0x80]
call fcn.00408fc4
push 5
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x80]
push eax
call fcn.004d7da0
add esp, 0x10
lea ecx, [ebp - 0x80]
call fcn.00403d40
lea ecx, [ebp - 0x68]
call fcn.00403d40
push str._check
lea ecx, [ebp - 0x80]
call fcn.00408fc4
lea eax, [ebp - 0x80]
push eax
push esi
lea eax, [ebp - 0x34]
push eax
call fcn.004d1350
add esp, 0xc
lea ecx, [ebp - 0x80]
call fcn.00403d40
lea ecx, [ebp - 0x34]
call fcn.00403d40
push esi
mov ecx, edi
call fcn.0053e8b6
lea ecx, [ebp - 0xc8]
call fcn.004c5d00
mov eax, dword [ebp - 0x3c]
cmp eax, 8
jb 0x53a8cf
lea eax, [eax*2 + 2]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x50]
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x53a8c6
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.00403daf
pop ecx
pop ecx
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push eax
push ecx
call fcn.0056c61e
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.00531d18
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
leave
ret