Function at 0x10141ed
Capabilities:
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x238
mov eax, dword [0x1046080]
push ebx
push esi
xor ebx, ebx
push edi
mov dword [ebp - 4], eax
mov dword [ebp - 0x214], ebx
mov dword [ebp - 0x218], ebx
call dword [sym.imp.SHELL32.dll_IsUserAnAdmin]
test eax, eax
mov esi, dword [sym.imp.SHLWAPI.dll_IsOS]
je 0x1014276
push 0x17
call esi
test eax, eax
je 0x101f69b
lea eax, [ebp - 0x238]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x234]
push eax
push 0x1013df4
push 0x1013d90
mov edi, 0x80000002
push edi
mov dword [ebp - 0x234], ebx
mov dword [ebp - 0x21c], ebx
mov dword [ebp - 0x238], 4
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
jne 0x101f6b0
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
call fcn.01013f46
test al, al
jne 0x101f77c
mov edi, dword [ebp - 0x218]
push 0x1f
call esi
test eax, eax
jne 0x101435a
push 0x20
call esi
test eax, eax
jne 0x101435a
push 0x17
call esi
test eax, eax
je 0x101f7bd
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x101436c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x230]
push eax
push ebx
push ebx
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.01014389
test eax, eax
jl 0x101431d
push 0xffffffffffffffff
push dword [ebp - 0x230]
call dword [sym.imp.SHLWAPI.dll_Ordinal_194]
push dword [ebp - 0x230]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x22c]
call esi
call fcn.010138a3
test eax, eax
jne 0x1014340
push ebx
push ebx
push 0x10137f8
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
push eax
push dword [0x1046090]
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
pop ebx
call fcn.01001b2f
leave
ret
test eax, eax
jne 0x101422d
jmp 0x1014276
xor edi, edi
jmp 0x10142af
test eax, eax
je 0x101431d
jmp 0x10142bb
push 0x15
call esi
test eax, eax
jne 0x101422d
push 0x16
call esi
jmp 0x101434d
push 0x104
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x101f81c
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x230]
push eax
push ebx
push ebx
push 0x100e040
lea eax, [ebp - 0x20c]
push eax
call fcn.01014389
test eax, eax
jl 0x101f71b
push 0xffffffffffffffff
push dword [ebp - 0x230]
call dword [sym.imp.SHLWAPI.dll_Ordinal_194]
push dword [ebp - 0x230]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push dword [ebp - 0x22c]
call edi
jmp 0x1014276
lea eax, [ebp - 0x210]
push eax
push 0x1013d90
push edi
mov dword [ebp - 0x210], ebx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
jne 0x1014276
cmp dword [ebp - 0x210], ebx
je 0x1014276
push 4
lea eax, [ebp - 0x220]
push eax
push 4
push ebx
push 0x1013df4
push dword [ebp - 0x210]
mov dword [ebp - 0x220], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x1014276
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiW]
push 0x1026330
push dword [ebp - 0x214]
call edi
test eax, eax
jne 0x101f79d
mov edi, 0x101f804
jmp 0x1014297
push 0x102631c
push dword [ebp - 0x214]
call edi
mov edi, eax
neg edi
sbb edi, edi
not edi
and edi, 0x101f7ec
jmp 0x1014297
push 0x15
call esi
test eax, eax
jne 0x10142bb
push 0x16
call esi
test eax, eax
jne 0x10142bb
push 0x20
call esi
test eax, eax
jne 0x10142bb
push 0x1f
call esi
jmp 0x1014361