Function at 0x4079d0
Capabilities:
Delete file
Delete registry key
Delete registry value
Set file attributes

Disassembly:
sub esp, 0x148
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push esi
lea eax, [esp + 8]
push edi
push eax
push 0x20006
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall
mov esi, ecx
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
call ebp
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
test eax, eax
jne 0x407a24
mov edx, dword [esp + 0xc]
lea ecx, [esi + 0x23c]
push ecx
push edx
call edi
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
lea edx, [esi + 0xca0]
push ecx
push 0x20006
push 0
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x407a5b
mov ecx, dword [esp + 0xc]
lea eax, [esi + 0x23c]
push eax
push ecx
call edi
mov edx, dword [esp + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, 0xf
xor eax, eax
lea edi, [esp + 0x11]
mov byte [esp + 0x10], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push ebx
lea ebx, [esi + 0x23c]
stosb byte es:[edi], al
push ebx
lea eax, [esp + 0x18]
push str._sdir
push eax
call fcn.00429590
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0x20006
push 0
push str.SYSTEMCurrentControlSetControlSession_ManagerEnvironment
push reloc.OLEAUT32.dll_SysReAllocString
call ebp
test eax, eax
jne 0x407acb
mov edx, dword [esp + 0x10]
mov edi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
push ebx
push edx
call edi
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push eax
push ecx
call edi
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push 0x4377d4
call fcn.0042a9c0
add esp, 8
test eax, eax
jne 0x407af3
push eax
push 0x434408
call fcn.00428fb0
add esp, 8
push ebx
push 0x43762c
call fcn.0042a9c0
add esp, 8
test eax, eax
jne 0x407b13
push eax
push 0x434418
call fcn.00428da0
add esp, 8
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x43d594
call ebp
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x55]
mov byte [esp + 0x54], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov al, byte [0x43bc41]
test al, al
jne 0x407b54
cmp dword [0x43d848], 6
je 0x407b54
push 0x43bc58
call ebp
add esi, 0x4b6
push 0x437648
push esi
lea eax, [esp + 0x5c]
push str._s_s
push eax
call fcn.00429590
add esp, 0x10
lea ecx, [esp + 0x54]
push ecx
call ebp
push str.CompsVer.inf
push esi
lea edx, [esp + 0x5c]
push str._s_s
push edx
call fcn.00429590
add esp, 0x10
lea eax, [esp + 0x54]
push eax
call ebp
push 0x437648
push str.Update
push esi
lea ecx, [esp + 0x60]
push str._s_s_s
push ecx
call fcn.00429590
add esp, 0x14
lea edx, [esp + 0x54]
push edx
call ebp
push ebx
push 0x4377d4
call fcn.0042a9c0
add esp, 8
test eax, eax
pop ebx
jne 0x407bfc
movsx eax, byte [esi]
push eax
lea ecx, [esp + 0x54]
push str._c:_rising.ini
push ecx
call fcn.00429590
add esp, 0xc
lea edx, [esp + 0x50]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [esp + 0x50]
push eax
call ebp
movsx ecx, byte [esi]
push ecx
lea edx, [esp + 0x54]
push str._c:_rising.log
push edx
call fcn.00429590
add esp, 0xc
lea eax, [esp + 0x50]
push eax
call ebp
pop edi
pop esi
pop ebp
add esp, 0x148
ret