Function at 0x1001df38
Capabilities:
Get common file path
Persist via run registry key
Query or enumerate registry value

Disassembly:
push 0x434
mov eax, 0x1006ae98
call fcn.100417b5
mov dword [ebp - 0x440], ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x434], eax
test eax, eax
je 0x1001e093
test ebx, ebx
je 0x1001e093
xor eax, eax
lea edi, [ebp - 0x20]
mov word [ebx], ax
mov esi, str.CLSID:
push 6
lea eax, [ebp - 0x20]
push eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov esi, dword [ebp - 0x434]
push esi
call dword [sym.imp.SHLWAPI.dll_StrCmpNIW]
test eax, eax
jne 0x1001e09d
lea eax, [esi + 0xc]
mov edi, 0x208
push eax
push str.CLSID_sInprocServer32
mov dword [ebp - 0x440], eax
lea eax, [ebp - 0x430]
push edi
push eax
call fcn.1001078c
add esp, 0x10
mov dword [ebp - 0x438], edi
lea eax, [ebp - 0x438]
xor esi, esi
inc esi
mov dword [ebp - 0x43c], esi
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x43c]
push eax
push 0
lea eax, [ebp - 0x430]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
jne 0x1001e026
lea eax, [ebp - 0x228]
push eax
call edi
test eax, eax
je 0x1001e026
lea ecx, [ebp - 0x228]
sub eax, ecx
sar eax, 1
push eax
mov eax, ecx
push eax
push 0x104
push ebx
call fcn.1001e27e
mov eax, esi
jmp 0x1001e095
push dword [ebp - 0x440]
lea eax, [ebp - 0x430]
push str.CLSID_sLocalServer32
push 0x208
push eax
call fcn.1001078c
add esp, 0x10
mov dword [ebp - 0x43c], esi
lea eax, [ebp - 0x438]
mov dword [ebp - 0x438], 0x208
push eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x43c]
push eax
push 0
lea eax, [ebp - 0x430]
push eax
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x1001e093
lea eax, [ebp - 0x228]
push eax
call edi
test eax, eax
jne 0x1001e009
xor eax, eax
call fcn.1004175f
ret 8
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpIW]
xor eax, eax
mov dword [ebp - 0x434], eax
push esi
push dword [eax*8 + 0x1008f3a8]
call edi
test eax, eax
mov eax, dword [ebp - 0x434]
je 0x1001e0ed
inc eax
mov dword [ebp - 0x434], eax
cmp eax, 0x1a
jb 0x1001e0ab
push str.Windows
push esi
call edi
test eax, eax
jne 0x1001e108
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
jmp 0x1001e095
push 0
push dword [eax*8 + 0x1008f3ac]
push ebx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x1001e0cb
xor eax, eax
inc eax
jmp 0x1001e095
push str.System
push esi
call edi
test eax, eax
jne 0x1001e122
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x1001e0e3
push str.SystemRoot
push esi
call edi
test eax, eax
jne 0x1001e13f
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x1001e095
push str.SystemDrive
push esi
call edi
test eax, eax
jne 0x1001e16b
push 0x104
push ebx
call dword [sym.imp.KERNEL32.dll_GetSystemWindowsDirectoryW]
test eax, eax
je 0x1001e093
push ebx
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
jmp 0x1001e095
push str.Temp
push esi
call edi
test eax, eax
jne 0x1001e188
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x1001e0e3
mov eax, dword [ebp - 0x440]
cmp dword [eax + 4], 0
je 0x1001e1f5
call fcn.10001ccc
push eax
lea ecx, [ebp - 0x434]
call fcn.1000170c
and dword [ebp - 4], 0
lea eax, [ebp - 0x434]
push eax
mov eax, dword [ebp - 0x440]
push esi
mov ecx, dword [eax + 4]
call fcn.100089a2
test eax, eax
je 0x1001e1e7
push dword [ebp - 0x434]
push 0x104
push ebx
call fcn.1000b32f
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.10002163
jmp 0x1001e103
mov ecx, dword [ebp - 0x434]
lea ecx, [ecx - 0x10]
call fcn.10002163
lea eax, [ebp - 0x438]
mov dword [ebp - 0x43c], 1
push eax
push ebx
lea eax, [ebp - 0x43c]
mov dword [ebp - 0x438], 0x104
push eax
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1001e103
push str.ProgramFiles
push esi
call edi
test eax, eax
jne 0x1001e260
push dword [ebp - 0x438]
push ebx
push str.ProgramFilesDir
push str.SoftwareMicrosoftWindowsCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.1001e2ca
add esp, 0x14
jmp 0x1001e095
push str.CommonFiles
push esi
call edi
test eax, eax
jne 0x1001e093
push dword [ebp - 0x438]
push ebx
push str.CommonFilesDir
jmp 0x1001e249