Function at 0x4f9d80
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5a4ff8
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x60f520]
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
xor esi, esi
lea ecx, [ebp - 0x24]
push esi
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360safe.exe
mov edx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x24], esi
call fcn.00516c80
add esp, 8
push 0x5bd554
push 0x5bd554
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], esi
call fcn.004474b0
mov ecx, eax
call fcn.00448ac0
push eax
lea ecx, [ebp - 0x24]
call fcn.0040b7d0
push dword [ebp - 0x24]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
mov dword [ebp - 0x1c], 0
mov ecx, 1
mov edx, reloc.OLEAUT32.dll_SysReAllocString
cmovne esi, ecx
lea ecx, [ebp - 0x1c]
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360sd.exe
call fcn.00516c80
add esp, 8
push 0x5bd554
push 0x5bd554
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.004474b0
mov ecx, eax
call fcn.00448ac0
push eax
lea ecx, [ebp - 0x1c]
call fcn.0040b7d0
push dword [ebp - 0x1c]
call edi
test eax, eax
je 0x4f9e50
or esi, 2
push str.UninstallString
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall_
mov edx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x14], 0
lea ecx, [ebp - 0x14]
call fcn.00516c80
add esp, 8
push 0x5bd554
push 0x5bd554
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004474b0
mov ecx, eax
call fcn.00448ac0
push eax
lea ecx, [ebp - 0x14]
call fcn.0040b7d0
push dword [ebp - 0x14]
call edi
test eax, eax
je 0x4f9ea3
or esi, 8
push str.DisplayIcon
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallQQPCMgr
mov edx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
call fcn.00516c80
add esp, 8
push 0x5bd554
push 0x5bd554
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 3
call fcn.004474b0
mov ecx, eax
call fcn.00448ac0
push eax
lea ecx, [ebp - 0x20]
call fcn.0040b7d0
push dword [ebp - 0x20]
call edi
test eax, eax
je 0x4f9ef6
or esi, 4
push str.DisplayIcon
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallKingsoft_Internet_Security
mov edx, reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x18]
call fcn.00516c80
add esp, 8
push 0x5bd554
push 0x5bd554
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 4
call fcn.004474b0
mov ecx, eax
call fcn.00448ac0
push eax
lea ecx, [ebp - 0x18]
call fcn.0040b7d0
push dword [ebp - 0x18]
call edi
test eax, eax
je 0x4f9f49
or esi, 0x10
mov byte [ebp - 4], 3
or edi, 0xffffffff
mov edx, dword [ebp - 0x18]
mov eax, edi
add edx, 0xfffffff0
lea ecx, [edx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x4f9f6c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 2
mov ecx, edi
mov edx, dword [ebp - 0x20]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f9f8c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, edi
mov edx, dword [ebp - 0x14]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f9fac
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0
mov ecx, edi
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4f9fcc
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
mov ebx, dword [ebp - 0x24]
add ebx, 0xfffffff0
lea eax, [ebx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x4f9fed
mov ecx, dword [ebx]
push ebx
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, esi
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.0055199a
mov esp, ebp
pop ebp
ret