Function at 0x506f40
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
cmp dword [ecx + 0x478], 0
push esi
je 0x507016
push str.__typeassistant___uninstall_service
lea ecx, [ebp - 0x78]
call fcn.00408738
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.00408679
lea eax, [ebp - 0x48]
push eax
call fcn.004f9f40
mov ecx, eax
call fcn.004f9fa0
push eax
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004bc990
add esp, 0x10
cmp dword [ebp - 0x34], 8
jb 0x506fba
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 - 0x78]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], 0
push 0xffffffffffffffff
push eax
call fcn.004c1810
add esp, 0xc
cmp dword [ebp - 4], 8
jb 0x506ff1
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x64], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x507016
push dword [ebp - 0x78]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x94], 7
push 0x10
push str.QBServiceExeName
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x98], 0
mov word [ebp - 0xa8], ax
mov dword [ebp - 4], 7
mov dword [ebp - 8], eax
mov word [ebp - 0x18], ax
call fcn.00408679
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.00408679
lea eax, [ebp - 0xa8]
push eax
lea eax, [ebp - 0x18]
push eax
push 2
call fcn.004bf6a0
add esp, 0x24
cmp dword [ebp - 4], 8
jb 0x50709a
push dword [ebp - 0x18]
call fcn.00412895
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.00408679
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x30]
push 1
push eax
call fcn.004bc990
add esp, 0x10
cmp dword [ebp - 4], 8
jb 0x5070e2
push dword [ebp - 0x18]
call fcn.00412895
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.0040759d
lea eax, [ebp - 0x90]
push eax
call fcn.004f9f40
mov ecx, eax
call fcn.004f9fa0
mov esi, eax
lea eax, [ebp - 0x30]
cmp eax, esi
je 0x507150
cmp dword [ebp - 0x1c], 8
jb 0x507133
push dword [ebp - 0x30]
call fcn.00412895
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.00440913
cmp dword [ebp - 0x7c], 8
jb 0x507164
push dword [ebp - 0x90]
call fcn.00412895
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.00408679
push 1
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.004bc990
add esp, 0x10
cmp dword [ebp - 4], 8
jb 0x5071ac
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
lea ecx, [ebp - 0xe0]
call fcn.004b4160
cmp dword [ebp - 0x4c], 8
lea eax, [ebp - 0x60]
cmovae eax, dword [ebp - 0x60]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x507354
push str..new
lea eax, [ebp - 0x60]
push eax
lea eax, [ebp - 0x78]
push eax
call fcn.0044551b
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 - 0x78]
push eax
call fcn.0040759d
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.0040759d
lea ecx, [ebp - 0xe0]
call fcn.004b6170
test eax, eax
je 0x50733a
push str.__typeassistant___install_service
lea ecx, [ebp - 0x90]
call fcn.00408738
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.00408679
lea eax, [ebp - 0x48]
push eax
call fcn.004f9f40
mov ecx, eax
call fcn.004f9fa0
push eax
lea eax, [ebp - 0x18]
push 0
push eax
call fcn.004bc990
add esp, 0x10
cmp dword [ebp - 0x34], 8
jb 0x5072a9
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 - 0x90]
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x38], 0
push 0xffffffffffffffff
push eax
call fcn.004c1810
add esp, 0xc
cmp dword [ebp - 4], 8
jb 0x5072e3
push dword [ebp - 0x18]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 4], 7
cmp dword [ebp - 0x7c], 8
mov dword [ebp - 8], 0
mov word [ebp - 0x18], ax
jb 0x50730b
push dword [ebp - 0x90]
call fcn.00412895
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 - 0x78]
push eax
call fcn.0040759d
lea ecx, [ebp - 0xe0]
call fcn.004b6550
cmp dword [ebp - 0x64], 8
jb 0x5073fd
push dword [ebp - 0x78]
call fcn.00412895
add esp, 4
jmp 0x5073fd
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.0040759d
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 - 0x60]
push eax
call fcn.0040759d
call fcn.004b4c50
add esp, 0x30
test eax, eax
jns 0x5073fd
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 - 0x60]
push eax
call fcn.0040759d
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.0040759d
lea ecx, [ebp - 0xe0]
call fcn.004b6170
lea ecx, [ebp - 0xe0]
call fcn.004b41a0
cmp dword [ebp - 0x4c], 8
jb 0x507419
push dword [ebp - 0x60]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x4c], 7
cmp dword [ebp - 0x1c], 8
mov dword [ebp - 0x50], 0
mov word [ebp - 0x60], ax
jb 0x50743e
push dword [ebp - 0x30]
call fcn.00412895
add esp, 4
xor eax, eax
mov dword [ebp - 0x1c], 7
cmp dword [ebp - 0x94], 8
mov dword [ebp - 0x20], 0
mov word [ebp - 0x30], ax
jb 0x507469
push dword [ebp - 0xa8]
call fcn.00412895
add esp, 4
pop esi
mov esp, ebp
pop ebp
ret