Function at 0x4f6680
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
push esi
xor eax, eax
mov dword [ebp - 0x7c], 7
push 0x10
push str.QBServiceExeName
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x80], 0
mov word [ebp - 0x90], ax
mov dword [ebp - 4], 7
mov dword [ebp - 8], eax
mov word [ebp - 0x18], ax
call fcn.00408659
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xd
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.TsService.exe
mov word [ecx], ax
call fcn.00408659
lea eax, [ebp - 0x90]
push eax
lea eax, [ebp - 0x18]
push eax
push 2
call fcn.004ba950
add esp, 0x24
cmp dword [ebp - 4], 8
jb 0x4f6708
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
push 0x19
xor eax, eax
mov dword [ebp - 4], 7
push str.serviceTsService.exe.new
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
call fcn.00408659
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push 1
push eax
call fcn.004b7ed0
add esp, 0x10
cmp dword [ebp - 4], 8
jb 0x4f6750
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x30]
push eax
call fcn.0040757d
lea eax, [ebp - 0x60]
push eax
call fcn.004ed370
mov ecx, eax
call fcn.004ed3d0
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x4f67bb
cmp dword [ebp - 0x1c], 8
jb 0x4f679e
push dword [ebp - 0x30]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
push esi
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
call fcn.004408e4
cmp dword [ebp - 0x4c], 8
jb 0x4f67cc
push dword [ebp - 0x60]
call fcn.00412887
add esp, 4
push 0xd
xor eax, eax
mov dword [ebp - 4], 7
push str.TsService.exe
lea ecx, [ebp - 0x18]
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
call fcn.00408659
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push 0
push eax
call fcn.004b7ed0
add esp, 0x10
cmp dword [ebp - 4], 8
jb 0x4f6814
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
lea ecx, [ebp - 0xe0]
call fcn.004af4f0
cmp dword [ebp - 0x34], 8
lea eax, [ebp - 0x48]
cmovae eax, dword [ebp - 0x48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4f69c2
push str..new
lea eax, [ebp - 0x48]
push eax
lea eax, [ebp - 0xa8]
push eax
call fcn.004452c3
add esp, 0xc
xor eax, eax
push 1
sub esp, 0x18
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0xa8]
push eax
call fcn.0040757d
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x30]
push eax
call fcn.0040757d
lea ecx, [ebp - 0xe0]
call fcn.004b15f0
test eax, eax
je 0x4f69a2
push str.__typeassistant___install_service
lea ecx, [ebp - 0x60]
call fcn.00408718
push 1
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xd
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.QQBrowser.exe
mov word [ecx], ax
call fcn.00408659
lea eax, [ebp - 0x78]
push eax
call fcn.004ed370
mov ecx, eax
call fcn.004ed3d0
push eax
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004b7ed0
add esp, 0x10
cmp dword [ebp - 0x64], 8
jb 0x4f6914
push dword [ebp - 0x78]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 0x64], 7
mov word [ebp - 0x78], ax
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x68], 0
push 0xffffffffffffffff
push eax
call fcn.004faff0
add esp, 0xc
cmp dword [ebp - 4], 8
jb 0x4f694b
push dword [ebp - 0x18]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x4c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x4f6970
push dword [ebp - 0x60]
call fcn.00412887
add esp, 4
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0xa8]
push eax
call fcn.0040757d
lea ecx, [ebp - 0xe0]
call fcn.004b17e0
cmp dword [ebp - 0x94], 8
jb 0x4f6a6b
push dword [ebp - 0xa8]
call fcn.00412887
add esp, 4
jmp 0x4f6a6b
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x30]
push eax
call fcn.0040757d
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x48]
push eax
call fcn.0040757d
call fcn.004afef0
add esp, 0x30
test eax, eax
jns 0x4f6a6b
push 1
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x48]
push eax
call fcn.0040757d
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [ebp - 0x30]
push eax
call fcn.0040757d
lea ecx, [ebp - 0xe0]
call fcn.004b15f0
lea ecx, [ebp - 0xe0]
call fcn.004af530
cmp dword [ebp - 0x34], 8
jb 0x4f6a87
push dword [ebp - 0x48]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 0x34], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x38], 0
mov word [ebp - 0x48], ax
jb 0x4f6aac
push dword [ebp - 0x30]
call fcn.00412887
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
cmp dword [ebp - 0x7c], 8
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
jb 0x4f6ad4
push dword [ebp - 0x90]
call fcn.00412887
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret