Function at 0x4cf260
Capabilities:
Check if file exists
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x570bc1
mov eax, dword fs:[0]
push eax
sub esp, 0x2b4
mov eax, dword [0x5b3124]
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 eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x29c], eax
mov eax, dword [ebp + 0x10]
push 0
mov dword [ebp - 0x2a0], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x2b8], eax
lea eax, [ebp - 0x2b0]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsScreenRecorder.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x2b0], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4cf6c1
mov ecx, edi
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cf2f0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push edi
push 1
push 0
push str.Path
push dword [ebp - 0x2b0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
jl 0x4cf6b1
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.0050d580
add esp, 0xc
lea eax, [ebp - 0x298]
push dword [ebp - 0x29c]
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x298]
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cf360
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x298]
push eax
push 1
push 0
push 0x587dac
push dword [ebp - 0x2b0]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
jl 0x4cf6b1
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.0050d580
add esp, 0xc
lea eax, [ebp - 0x298]
push dword [ebp - 0x2a0]
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x298]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cf3d4
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x298]
push eax
push 1
push 0
push str.Launcher
push dword [ebp - 0x2b0]
call edi
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
jl 0x4cf6b1
push 0x80
lea eax, [ebp - 0x90]
push 0
push eax
call fcn.0050d580
add esp, 0xc
push 0
call fcn.0052c7b7
add esp, 4
push edx
push eax
lea eax, [ebp - 0x90]
push 0x5917d4
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
mov dword [ebp - 0x2a4], 0
lea eax, [ebp - 0x2a4]
push eax
call fcn.004cfd10
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x2a4]
cmp dword [eax - 0xc], 0
je 0x4cf56a
lea eax, [ebp - 0x2a0]
mov dword [ebp - 0x2a0], 0
push eax
call fcn.00434080
add esp, 4
mov byte [ebp - 4], 1
push dword [ebp - 0x2a0]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4cf4e8
push ecx
mov ecx, esp
mov dword [ebp - 0x2bc], esp
push str.InstallTime
call fcn.00404c40
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x2a0]
push ecx
add eax, 0xfffffff0
mov esi, esp
push eax
mov dword [ebp - 0x2b4], esi
call fcn.00405420
add esp, 4
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 1
call fcn.004d0030
push dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0x2b0]
mov edx, str.Date
call fcn.004cf9b0
add esp, 4
push dword [ebp - 0x2a4]
call fcn.0052c445
cdq
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x29c]
push eax
mov dword [ebp - 0x2a8], edx
mov dword [ebp - 0x29c], 0
call fcn.00418db0
push dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x2b0]
mov edx, str.InstallDate
call fcn.004cf9b0
add esp, 4
lea ecx, [ebp - 0x29c]
mov esi, eax
call fcn.00404bc0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2a0]
jmp 0x4cf5f4
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cf573
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x90]
push eax
push 1
push 0
push str.Date
push dword [ebp - 0x2b0]
call edi
lea eax, [ebp - 0x90]
push eax
call fcn.0052c445
cdq
lea ecx, [ebp - 0x2ac]
mov dword [ebp - 0x2ac], eax
lea eax, [ebp - 0x29c]
push eax
mov dword [ebp - 0x2a8], edx
mov dword [ebp - 0x29c], 0
call fcn.00418db0
push dword [ebp - 0x29c]
mov ecx, dword [ebp - 0x2b0]
mov edx, str.InstallDate
call fcn.004cf9b0
add esp, 4
lea ecx, [ebp - 0x29c]
mov esi, eax
call fcn.00404bc0
call fcn.004d00f0
test eax, eax
je 0x4cf665
test ebx, ebx
je 0x4cf639
mov ecx, ebx
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cf610
sub ecx, edx
sar ecx, 1
je 0x4cf639
mov ecx, dword [ebp - 0x2b0]
mov edx, str.ActDate
push ebx
call fcn.004cf9b0
mov ecx, esp
mov esi, eax
push ebx
jmp 0x4cf65b
mov ecx, dword [ebp - 0x2b0]
lea eax, [ebp - 0x90]
push eax
mov edx, str.ActDate
call fcn.004cf9b0
mov esi, eax
mov ecx, esp
lea eax, [ebp - 0x90]
push eax
call fcn.00404c40
call fcn.004d01b0
lea ecx, [ebp - 0x2a4]
call fcn.00404bc0
test esi, esi
js 0x4cf6b1
mov esi, dword [ebp - 0x2b8]
mov ecx, esi
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4cf680
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push 0x58a52c
push dword [ebp - 0x2b0]
call edi
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
push dword [ebp - 0x2b0]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4cf6c6
mov eax, 0x80004005
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.0050975e
mov esp, ebp
pop ebp
ret 0x18