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

Disassembly:
push 0x2e4
mov eax, 0x604d2c
call fcn.004f0658
mov ebx, ecx
mov dword [ebp - 0x2d8], ebx
mov esi, dword [ebp + 8]
call fcn.004468d2
xor edi, edi
cmp dword [esi + 0x10], edi
je 0x447f26
xor eax, eax
mov dword [ebp - 0x2b4], edi
push str.Uninstall
lea ecx, [ebp - 0x2b4]
mov dword [ebp - 0x2a4], edi
mov dword [ebp - 0x2a0], 7
mov word [ebp - 0x2b4], ax
call fcn.0040c8c9
lea eax, [ebp - 0x2d4]
mov dword [ebp - 4], edi
push eax
push edi
push edi
push 0x645f44
mov dword [ebp - 0x2d4], edi
call sub.SHELL32.dll_SHGetKnownFolderPath
mov edi, eax
test edi, edi
js 0x447c13
push dword [ebp - 0x2d4]
xor ebx, ebx
mov dword [ebp - 0x2dc], 7
xor eax, eax
mov dword [ebp - 0x2f0], ebx
lea ecx, [ebp - 0x2f0]
mov dword [ebp - 0x2e0], ebx
mov word [ebp - 0x2f0], ax
call fcn.0040c8c9
push 0x6315c4
lea ecx, [ebp - 0x2f0]
mov byte [ebp - 4], 1
call fcn.0040c565
push eax
lea ecx, [ebp - 0x2cc]
call fcn.0040c76f
mov eax, dword [ebp - 0x2dc]
mov byte [ebp - 4], 3
cmp eax, 8
jb 0x447af1
mov ecx, dword [ebp - 0x2f0]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x2d0], eax
mov dword [ebp - 0x26c], ecx
cmp eax, 0x1000
jb 0x447ae8
lea eax, [ebp - 0x2d0]
push eax
lea eax, [ebp - 0x26c]
push eax
call fcn.00405741
mov eax, dword [ebp - 0x2d0]
mov ecx, dword [ebp - 0x26c]
push eax
push ecx
call fcn.0041b169
pop ecx
pop ecx
xor eax, eax
mov dword [ebp - 0x2e0], ebx
push esi
lea ecx, [ebp - 0x284]
mov dword [ebp - 0x2dc], 7
mov word [ebp - 0x2f0], ax
mov dword [ebp - 0x284], ebx
mov dword [ebp - 0x274], ebx
mov dword [ebp - 0x270], ebx
call fcn.0040ca6e
push ebx
push dword [ebp - 0x2d4]
lea ecx, [ebp - 0x284]
mov byte [ebp - 4], 4
call fcn.0041456d
push dword [ebp - 0x2d4]
mov ebx, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
cmp ebx, 0xffffffff
je 0x447b6a
mov ecx, dword [ebp - 0x2bc]
push 0x6609a0
inc ecx
push ecx
push ebx
lea ecx, [ebp - 0x284]
call 0x449605
cmp dword [ebp - 0x270], 8
lea eax, [ebp - 0x284]
push dword [ebp - 0x274]
cmovae eax, dword [ebp - 0x284]
lea ecx, [ebp - 0x2b4]
push eax
call fcn.0040c504
mov eax, dword [ebp - 0x270]
cmp eax, 8
jb 0x447be3
mov ecx, dword [ebp - 0x284]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x2d0], ecx
cmp eax, 0x1000
jb 0x447bda
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.00405741
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x2d0]
push eax
push ecx
call fcn.0041b169
pop ecx
pop ecx
and dword [ebp - 0x274], 0
lea ecx, [ebp - 0x2cc]
xor eax, eax
mov dword [ebp - 0x270], 7
mov word [ebp - 0x284], ax
call fcn.00405795
mov ebx, dword [ebp - 0x2d8]
jmp 0x447cd7
push 0x4e
lea eax, [ebp - 0x60]
push 0
push eax
call fcn.0041c790
xor eax, eax
lea edi, [ebp - 0x27c]
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 - 0x27c]
push eax
call dword [sym.imp.ole32.dll_CoCreateGuid]
mov edi, eax
test edi, edi
js 0x447cc8
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, byte [ebp - 0x271]
push eax
movzx eax, byte [ebp - 0x272]
push eax
movzx eax, byte [ebp - 0x273]
push eax
movzx eax, byte [ebp - 0x274]
push eax
movzx eax, word [ebp - 0x276]
push eax
movzx eax, word [ebp - 0x278]
push eax
push dword [ebp - 0x27c]
lea eax, [ebp - 0x60]
push str._08X_04X_04X_02X_02X_02X_02X_02X_02X_02X_02X
push 0x27
push eax
call fcn.0043f544
add esp, 0x38
test eax, eax
jns 0x447cc8
push eax
push str.ScheduleDirectoryRemovalOnNextLogon_StringCchPrintf___failed._hr0x_08X
push 0x631208
push 1
call fcn.0043f9c8
add esp, 0x10
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp - 0x2b4]
call fcn.0040c565
and dword [ebp - 0x29c], 0
xor eax, eax
and dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 7
mov word [ebp - 0x29c], ax
mov byte [ebp - 4], 5
test edi, edi
js 0x447eaf
push 0x208
xor edi, edi
lea eax, [ebp - 0x268]
push edi
push eax
call fcn.0041c790
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 0x447e5c
push 0
push str.cmd.exe
push 0x104
lea eax, [ebp - 0x268]
push eax
call fcn.0043e159
mov edi, eax
test edi, edi
js 0x447e5c
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0040c8c9
push str.__q__c_rmdir__s__q__
lea ecx, [ebp - 0x29c]
call fcn.0040c565
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x447d85
mov eax, dword [esi]
push eax
lea ecx, [ebp - 0x29c]
call fcn.0040c565
push 0x6316bc
lea ecx, [ebp - 0x29c]
call fcn.0040c565
cmp dword [esi + 0x18], 0
je 0x447e5c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x447db5
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x447e5c
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x447dce
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x447df2
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x447de3
mov eax, dword [esi]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x447f26
mov eax, dword [ebp - 0x28c]
lea ecx, [ebp - 0x29c]
cmp dword [ebp - 0x288], 8
cmovae ecx, dword [ebp - 0x29c]
cmp dword [ebp - 0x2a0], 8
lea edx, [eax + eax]
push edx
push ecx
push 1
lea eax, [ebp - 0x2b4]
cmovae eax, dword [ebp - 0x2b4]
push eax
push 0x6316c0
push dword [esi + 0x18]
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
test eax, eax
je 0x447e4c
movzx edi, ax
or edi, 0x80070000
test eax, eax
cmovle edi, eax
test edi, edi
js 0x447e5c
cmp dword [esi + 0x14], 8
jb 0x447e54
mov esi, dword [esi]
push esi
mov ecx, ebx
call fcn.00443fc7
mov eax, dword [ebp - 0x288]
cmp eax, 8
jb 0x447eaf
mov ecx, dword [ebp - 0x29c]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x2d0], ecx
cmp eax, 0x1000
jb 0x447ea6
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.00405741
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x2d0]
push eax
push ecx
call fcn.0041b169
pop ecx
pop ecx
and dword [ebp - 0x28c], 0
xor eax, eax
mov word [ebp - 0x29c], ax
mov eax, dword [ebp - 0x2a0]
mov dword [ebp - 0x288], 7
cmp eax, 8
jb 0x447f1c
mov ecx, dword [ebp - 0x2b4]
lea eax, [eax*2 + 2]
mov dword [ebp - 0x26c], eax
mov dword [ebp - 0x2d0], ecx
cmp eax, 0x1000
jb 0x447f13
lea eax, [ebp - 0x26c]
push eax
lea eax, [ebp - 0x2d0]
push eax
call fcn.00405741
mov eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x2d0]
push eax
push ecx
call fcn.0041b169
pop ecx
pop ecx
mov eax, edi
call fcn.004f0607
ret 4
push 0x80004005
call fcn.004056b0
int3