Function at 0x1001aac0
Capabilities:
Check if file exists
Delete file
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a591
mov eax, dword fs:[0]
push eax
sub esp, 0x638
mov eax, dword [0x100891f4]
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
mov ebx, ecx
lea eax, [ebp - 0x640]
mov dword [ebp - 0x644], 4
push eax
lea eax, [ebp - 0x630]
mov dword [ebp - 0x630], 0
push eax
lea eax, [ebp - 0x644]
mov dword [ebp - 0x640], 4
push eax
push str.shortcut
lea ecx, [ebp - 0x629]
call fcn.100189f0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1001adbf
cmp dword [ebp - 0x630], 1
jne 0x1001adbf
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.10043b10
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x629]
call fcn.100184d0
push eax
lea ecx, [ebp - 0x63c]
call fcn.100023e0
push dword [ebp - 0x63c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
mov dword [ebp - 4], 0
call esi
push str..lnk
lea eax, [ebp - 0x218]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or edi, 0xffffffff
test eax, eax
je 0x1001abfb
push 4
lea eax, [ebp - 0x630]
mov dword [ebp - 0x630], 0
push eax
push 4
push str.shortcut
lea ecx, [ebp - 0x629]
call fcn.10018bb0
jmp 0x1001ad91
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10043b10
add esp, 0xc
lea eax, [ebp - 0x420]
push 1
push 0x19
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [ebp - 0x629]
call fcn.100183f0
push eax
lea ecx, [ebp - 0x634]
call fcn.100023e0
mov byte [ebp - 4], 1
call fcn.100031c0
mov ecx, eax
test ecx, ecx
je 0x1001addd
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x638], eax
push dword [ebp - 0x634]
lea eax, [ebp - 0x638]
mov byte [ebp - 4], 2
push str._s.lnk
push eax
call fcn.10002df0
mov esi, dword [ebp - 0x638]
lea eax, [ebp - 0x420]
add esp, 0xc
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001acac
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.10043b10
add esp, 0xc
lea eax, [ebp - 0x628]
push 1
push 0x17
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push dword [ebp - 0x634]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1001ad07
lea eax, [ebp - 0x628]
mov ecx, ebx
push eax
call fcn.10019c30
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov byte [ebp - 4], 1
add esi, 0xfffffff0
mov eax, edi
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1001ad36
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x634]
mov eax, edi
mov byte [ebp - 4], 0
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1001ad57
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 8]
mov ecx, ebx
call fcn.10019770
test eax, eax
je 0x1001ad9d
mov ecx, ebx
call fcn.1001b050
push 4
lea eax, [ebp - 0x630]
mov dword [ebp - 0x630], 0
push eax
push 4
push str.shortcut
lea ecx, [ebp - 0x629]
call fcn.10017af0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov edx, dword [ebp - 0x63c]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], edi
dec edi
test edi, edi
jg 0x1001adbf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
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.100264cc
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10002810
int3