Function at 0x4509a0
Capabilities:
Persist via app paths registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x29c
mov eax, dword [0x580124]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
push edi
push 0
mov dword [ebp - 0x298], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x29c], eax
lea eax, [ebp - 0x294]
push eax
push 0
push 0xf003f
push 0
push 0
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionApp_PathsMasterPDF.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x294], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x450bf8
mov ecx, esi
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450a10
mov edi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push str.Path
push dword [ebp - 0x294]
call edi
test eax, eax
je 0x450a65
push dword [ebp - 0x294]
mov esi, 0x80004005
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 0x10
push 0x208
lea eax, [ebp - 0x290]
push 0
push eax
call fcn.004e8ae0
add esp, 0xc
lea eax, [ebp - 0x290]
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
push esi
push eax
call ebx
lea ecx, [ebp - 0x290]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450a95
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x290]
push eax
push 1
push 0
push 0x55f580
push dword [ebp - 0x294]
call edi
test eax, eax
jne 0x450a3f
push 0x208
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.004e8ae0
add esp, 0xc
lea eax, [ebp - 0x290]
push dword [ebp - 0x298]
push esi
push eax
call ebx
lea ecx, [ebp - 0x290]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450af6
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x290]
push eax
push 1
push 0
push str.Launcher
push dword [ebp - 0x294]
call edi
test eax, eax
jne 0x450a3f
mov esi, dword [ebp - 0x29c]
mov ecx, esi
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450b34
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
push esi
push 1
push 0
push 0x5632e8
push dword [ebp - 0x294]
call edi
test eax, eax
jne 0x450a3f
push 0x80
push eax
lea eax, [ebp - 0x88]
push eax
call fcn.004e8ae0
push 0
call fcn.00517300
push edx
push eax
lea eax, [ebp - 0x88]
push 0x563474
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0x88]
add esp, 0x20
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x450ba0
sub ecx, edx
sar ecx, 1
lea eax, [ecx + ecx]
push eax
lea eax, [ebp - 0x88]
push eax
push 1
push 0
push str.Date
push dword [ebp - 0x294]
call edi
push dword [ebp - 0x294]
mov esi, eax
neg esi
sbb esi, esi
and esi, 0x80004005
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 0x10
mov ecx, dword [ebp - 4]
mov eax, 0x80004005
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e4c11
mov esp, ebp
pop ebp
ret 0x10