Function at 0x52f330
Capabilities:
Check if file exists
Delete file
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53e6f4
mov eax, dword fs:[0]
push eax
sub esp, 0x1dc
mov eax, dword [0x59a0a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x1e4], ebx
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x1c8], 0x2c4
call fcn.00429f50
mov dword [ebp - 4], 0
xor eax, eax
mov edx, dword [ebx + 0x3f8]
mov dword [ebp - 0x74], 7
mov dword [ebp - 0x78], 0
mov word [ebp - 0x88], ax
cmp word [edx], ax
jne 0x52f3a8
xor ecx, ecx
jmp 0x52f3bf
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x52f3b0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x88]
call fcn.00405040
mov byte [ebp - 4], 1
lea eax, [ebp - 0x88]
mov edx, dword [ebp - 0x74]
cmp edx, 8
mov ecx, dword [ebp - 0x88]
cmovae eax, ecx
test byte [ebp - 0xe0], 0x30
jne 0x52fe29
push ecx
lea ecx, [ebp - 0xe0]
push ecx
push eax
lea edx, [ebp - 0x118]
lea ecx, [ebp - 0x130]
call fcn.004d8fa0
add esp, 0xc
test al, al
je 0x52fe20
lea ecx, [ebp - 0x130]
call fcn.004d7ee0
test al, al
je 0x52fe20
push ecx
mov eax, esp
lea ecx, [ebp - 0x130]
mov dword [eax], str.Components
call fcn.004d8d10
test al, al
jne 0x52f46b
mov eax, dword [ebp - 0x74]
mov edi, 0x2c3
cmp eax, 8
jb 0x52fe8a
inc eax
lea ecx, [ebp - 0x88]
push eax
push dword [ebp - 0x88]
call fcn.00403010
jmp 0x52fe8a
mov eax, dword [ebp - 0xfc]
test eax, eax
je 0x52f4c0
cmp dword [ebp - 0xec], 1
jne 0x52f4c0
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x100], eax
xor eax, eax
test ecx, ecx
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf8], 0
setne al
mov dword [ebp - 0xe8], 0
mov dword [ebp - 0xe4], 0
mov dword [ebp - 0xec], eax
nop dword [eax + eax]
push ecx
mov eax, esp
lea ecx, [ebp - 0x130]
mov dword [eax], str.Item
call fcn.004d8d10
test al, al
je 0x52fded
xor eax, eax
mov dword [ebp - 0xa4], 7
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
mov dword [ebp - 0xbc], 7
mov dword [ebp - 0xc0], eax
mov word [ebp - 0xd0], ax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], eax
mov word [ebp - 0x58], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
mov dword [ebp - 0x8c], 7
mov dword [ebp - 0x90], eax
mov word [ebp - 0xa0], ax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], eax
mov word [ebp - 0x70], ax
xor esi, esi
mov dword [ebp - 0x1c0], esi
mov dword [ebp - 0x1bc], esi
mov dword [ebp - 0x1b8], esi
mov dword [ebp - 0x14c], 7
mov dword [ebp - 0x150], esi
mov word [ebp - 0x160], ax
push ecx
mov eax, esp
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x130]
mov dword [eax], 0x575d48
lea eax, [ebp - 0x28]
push eax
call fcn.0040fdb0
mov edi, eax
lea eax, [ebp - 0xb8]
cmp eax, edi
je 0x52f5eb
mov eax, dword [ebp - 0xa4]
cmp eax, 8
jb 0x52f5c2
inc eax
lea ecx, [ebp - 0xb8]
push eax
push dword [ebp - 0xb8]
call fcn.00403010
xor eax, eax
mov dword [ebp - 0xa4], 7
push edi
lea ecx, [ebp - 0xb8]
mov dword [ebp - 0xa8], 0
mov word [ebp - 0xb8], ax
call fcn.004042c0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x52f604
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403010
push ecx
mov eax, esp
lea ecx, [ebp - 0x130]
mov dword [eax], 0x575f08
lea eax, [ebp - 0x28]
push eax
call fcn.0040fdb0
mov edi, eax
lea eax, [ebp - 0x58]
cmp eax, edi
je 0x52f657
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x52f63a
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00403010
xor eax, eax
mov dword [ebp - 0x44], 7
push edi
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.004042c0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x52f670
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403010
push ecx
mov eax, esp
lea ecx, [ebp - 0x130]
mov dword [eax], 0x575f14
lea eax, [ebp - 0x28]
push eax
call fcn.0040fdb0
mov edi, eax
lea eax, [ebp - 0x40]
cmp eax, edi
je 0x52f6c3
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x52f6a6
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403010
xor eax, eax
mov dword [ebp - 0x2c], 7
push edi
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.004042c0
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x52f6dc
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403010
push ecx
mov eax, esp
lea ecx, [ebp - 0x130]
mov dword [eax], 0x575ee0
lea eax, [ebp - 0x28]
push eax
call fcn.0040fdb0
push eax
lea ecx, [ebp - 0xa0]
call fcn.004040c0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x52f715
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403010
push ecx
mov eax, esp
lea ecx, [ebp - 0x130]
mov dword [eax], str.localaddpath
lea eax, [ebp - 0x28]
push eax
call fcn.0040fdb0
push eax
lea ecx, [ebp - 0x70]
call fcn.004040c0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x52f74b
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403010
push ecx
mov eax, esp
lea ecx, [ebp - 0x130]
mov dword [eax], 0x575ec0
lea eax, [ebp - 0x28]
push eax
call fcn.0040fdb0
push eax
lea ecx, [ebp - 0xd0]
call fcn.004040c0
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x52f784
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00403010
cmp dword [ebp - 0xa8], 0
sete al
test al, al
jne 0x52fc33
cmp dword [ebp - 0xc0], 0
sete al
test al, al
jne 0x52fc33
cmp dword [ebp - 0x30], 0
sete al
test al, al
jne 0x52fc33
cmp dword [ebp - 0xa4], 8
lea eax, [ebp - 0xb8]
cmovae eax, dword [ebp - 0xb8]
push eax
call fcn.004a65cc
add esp, 4
cmp eax, 0xb
jne 0x52fbf5
cmp dword [ebp - 0xbc], 8
lea eax, [ebp - 0xd0]
cmovae eax, dword [ebp - 0xd0]
push eax
call fcn.004a65cc
add esp, 4
cmp eax, dword [ebx + 0x538]
jne 0x52fbf5
lea ecx, [ebp - 0x130]
call fcn.004d81c0
push ecx
mov eax, esp
lea ecx, [ebp - 0x130]
mov dword [eax], str.Install
call fcn.004d8d10
test al, al
je 0x52f985
lea ecx, [ebp - 0x130]
call fcn.004d81c0
lea ecx, [ebp - 0x160]
call fcn.004434d0
push ecx
mov eax, esp
lea ecx, [ebp - 0x130]
mov dword [eax], str.RunItem
call fcn.004d8d10
test al, al
je 0x52f974
lea ecx, [ebp - 0x1d4]
call fcn.00442570
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
push ecx
mov eax, esp
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x130]
mov dword [eax], str.installName
lea eax, [ebp - 0x178]
push eax
call fcn.0040fdb0
push eax
lea ecx, [ebp - 0x28]
call fcn.004040c0
lea ecx, [ebp - 0x178]
call fcn.00403110
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x1d4]
cmovae eax, dword [ebp - 0x28]
push eax
call fcn.00402e00
xor eax, eax
mov dword [ebp - 0x134], 7
mov dword [ebp - 0x138], 0
mov word [ebp - 0x148], ax
push ecx
mov eax, esp
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0x130]
mov dword [eax], str.installParam
lea eax, [ebp - 0x178]
push eax
call fcn.0040fdb0
push eax
lea ecx, [ebp - 0x148]
call fcn.004040c0
lea ecx, [ebp - 0x178]
call fcn.00403110
cmp dword [ebp - 0x134], 8
lea eax, [ebp - 0x148]
lea ecx, [ebp - 0x1d0]
cmovae eax, dword [ebp - 0x148]
push eax
call fcn.00402e00
lea eax, [ebp - 0x1d4]
push eax
lea ecx, [ebp - 0x1c0]
call fcn.00442f40
lea ecx, [ebp - 0x148]
call fcn.00403110
lea ecx, [ebp - 0x28]
call fcn.00403110
lea ecx, [ebp - 0x1d4]
mov byte [ebp - 4], 9
call fcn.00403220
jmp 0x52f843
lea ecx, [ebp - 0x130]
call fcn.004d8160
mov esi, dword [ebp - 0x1c0]
lea ecx, [ebp - 0x130]
call fcn.004d8160
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
mov ecx, dword [ebx + 0x400]
cmovae eax, dword [ebp - 0x40]
add ecx, 0x6c
push eax
call fcn.00402e00
cmp dword [ebp - 0x44], 8
lea eax, [ebp - 0x58]
mov ecx, dword [ebx + 0x400]
cmovae eax, dword [ebp - 0x58]
add ecx, 0x70
push eax
call fcn.00402e00
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
mov ecx, dword [ebx + 0x400]
cmovae eax, dword [ebp - 0x70]
add ecx, 0x54
push eax
call fcn.00402e00
cmp dword [ebp - 0x60], 0
sete al
test al, al
je 0x52fa3b
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
lea esi, [ebx + 0x3f4]
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x1d8]
push eax
mov edx, esi
call fcn.00401d60
add esp, 4
mov byte [ebp - 4], 0x10
mov ecx, dword [ebx + 0x400]
push eax
add ecx, 0x48
call fcn.00401f90
lea ecx, [ebp - 0x1d8]
mov byte [ebp - 4], 9
call fcn.00402ed0
jmp 0x52fb81
cmp dword [ebp - 0x5c], 8
lea eax, [ebp - 0x70]
lea edx, [ebx + 0x3f4]
cmovae eax, dword [ebp - 0x70]
lea ecx, [ebp - 0x1b4]
push eax
call fcn.00401d60
add esp, 4
push 0x576084
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x11
call fcn.00401ff0
mov edi, eax
push 1
lea eax, [ebp - 0x1dc]
mov byte [ebp - 4], 0x12
push eax
lea ecx, [ebp - 0x1b4]
call fcn.004032e0
mov edx, edi
mov ecx, eax
call fcn.0042aad0
lea ecx, [ebp - 0x1dc]
mov bl, al
call fcn.00402ed0
lea ecx, [ebp - 0x1e0]
mov byte [ebp - 4], 0x11
call fcn.00402ed0
test bl, bl
je 0x52fac2
push 0x575fa4
lea ecx, [ebp - 0x1b4]
call fcn.00401f40
cmp dword [ebp - 0x8c], 8
lea eax, [ebp - 0xa0]
lea edx, [ebp - 0x1b4]
cmovae eax, dword [ebp - 0xa0]
lea ecx, [ebp - 0x1cc]
push eax
call fcn.00401d60
add esp, 4
mov ebx, dword [ebp - 0x1e4]
mov byte [ebp - 4], 0x13
push eax
mov ecx, dword [ebx + 0x400]
add ecx, 0x48
call fcn.00401f90
lea ecx, [ebp - 0x1cc]
mov byte [ebp - 4], 0x11
call fcn.00402ed0
mov edi, dword [ebp - 0x1bc]
cmp esi, edi
je 0x52fb6c
nop dword [eax]
push esi
lea edx, [ebp - 0x1b4]
lea ecx, [ebp - 0x1c4]
call fcn.00401e60
add esp, 4
lea eax, [ebp - 0x1c4]
mov byte [ebp - 4], 0x14
push eax
mov ecx, esi
call fcn.00401f90
mov ecx, dword [ebx + 0x400]
push esi
add ecx, 0x58
call fcn.00442f40
lea ecx, [ebp - 0x1c4]
mov byte [ebp - 4], 0x11
call fcn.00402ed0
add esi, 8
cmp esi, edi
jne 0x52fb20
lea ecx, [ebp - 0x1b4]
mov byte [ebp - 4], 9
call fcn.00402ed0
lea esi, [ebx + 0x3f4]
mov ecx, dword [ebx + 0x400]
push esi
add ecx, 0x4c
call fcn.00401f90
mov ecx, dword [ebx + 0x400]
add ecx, 0x70
call fcn.00411750
mov ecx, dword [ebx + 0x400]
push eax
add ecx, 0x70
call fcn.00401f90
mov eax, dword [ebx + 0x400]
xor edi, edi
mov dword [ebp - 0x1c8], edi
push dword [eax + 0x48]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x52fbf5
mov eax, dword [ebx + 0x400]
push edi
mov edx, dword [eax + 0x70]
mov ecx, dword [eax + 0x48]
call fcn.004e0890
add esp, 4
test eax, eax
jne 0x52fd0f
mov eax, dword [ebx + 0x400]
push dword [eax + 0x48]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x160]
call fcn.00403110
lea ecx, [ebp - 0x1c0]
call fcn.0042cdd0
lea ecx, [ebp - 0x70]
call fcn.00403110
lea ecx, [ebp - 0xa0]
call fcn.00403110
lea ecx, [ebp - 0x40]
call fcn.00403110
lea ecx, [ebp - 0x58]
call fcn.00403110
jmp 0x52fcf4
lea ecx, [ebp - 0x1c0]
call fcn.0042cdd0
mov eax, dword [ebp - 0x5c]
cmp eax, 8
jb 0x52fc53
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00403010
xor eax, eax
mov dword [ebp - 0x5c], 7
mov word [ebp - 0x70], ax
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x60], 0
cmp eax, 8
jb 0x52fc85
inc eax
lea ecx, [ebp - 0xa0]
push eax
push dword [ebp - 0xa0]
call fcn.00403010
xor eax, eax
mov dword [ebp - 0x8c], 7
mov word [ebp - 0xa0], ax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x90], 0
cmp eax, 8
jb 0x52fcb7
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00403010
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x52fce0
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00403010
xor eax, eax
mov dword [ebp - 0x44], 7
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
lea ecx, [ebp - 0xd0]
call fcn.00403110
lea ecx, [ebp - 0xb8]
call fcn.00403110
jmp 0x52f4c0
mov ecx, dword [ebx + 0x400]
lea eax, [ecx + 0x70]
add ecx, 0x50
push eax
call fcn.00401f90
mov eax, dword [ebx + 0x400]
lea ecx, [ebp - 0x1ac]
push 0x23a
push str.D:jenkins_TrunkworkspaceROqqpcmgr_projAndroidEmulatorGameDownloadUIQQPcmgrDllSetup.cpp
push str.GameDownload::CQQPcmgrDllSetup::OnComponentXmlDownloadSucc
mov dword [eax + 4], 1
mov eax, dword [ebx + 0x400]
mov dword [eax + 8], 1
call fcn.00428d70
mov esi, eax
push 0
push 0x52f140
lea ecx, [ebx + 0x3d4]
mov byte [ebp - 4], 0x15
call fcn.00449500
push eax
mov edx, esi
call fcn.00530d10
add esp, 4
lea ecx, [ebp - 0x1ac]
call fcn.00428f50
lea ecx, [ebp - 0x160]
call fcn.00403110
lea ecx, [ebp - 0x1c0]
call fcn.0042cdd0
lea ecx, [ebp - 0x70]
call fcn.00403110
lea ecx, [ebp - 0xa0]
call fcn.00403110
lea ecx, [ebp - 0x40]
call fcn.00403110
lea ecx, [ebp - 0x58]
call fcn.00403110
lea ecx, [ebp - 0xd0]
call fcn.00403110
lea ecx, [ebp - 0xb8]
call fcn.00403110
lea ecx, [ebp - 0x88]
call fcn.00403110
lea ecx, [ebp - 0x130]
call fcn.004d92d0
jmp 0x52feec
lea ecx, [ebp - 0x130]
call fcn.004d8160
lea ecx, [ebp - 0x88]
call fcn.00403110
lea ecx, [ebp - 0x130]
mov dword [ebp - 4], 0xffffffff
call fcn.004d92d0
mov edi, dword [ebp - 0x1c8]
jmp 0x52feaf
mov edx, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x88]
mov byte [ebp - 4], 0
mov edi, 0x2c3
cmp edx, 8
jb 0x52fe8a
lea eax, [edx + 1]
cmp eax, 0x7fffffff
jbe 0x52fe46
call fcn.004a4e3e
add eax, eax
cmp eax, 0x1000
jb 0x52fe81
test byte [ebp - 0x88], 0x1f
je 0x52fe5d
call fcn.004a4e3e
mov eax, dword [ecx - 4]
cmp eax, ecx
jb 0x52fe69
call fcn.004a4e3e
sub ecx, eax
cmp ecx, 4
jae 0x52fe75
call fcn.004a4e3e
cmp ecx, 0x23
jbe 0x52fe7f
call fcn.004a4e3e
mov ecx, eax
push ecx
call fcn.0049aa1d
add esp, 4
xor eax, eax
mov dword [ebp - 0x74], 7
lea ecx, [ebp - 0x130]
mov dword [ebp - 0x78], eax
mov word [ebp - 0x88], ax
mov dword [ebp - 4], 0xffffffff
call fcn.004d92d0
mov eax, dword [ebx + 0x400]
mov eax, dword [eax + 0x6c]
cmp dword [eax - 0xc], 0
jne 0x52fee5
push 0
push 0
push 0
push dword [ebx + 0x3b8]
mov dword [ebx + 0x520], edi
mov dword [ebx + 0x3c], edi
mov dword [ebx + 0x3b4], 1
call dword [sym.imp.USER32.dll_PostThreadMessageW]
jmp 0x52feec
mov ecx, ebx
call fcn.005302b0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049aa22
mov esp, ebp
pop ebp
ret