Function at 0x100729e0
Capabilities:
Create process on windows
Get common file path
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x4bc
mov eax, dword [0x1013c014]
xor eax, esp
mov dword [esp + 0x4b8], eax
push ebx
push esi
push edi
push 0x34
lea eax, [esp + 0x38]
mov dword [esp + 0x30], 0x3c
push 0
push eax
mov esi, ecx
mov dword [esp + 0x3c], 0x400040d
call fcn.100d6eb0
add esp, 0xc
push 0x1014be70
call dword [sym.imp.KERNEL32.dll_AcquireSRWLockShared]
mov ecx, dword [esi + 0x34]
mov esi, ecx
lea edx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10072a33
sub esi, edx
mov ebx, 0xdfff
sar esi, 1
mov edx, 0xdc00
cmp esi, 0x103
jle 0x10072a5b
mov esi, 0x103
jmp 0x10072a5f
test esi, esi
jle 0x10072a6e
movzx eax, word [ecx + esi*2]
cmp ax, dx
jb 0x10072a6e
cmp ax, bx
ja 0x10072a6e
dec esi
add esi, esi
lea eax, [esp + 0xb0]
push esi
push ecx
push eax
call fcn.100d7080
add esp, 0xc
xor eax, eax
mov word [esp + esi + 0xb0], ax
push 0x1014be70
call dword [sym.imp.KERNEL32.dll_ReleaseSRWLockShared]
lea eax, [esp + 0xb0]
mov dword [esp + 0x48], 1
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x2c]
push eax
mov dword [esp + 0x58], str.Launcher.ImmersiveApplication
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test byte [0x1014b4cc], 4
je 0x10072ae7
mov esi, dword [esp + 0x4c]
test eax, eax
je 0x10072ad2
xor eax, eax
jmp 0x10072ad8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
push eax
push str.ExecuteMetroLink:_0x_08X_0x_p
call fcn.1003bea0
add esp, 0xc
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerAdvanced
push SysReAllocString
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.10013210
mov esi, dword [esp + 0x1c]
test eax, eax
jne 0x10072d9e
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 4
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x18]
push eax
push 0
push str.Start_TrackProgs
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10072b5d
cmp dword [esp + 0x10], 4
jne 0x10072b5d
cmp dword [esp + 0x18], eax
je 0x10072d9e
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x10072b6a
push esi
call edi
push 0x2001f
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerUserAssistF4E57C4B_2036_45F0_A9AB_443BCFE33D9FCount
push SysReAllocString
lea ecx, [esp + 0x28]
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
call fcn.10013210
mov ebx, dword [esp + 0x1c]
test eax, eax
jne 0x10072d82
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
xor edi, edi
mov ebx, 0x10158c58
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push 0
push 0
push ebx
call dword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
mov eax, dword [esp + 0x10]
js 0x10072c0f
mov esi, eax
lea edx, [esi + 2]
nop dword [eax + eax]
mov cx, word [esi]
add esi, 2
test cx, cx
jne 0x10072be0
sub esi, edx
sar esi, 1
push esi
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.100de265
add esp, 0xc
test eax, eax
je 0x10072c24
mov eax, dword [esp + 0x10]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
test eax, eax
je 0x10072c16
push eax
call esi
inc edi
add ebx, 0x10
cmp edi, 9
jb 0x10072bb3
jmp 0x10072cfc
lea eax, [esp + 0x14]
shl edi, 4
push eax
add edi, 0x10158c58
mov dword [esp + 0x18], 0
push edi
call dword [sym.imp.ole32.dll_StringFromCLSID]
lea eax, [esp + 0xb0]
lea eax, [eax + esi*2]
push eax
push dword [esp + 0x18]
lea eax, [esp + 0x2c0]
push 0x1010f314
push 0x104
push eax
call fcn.100a4830
lea esi, [esp + 0x2cc]
add esp, 0x14
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x10072c74
sub esi, ecx
sar esi, 1
cmp esi, 0x103
jle 0x10072c92
mov esi, 0x103
jmp 0x10072c96
test esi, esi
jle 0x10072cb3
movzx eax, word [esp + esi*2 + 0x2b8]
mov ecx, 0xdc00
cmp ax, cx
jb 0x10072cb3
mov ecx, 0xdfff
cmp ax, cx
ja 0x10072cb3
dec esi
add esi, esi
lea eax, [esp + 0x2b8]
push esi
push eax
lea eax, [esp + 0xb8]
push eax
call fcn.100d7080
xor eax, eax
add esp, 0xc
mov word [esp + esi + 0xb0], ax
mov eax, dword [esp + 0x14]
mov esi, dword [sym.imp.ole32.dll_CoTaskMemFree]
test eax, eax
je 0x10072ce9
push eax
call esi
mov eax, dword [esp + 0x10]
mov dword [esp + 0x14], 0
test eax, eax
je 0x10072cfc
push eax
call esi
lea ecx, [esp + 0xb0]
call fcn.1002c7e0
mov ebx, dword [esp + 0x1c]
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x6c]
mov dword [esp + 0x2c], 0x48
push eax
lea eax, [esp + 0x20]
push eax
push 0
lea eax, [esp + 0xc0]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10072d3f
cmp dword [esp + 0x18], 3
je 0x10072d50
push 0x48
lea eax, [esp + 0x6c]
push 0
push eax
call fcn.100d6eb0
add esp, 0xc
lea eax, [esp + 0xa4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
inc dword [esp + 0x6c]
lea eax, [esp + 0x68]
push 0x48
push eax
push 3
push 0
lea eax, [esp + 0xc0]
push eax
push ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test ebx, ebx
je 0x10072da9
push ebx
call edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x4b8]
xor ecx, esp
call fcn.100d4906
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x10072da9
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x4c4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100d4906
mov esp, ebp
pop ebp
ret