Function at 0x504a70
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
push ebx
push esi
push edi
push 1
sub esp, 0x18
mov ebx, ecx
mov ecx, esp
mov dword [ebp - 0x4c], ebx
xor eax, eax
push 0xd
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.QQBrowser.exe
mov word [ecx], ax
call fcn.00408679
lea eax, [ebp - 0x48]
push eax
call fcn.004f9f40
mov ecx, eax
call fcn.004f9fa0
push eax
lea eax, [ebp - 0x80]
push 0
push eax
call fcn.004bc990
add esp, 0x10
cmp dword [ebp - 0x34], 8
jb 0x504ad7
push dword [ebp - 0x48]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
mov word [ebp - 0x48], ax
lea eax, [ebp - 0x80]
push eax
mov dword [ebp - 0x38], 0
call fcn.00514570
add esp, 4
cmp dword [ebp - 0x6c], 8
jb 0x504b08
push dword [ebp - 0x80]
call fcn.00412895
add esp, 4
push 1
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 9
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.QBPin.exe
mov word [ecx], ax
call fcn.00408679
lea eax, [ebp - 0x98]
push eax
call fcn.004f9f40
mov ecx, eax
call fcn.004f9fa0
push eax
lea eax, [ebp - 0xb0]
push 1
push eax
call fcn.004bc990
add esp, 0x10
cmp dword [ebp - 0x84], 8
jb 0x504b6a
push dword [ebp - 0x98]
call fcn.00412895
add esp, 4
cmp dword [ebp - 0x9c], 8
lea eax, [ebp - 0xb0]
cmovae eax, dword [ebp - 0xb0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x504b98
lea eax, [ebp - 0xb0]
push eax
call fcn.00514590
add esp, 4
lea esi, [ebx + 0xc4]
mov ecx, esi
call fcn.004f5790
mov ecx, esi
movzx edi, al
call fcn.004f5680
test al, al
jne 0x504c4d
mov edi, dword [ebx + 0x464]
lea ecx, [ebp - 0x18]
push 2
xor eax, eax
mov dword [ebp - 4], 7
push 0x5a4cd8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
call fcn.00408679
mov eax, edi
neg eax
sbb eax, eax
add eax, 5
push eax
lea eax, [ebp - 0x18]
push eax
push 2
call fcn.004bfa00
add esp, 0xc
cmp dword [ebp - 4], 8
jb 0x504c09
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
test edi, edi
je 0x504f87
mov ecx, esi
call fcn.004f57b0
test al, al
je 0x504d64
push dword [0x5c8264]
lea ecx, [ebp - 0x18]
call fcn.00408738
push 1
push 0x5a3328
lea ecx, [ebp - 0x18]
call fcn.00409102
mov edx, dword [str.daohang.qq.com__frshortcut]
cmp word [edx], 0
jne 0x504ca9
xor ecx, ecx
jmp 0x504cbf
mov ecx, ebx
call fcn.00503bb0
cmp eax, 1
je 0x504c09
push 0x5a4cd8
lea ecx, [ebp - 0x80]
mov dword [ebp - 0x68], 0
call fcn.00408738
push 0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x80]
push eax
push 2
call fcn.004bf4f0
add esp, 0x10
cmp dword [ebp - 0x6c], 8
jb 0x504c92
push dword [ebp - 0x80]
call fcn.00412895
add esp, 4
test edi, edi
je 0x504f87
cmp dword [ebp - 0x68], 5
jne 0x504c11
jmp 0x504f87
mov ecx, edx
lea edi, [ecx + 2]
mov edi, edi
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x504cb0
sub ecx, edi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x18]
call fcn.00409102
push dword [0x5c8288]
lea ecx, [ebp - 0x30]
call fcn.00408738
lea eax, [ebp - 0x80]
mov ecx, ebx
push eax
call fcn.00503030
push eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x18]
push eax
push 1
lea ecx, [ebp - 0x4c]
call fcn.004ff7f0
cmp dword [ebp - 0x6c], 8
jb 0x504d06
push dword [ebp - 0x80]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x6c], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x70], 0
mov word [ebp - 0x80], ax
jb 0x504d2b
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
cmp dword [ebp - 4], 8
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
jb 0x504d50
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
push dword [0x5c827c]
lea ecx, [ebp - 0x98]
call fcn.00408738
push dword [0x5c8264]
lea ecx, [ebp - 0x48]
call fcn.00408738
xor eax, eax
mov dword [ebp - 0x1c], 7
push eax
push 0x594314
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.00408679
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
sub esp, 0x18
push esp
call fcn.004f48f0
lea eax, [ebp - 0x64]
push eax
call fcn.005031c0
add esp, 0x20
cmp dword [ebp - 0x1c], 8
jb 0x504dd1
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
mov word [ebp - 0x30], ax
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x64]
mov dword [ebp - 0x20], 0
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x48]
push eax
push 1
call fcn.004ff7f0
cmp dword [ebp - 0x50], 8
jb 0x504e0f
push dword [ebp - 0x64]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
cmp dword [ebp - 0x34], 8
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
jb 0x504e34
push dword [ebp - 0x48]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
cmp dword [ebp - 0x84], 8
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
jb 0x504e5f
push dword [ebp - 0x98]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
push eax
push 0x594314
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
call fcn.00408679
xor eax, eax
mov dword [ebp - 4], 7
push eax
push 0x594314
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
call fcn.00408679
xor eax, eax
mov dword [ebp - 0x1c], 7
push eax
push 0x594314
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.00408679
lea eax, [ebp - 0x30]
mov ecx, esi
push eax
sub esp, 0x18
push esp
call fcn.004f48f0
lea eax, [ebp - 0x48]
push eax
call fcn.005031c0
add esp, 0x20
cmp dword [ebp - 0x1c], 8
jb 0x504ef1
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
mov ecx, esi
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.004f5550
lea ecx, [ebp - 0x64]
movzx eax, al
push ecx
lea ecx, [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push 0x68
push 0x7d6
mov ecx, ebx
call fcn.00502870
cmp dword [ebp - 0x34], 8
jb 0x504f3d
push dword [ebp - 0x48]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
cmp dword [ebp - 4], 8
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
jb 0x504f62
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x50], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x504f87
push dword [ebp - 0x64]
call fcn.00412895
add esp, 4
mov ecx, esi
call fcn.004f5770
test al, al
je 0x505091
push dword [0x5c827c]
lea ecx, [ebp - 0x98]
call fcn.00408738
push dword [0x5c8270]
lea ecx, [ebp - 0x64]
call fcn.00408738
xor eax, eax
mov dword [ebp - 4], 7
push eax
push 0x594314
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
call fcn.00408679
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
sub esp, 0x18
push esp
call fcn.004f48f0
lea eax, [ebp - 0x48]
push eax
call fcn.005031c0
add esp, 0x20
cmp dword [ebp - 4], 8
jb 0x505003
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
mov word [ebp - 0x18], ax
lea ecx, [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov dword [ebp - 8], 0
push eax
lea eax, [ebp - 0x98]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
call fcn.004ff7f0
cmp dword [ebp - 0x34], 8
jb 0x505041
push dword [ebp - 0x48]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
cmp dword [ebp - 0x50], 8
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
jb 0x505066
push dword [ebp - 0x64]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x50], 7
cmp dword [ebp - 0x84], 8
mov dword [ebp - 0x54], 0
mov word [ebp - 0x64], ax
jb 0x505091
push dword [ebp - 0x98]
call fcn.00412895
add esp, 4
cmp dword [ebp - 0x9c], 8
jb 0x5050a8
push dword [ebp - 0xb0]
call fcn.00412895
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret