Function at 0x1000bbf0
Capabilities:
Check if file exists
Delete file
Get common file path
Persist via app paths registry key
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1003c20b
mov eax, dword fs:[0]
push eax
sub esp, 0x62c
mov eax, dword [0x10051114]
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 edi, ecx
lea eax, [ebp - 0x634]
mov dword [ebp - 0x638], 4
push eax
lea eax, [ebp - 0x62c]
mov dword [ebp - 0x62c], 0
push eax
lea eax, [ebp - 0x638]
mov dword [ebp - 0x634], 4
push eax
push str.shortcut
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathshalowp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1000be29
cmp dword [ebp - 0x62c], 1
jne 0x1000be29
push 0x208
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.100214a0
mov ebx, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x628]
add esp, 0xc
push 1
push 0x19
push eax
push 0
call ebx
push 0x1003f660
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
jne 0x1000bdff
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.100214a0
add esp, 0xc
lea eax, [ebp - 0x218]
push 1
push 0x19
push eax
push 0
call ebx
call fcn.10002f00
mov ecx, eax
test ecx, ecx
je 0x1000be47
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x630], eax
push 0x1003f560
lea eax, [ebp - 0x630]
mov dword [ebp - 4], 0
push str._s.lnk
push eax
call fcn.10002c70
mov esi, dword [ebp - 0x630]
lea eax, [ebp - 0x218]
add esp, 0xc
push esi
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1000bd61
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.100214a0
add esp, 0xc
lea eax, [ebp - 0x420]
push 1
push 0x17
push eax
push 0
call ebx
push 0x1003f560
lea eax, [ebp - 0x420]
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 0x1000bdb7
lea eax, [ebp - 0x420]
mov ecx, edi
push eax
call fcn.1000af10
push 0
push 0
push 0x1000
push 0x8000000
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000bdea
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
push dword [ebp + 8]
mov ecx, edi
call fcn.1000aa30
test eax, eax
je 0x1000be29
mov ecx, edi
call fcn.1000bf00
push 4
lea eax, [ebp - 0x62c]
mov dword [ebp - 0x62c], 0
push eax
push 4
push str.shortcut
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Pathshalowp.exe
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
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.100178b1
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.10002690
int3