Function at 0x10010340
Capabilities:
Check if file exists
Delete registry key
Get file attributes
Get installed programs

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1004b443
mov eax, dword fs:[0]
push eax
sub esp, 0xcc
mov eax, dword [0x10061070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xc0], 0
lea ecx, [ebp - 0x28]
call fcn.10012170
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xb4], eax
lea ecx, [ebp - 0xa8]
push ecx
mov ecx, dword [ebp - 0xb4]
call fcn.10004510
lea edx, [ebp - 0xc4]
push edx
mov ecx, dword [ebp - 0xb4]
call fcn.100044b0
jmp 0x100103be
lea ecx, [ebp - 0xa8]
call fcn.10004470
lea eax, [ebp - 0xc4]
push eax
lea ecx, [ebp - 0xa8]
call fcn.10004430
movzx ecx, al
test ecx, ecx
je 0x10010525
lea ecx, [ebp - 0xa8]
call fcn.10004490
mov dword [ebp - 0xb8], eax
movzx edx, byte [ebp + 0x10]
test edx, edx
je 0x10010465
push 0x10059b50
lea ecx, [ebp - 0x70]
call fcn.10004bb0
lea eax, [ebp - 0xa4]
push eax
push 0xf003f
push 0
lea ecx, [ebp - 0x70]
call fcn.10004b20
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x10010458
mov ecx, dword [ebp - 0xb8]
call fcn.10004b20
push eax
mov ecx, dword [ebp - 0xa4]
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
mov edx, dword [ebp - 0xa4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x70]
call fcn.10004b60
jmp 0x10010520
mov eax, dword [ebp - 0xb8]
push eax
push str.SoftwareMicrosoftWindowsCurrentVersionUninstall_
lea ecx, [ebp - 0x58]
push ecx
call fcn.10016ad0
add esp, 0xc
mov byte [ebp - 4], 1
lea edx, [ebp - 0xa4]
push edx
push 0x20019
push 0
lea ecx, [ebp - 0x58]
call fcn.10004b20
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0
jne 0x10010514
push str.InstallDir
mov eax, dword [ebp - 0xa4]
push eax
lea ecx, [ebp - 0x88]
push ecx
call fcn.10010220
add esp, 0xc
mov dword [ebp - 0xc8], eax
mov edx, dword [ebp - 0xc8]
push edx
lea ecx, [ebp - 0x28]
call fcn.10012000
lea ecx, [ebp - 0x88]
call fcn.10004b60
mov eax, dword [ebp - 0xa4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebp - 0x28]
call fcn.10005840
test eax, eax
je 0x10010514
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10004b60
jmp 0x10010525
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.10004b60
jmp 0x100103b3
lea ecx, [ebp - 0x28]
call fcn.10005840
test eax, eax
jne 0x1001062b
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xbc], ecx
lea edx, [ebp - 0xb0]
push edx
mov ecx, dword [ebp - 0xbc]
call fcn.10004510
lea eax, [ebp - 0xcc]
push eax
mov ecx, dword [ebp - 0xbc]
call fcn.100044b0
jmp 0x1001056f
lea ecx, [ebp - 0xb0]
call fcn.10004470
lea ecx, [ebp - 0xcc]
push ecx
lea ecx, [ebp - 0xb0]
call fcn.10004430
movzx edx, al
test edx, edx
je 0x1001062b
lea ecx, [ebp - 0xb0]
call fcn.10004490
mov dword [ebp - 0xd4], eax
push str.C:Program_FilesSkyGuard_
lea ecx, [ebp - 0xa0]
call fcn.10004bb0
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0xd4]
push ecx
mov edx, dword [ebp - 0xd8]
push edx
lea eax, [ebp - 0x40]
push eax
call fcn.10016b90
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0xa0]
call fcn.10004b60
lea ecx, [ebp - 0x40]
call fcn.10004b20
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1001061a
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 0x28]
call fcn.10011f90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10004b60
jmp 0x1001062b
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x40]
call fcn.10004b60
jmp 0x10010564
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.100120f0
mov eax, dword [ebp - 0xc0]
or eax, 1
mov dword [ebp - 0xc0], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10004b60
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1002bcee
mov esp, ebp
pop ebp
ret