Function at 0x45b1fc
Capabilities:
Check if file exists
Get common file path
Persist via run registry key
Set registry value

Disassembly:
push 0x2dc
mov eax, 0x60e374
call fcn.0042d958
mov ebx, ecx
mov dword [ebp - 0x2d0], ebx
mov esi, dword [ebp + 8]
call fcn.00459f1e
xor edi, edi
cmp dword [esi + 0x10], edi
je 0x45b61d
xor eax, eax
mov dword [ebp - 0x2a0], edi
push str.Uninstall
lea ecx, [ebp - 0x2b0]
mov dword [ebp - 0x29c], 7
mov word [ebp - 0x2b0], ax
call fcn.00414483
lea eax, [ebp - 0x2cc]
mov dword [ebp - 4], edi
push eax
push edi
push edi
push 0x674ba4
mov dword [ebp - 0x2cc], edi
call sub.SHELL32.dll_SHGetKnownFolderPath
mov edi, eax
test edi, edi
js 0x45b37b
push dword [ebp - 0x2cc]
lea ecx, [ebp - 0x2e8]
call fcn.00414308
push 0x6392b4
push eax
lea eax, [ebp - 0x2c8]
mov byte [ebp - 4], 1
push eax
call fcn.004146e2
lea ecx, [ebp - 0x2e8]
mov byte [ebp - 4], 3
call fcn.00415bf1
xor ebx, ebx
lea ecx, [ebp - 0x280]
push esi
mov dword [ebp - 0x270], ebx
mov dword [ebp - 0x26c], ebx
call fcn.004144d5
push ebx
push dword [ebp - 0x2cc]
lea ecx, [ebp - 0x280]
mov byte [ebp - 4], 4
call fcn.0045c262
push dword [ebp - 0x2cc]
mov ebx, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp ebx, 0xffffffff
je 0x45b307
mov ecx, dword [ebp - 0x2b8]
push 0x677a8c
inc ecx
push ecx
push ebx
lea ecx, [ebp - 0x280]
call 0x45c303
cmp dword [ebp - 0x26c], 8
lea eax, [ebp - 0x280]
push dword [ebp - 0x270]
cmovae eax, dword [ebp - 0x280]
lea ecx, [ebp - 0x2b0]
push eax
call fcn.0041461f
mov eax, dword [ebp - 0x26c]
cmp eax, 8
jb 0x45b34b
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x280]
call fcn.004157b4
and dword [ebp - 0x270], 0
lea ecx, [ebp - 0x2c8]
xor eax, eax
mov dword [ebp - 0x26c], 7
mov word [ebp - 0x280], ax
call fcn.00415bf1
mov ebx, dword [ebp - 0x2d0]
jmp 0x45b43f
push 0x4e
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.0042e9f0
xor eax, eax
lea edi, [ebp - 0x278]
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x278]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov edi, eax
test edi, edi
js 0x45b430
movzx eax, byte [ebp - 0x269]
push eax
movzx eax, byte [ebp - 0x26a]
push eax
movzx eax, byte [ebp - 0x26b]
push eax
movzx eax, byte [ebp - 0x26c]
push eax
movzx eax, byte [ebp - 0x26d]
push eax
movzx eax, byte [ebp - 0x26e]
push eax
movzx eax, byte [ebp - 0x26f]
push eax
movzx eax, byte [ebp - 0x270]
push eax
movzx eax, word [ebp - 0x272]
push eax
movzx eax, word [ebp - 0x274]
push eax
push dword [ebp - 0x278]
lea eax, [ebp - 0x60]
push str._08X_04X_04X_02X_02X_02X_02X_02X_02X_02X_02X
push 0x27
push eax
call fcn.00415b29
add esp, 0x38
test eax, eax
jns 0x45b430
push eax
push str.ScheduleDirectoryRemovalOnNextLogon_StringCchPrintf___failed._hr0x_08X
push 0x638f14
push 1
call fcn.004531b7
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x2b0]
call fcn.004144ac
and dword [ebp - 0x288], 0
xor eax, eax
mov dword [ebp - 0x284], 7
mov word [ebp - 0x298], ax
mov byte [ebp - 4], 5
test edi, edi
js 0x45b5db
push 0x208
xor edi, edi
lea eax, [ebp - 0x268]
push edi
push eax
call fcn.0042e9f0
add esp, 0xc
lea eax, [ebp - 0x268]
push eax
push edi
push edi
push 0x25
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
js 0x45b5bd
push 0
push str.cmd.exe
push 0x104
lea eax, [ebp - 0x268]
push eax
call fcn.0041b4a4
mov edi, eax
test edi, edi
js 0x45b5bd
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x298]
call fcn.00414483
push str.__q__c_rmdir__s__q__
lea ecx, [ebp - 0x298]
call fcn.004144ac
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45b4e6
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x298]
call fcn.004144ac
push 0x679da8
lea ecx, [ebp - 0x298]
call fcn.004144ac
cmp dword [esi + 0x18], 0
je 0x45b5bd
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45b516
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45b5bd
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45b52f
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x45b553
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x45b544
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x45b61d
mov eax, dword [ebp - 0x288]
lea ecx, [ebp - 0x298]
cmp dword [ebp - 0x284], 8
cmovae ecx, dword [ebp - 0x298]
cmp dword [ebp - 0x29c], 8
lea edx, [eax + eax]
push edx
push ecx
push 1
lea eax, [ebp - 0x2b0]
cmovae eax, dword [ebp - 0x2b0]
push eax
push str.SOFTWAREMicrosoftWindowsCurrentVersionRunOnce
push dword [esi + 0x18]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x45b5ad
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x45b5bd
cmp dword [esi + 0x14], 8
jb 0x45b5b5
mov esi, dword [esi]
push esi
mov ecx, ebx
call fcn.00457d4a
mov eax, dword [ebp - 0x284]
cmp eax, 8
jb 0x45b5db
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x298]
call fcn.004157b4
and dword [ebp - 0x288], 0
xor eax, eax
mov word [ebp - 0x298], ax
mov eax, dword [ebp - 0x29c]
mov dword [ebp - 0x284], 7
cmp eax, 8
jb 0x45b613
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x2b0]
call fcn.004157b4
mov eax, edi
call fcn.0042d907
ret 4
push 0x80004005
call fcn.00415bd1
int3