Function at 0x1002f500
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006949b
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1008bb60]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10019960
movzx eax, al
neg eax
sbb eax, eax
and eax, 0x200
add eax, 0x20019
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], 0
call fcn.1002f470
test eax, eax
jne 0x1002f556
mov eax, dword [ebp - 0x14]
jmp 0x1002f72b
mov ecx, dword [ebp - 0x10]
push ecx
push str.ProgramPath
push str.SOFTWAREkingsoft_antivirus
push reloc.OLEAUT32.dll_SysReAllocString
lea edx, [ebp - 0x18]
push edx
call fcn.1002f740
add esp, 0x14
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.100015e0
movzx eax, al
test eax, eax
jne 0x1002f713
lea ecx, [ebp - 0x1c]
call fcn.100016b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.100016b0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call fcn.10025900
push 0x10078170
push 1
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x18]
call fcn.10006390
mov dword [ebp - 0x40], eax
mov edx, dword [ebp - 0x40]
push edx
call fcn.10005d30
add esp, 8
mov byte [ebp - 0x21], al
lea ecx, [ebp - 0x28]
call fcn.100016d0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1002f65a
push 0x10078174
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.10002af0
add esp, 0xc
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x48]
push ecx
lea ecx, [ebp - 0x20]
call fcn.100016f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x2c]
call fcn.100016d0
push 0x10078184
lea edx, [ebp - 0x18]
push edx
lea eax, [ebp - 0x30]
push eax
call fcn.10002af0
add esp, 0xc
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x4c]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x1c]
call fcn.100016f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x30]
call fcn.100016d0
jmp 0x1002f6ce
push str.kxescore.exe
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x34]
push ecx
call fcn.10002af0
add esp, 0xc
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x58]
push eax
lea ecx, [ebp - 0x20]
call fcn.100016f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.100016d0
push str.kxetray.exe
lea ecx, [ebp - 0x18]
push ecx
lea edx, [ebp - 0x38]
push edx
call fcn.10002af0
add esp, 0xc
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x1c]
call fcn.100016f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x38]
call fcn.100016d0
lea ecx, [ebp - 0x1c]
call fcn.10025f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1002f6fb
lea ecx, [ebp - 0x20]
call fcn.10025f80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x1002f6fb
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.100016d0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.100016d0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.100016d0
mov eax, dword [ebp - 0x3c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret