Function at 0x49c2d1
Capabilities:
Delete file
Get common file path
Set registry value

Disassembly:
push 0xc6c
mov eax, 0x4e7b0b
call fcn.004b5257
xor eax, eax
mov edi, 0x206
push edi
mov word [ebp - 0x218], ax
xor ebx, ebx
lea eax, [ebp - 0x216]
push ebx
push eax
mov dword [ebp - 0xc48], ecx
call fcn.004b4620
mov esi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 1
push 0x17
lea eax, [ebp - 0x218]
push eax
push ebx
call esi
xor eax, eax
push edi
mov word [ebp - 0x420], ax
lea eax, [ebp - 0x41e]
push ebx
push eax
call fcn.004b4620
add esp, 0xc
push 1
push 2
lea eax, [ebp - 0x420]
push eax
push ebx
call esi
xor eax, eax
push edi
mov word [ebp - 0xc40], ax
lea eax, [ebp - 0xc3e]
push ebx
push eax
call fcn.004b4620
add esp, 0xc
push 1
push 0x19
lea eax, [ebp - 0xc40]
push eax
push ebx
call esi
mov esi, dword [ebp - 0xc48]
sub esi, 0xffffff80
mov eax, dword [esi]
lea ecx, [ebp - 0x218]
push ecx
push eax
mov dword [ebp - 0xc5c], esi
call fcn.0049c086
mov esi, dword [esi]
lea eax, [ebp - 0x420]
push eax
push esi
call fcn.0049c086
add esp, 0x10
push str.lnkpath
lea eax, [ebp - 0xc44]
mov esi, 0x53fda0
push eax
mov ecx, esi
call fcn.0047d67a
mov dword [ebp - 4], ebx
push dword [eax]
mov ebx, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x218]
push eax
push eax
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc44]
call fcn.0040d610
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x49c3f7
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
call fcn.0043a817
test al, al
je 0x49c455
push str.lnkpath
lea eax, [ebp - 0xc44]
push eax
mov ecx, esi
call fcn.0047d67a
mov dword [ebp - 4], 1
push dword [eax]
lea eax, [ebp - 0x420]
push eax
push eax
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc44]
call fcn.0040d610
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x49c455
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
xor eax, eax
push edi
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.004b4620
mov eax, dword [ebp - 0xc5c]
mov eax, dword [eax]
add esp, 0xc
push 0x501294
push eax
lea eax, [ebp - 0x628]
push eax
call ebx
xor eax, eax
push edi
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call fcn.004b4620
add esp, 0xc
push str.lnk1
lea eax, [ebp - 0xc44]
push eax
mov ecx, esi
call fcn.0047d67a
mov dword [ebp - 4], 2
push dword [eax]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc44]
call fcn.0040d610
call fcn.0043a79b
test al, al
lea eax, [ebp - 0x830]
jne 0x49c503
mov ecx, dword [ebp - 0xc48]
push 0
push 0
push eax
lea eax, [ebp - 0x628]
push eax
call fcn.00494972
jmp 0x49c50a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.lnk1
lea ecx, [ebp - 0xc78]
call fcn.0042b420
mov dword [ebp - 4], 3
lea eax, [ebp - 0xc78]
push eax
call fcn.00498245
pop ecx
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0xc78]
call fcn.0040d590
lea eax, [ebp - 0xc40]
push eax
call fcn.0049bfed
xor eax, eax
push edi
push eax
mov word [ebp - 0xa38], ax
lea eax, [ebp - 0xa36]
push eax
call fcn.004b4620
mov eax, dword [ebp - 0xc5c]
mov eax, dword [eax]
add esp, 0x10
push 0x501294
push eax
lea eax, [ebp - 0xa38]
push eax
call ebx
xor eax, eax
push edi
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.004b4620
add esp, 0xc
push str.lnk1
lea eax, [ebp - 0xc44]
push eax
mov ecx, esi
call fcn.0047d67a
mov dword [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0xc40]
push eax
lea eax, [ebp - 0x628]
push eax
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc44]
call fcn.0040d610
mov ecx, dword [ebp - 0xc48]
push 0
push 0
lea eax, [ebp - 0x628]
push eax
lea eax, [ebp - 0xa38]
push eax
call fcn.00494972
push 0x50ea0c
lea ecx, [ebp - 0xc44]
call fcn.0044bc85
mov dword [ebp - 4], 5
push 0x501294
lea ecx, [ebp - 0xc54]
call fcn.0044bc85
mov byte [ebp - 4], 6
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc58]
call fcn.0044bc85
mov byte [ebp - 4], 7
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xc50]
call fcn.0044bc85
mov byte [ebp - 4], 8
push str.lnk1
lea eax, [ebp - 0xc4c]
push eax
mov ecx, esi
call fcn.0047d67a
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xc44]
push ecx
lea ecx, [ebp - 0xc54]
push ecx
mov ecx, dword [ebp - 0xc48]
push eax
lea eax, [ebp - 0xc58]
push eax
lea eax, [ebp - 0xc50]
push eax
call fcn.00494b51
mov byte [ebp - 4], 8
lea ecx, [ebp - 0xc4c]
call fcn.0040d610
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc50]
call fcn.0040d610
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc58]
call fcn.0040d610
mov byte [ebp - 4], 5
lea ecx, [ebp - 0xc54]
call fcn.0040d610
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc44]
call fcn.0040d610
push 0x50ea0c
lea ecx, [ebp - 0xc50]
call fcn.0044bc85
mov dword [ebp - 4], 0xa
push str.ipc360boxmain.exe
lea ecx, [ebp - 0xc58]
call fcn.0044bc85
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc54]
call fcn.0044bc85
mov byte [ebp - 4], 0xc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xc44]
call fcn.0044bc85
mov byte [ebp - 4], 0xd
push str.lnk3
lea eax, [ebp - 0xc4c]
push eax
mov ecx, esi
call fcn.0047d67a
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0xc50]
push ecx
lea ecx, [ebp - 0xc58]
push ecx
mov ecx, dword [ebp - 0xc48]
push eax
lea eax, [ebp - 0xc54]
push eax
lea eax, [ebp - 0xc44]
push eax
call fcn.00494b51
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0xc4c]
call fcn.0040d610
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0xc44]
call fcn.0040d610
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0xc54]
call fcn.0040d610
mov byte [ebp - 4], 0xa
lea ecx, [ebp - 0xc58]
call fcn.0040d610
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc50]
call fcn.0040d610
push str._leakfix
lea ecx, [ebp - 0xc50]
call fcn.0044bc85
mov dword [ebp - 4], 0xf
push 0x501294
lea ecx, [ebp - 0xc58]
call fcn.0044bc85
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc54]
call fcn.0044bc85
mov byte [ebp - 4], 0x11
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xc44]
call fcn.0044bc85
mov byte [ebp - 4], 0x12
push str.lnk4
lea eax, [ebp - 0xc4c]
push eax
mov ecx, esi
call fcn.0047d67a
mov byte [ebp - 4], 0x13
lea ecx, [ebp - 0xc50]
push ecx
lea ecx, [ebp - 0xc58]
push ecx
mov ecx, dword [ebp - 0xc48]
push eax
lea eax, [ebp - 0xc54]
push eax
lea eax, [ebp - 0xc44]
push eax
call fcn.00494b51
mov byte [ebp - 4], 0x12
lea ecx, [ebp - 0xc4c]
call fcn.0040d610
mov byte [ebp - 4], 0x11
lea ecx, [ebp - 0xc44]
call fcn.0040d610
mov byte [ebp - 4], 0x10
lea ecx, [ebp - 0xc54]
call fcn.0040d610
mov byte [ebp - 4], 0xf
lea ecx, [ebp - 0xc58]
call fcn.0040d610
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc50]
call fcn.0040d610
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0xc54]
call fcn.0044bc85
mov dword [ebp - 4], 0x14
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0xc44]
call fcn.0044bc85
mov byte [ebp - 4], 0x15
lea eax, [ebp - 0xc54]
push eax
mov ecx, dword [ebp - 0xc48]
lea eax, [ebp - 0xc44]
push eax
call fcn.00499277
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0xc44]
call fcn.0040d610
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc54]
call fcn.0040d610
lea eax, [ebp - 0xc40]
push eax
lea ecx, [ebp - 0xc44]
call fcn.0044bc85
mov dword [ebp - 4], 0x16
mov ecx, dword [ebp - 0xc48]
lea eax, [ebp - 0xc44]
push eax
call fcn.00499330
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc44]
call fcn.0040d610
xor eax, eax
push edi
push eax
mov word [ebp - 0x628], ax
lea eax, [ebp - 0x626]
push eax
call fcn.004b4620
mov eax, dword [ebp - 0xc5c]
mov eax, dword [eax]
add esp, 0xc
push str.Uninstall.exe
push eax
lea eax, [ebp - 0x628]
push eax
call ebx
xor eax, eax
push edi
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call fcn.004b4620
add esp, 0xc
push str.lnk2
lea eax, [ebp - 0xc4c]
push eax
mov ecx, esi
call fcn.0047d67a
mov dword [ebp - 4], 0x17
push dword [eax]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x830]
push eax
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4c]
call fcn.0040d610
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0043a817
test al, al
je 0x49ca17
push str.lnk2
lea eax, [ebp - 0xc4c]
push eax
mov ecx, esi
call fcn.0047d67a
mov dword [ebp - 4], 0x18
push dword [eax]
lea eax, [ebp - 0x420]
push eax
lea eax, [ebp - 0x830]
push eax
call ebx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc4c]
call fcn.0040d610
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [0x53f2b4]
neg eax
sbb eax, eax
xor ecx, ecx
push ecx
lea edx, [ebp - 0xc48]
push edx
push ecx
and eax, 0x200
or eax, 0x20006
push eax
push ecx
push ecx
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360TotalSecurity
push 0x80000002
mov dword [ebp - 0xc48], ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x49cc23
push edi
push eax
mov word [ebp - 0xa38], ax
lea eax, [ebp - 0xa36]
push eax
call fcn.004b4620
mov eax, dword [ebp - 0xc5c]
mov eax, dword [eax]
add esp, 0xc
push 0x501294
push eax
lea eax, [ebp - 0xa38]
push eax
call ebx
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebx, str.Professional
push ebx
call edi
add eax, eax
push eax
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.Edition
push dword [ebp - 0xc48]
call ebx
lea eax, [ebp - 0xa38]
push eax
call edi
add eax, eax
push eax
lea eax, [ebp - 0xa38]
push eax
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0xc48]
call ebx
lea eax, [ebp - 0x628]
push eax
call edi
add eax, eax
push eax
lea eax, [ebp - 0x628]
push eax
push 1
push 0
push str.UninstallString
push dword [ebp - 0xc48]
call ebx
push 0x4fdbac
lea eax, [ebp - 0xc50]
push eax
mov ecx, esi
call fcn.0047d67a
mov dword [ebp - 4], 0x19
mov eax, dword [ebp - 0xc50]
push eax
mov dword [ebp - 0xc4c], eax
call edi
add eax, eax
push eax
push dword [ebp - 0xc4c]
push 1
push 0
push str.DisplayName
push dword [ebp - 0xc48]
call ebx
push dword [ebp - 0xc5c]
lea ecx, [ebp - 0xc50]
call fcn.004453ce
mov eax, dword [ebp - 0xc50]
push eax
mov dword [ebp - 0xc4c], eax
call edi
add eax, eax
push eax
push dword [ebp - 0xc4c]
push 1
push 0
push str.InstallLocation
push dword [ebp - 0xc48]
call ebx
push str.publisher
lea eax, [ebp - 0xc4c]
push eax
mov ecx, esi
call fcn.0047d67a
mov byte [ebp - 4], 0x1a
push eax
lea ecx, [ebp - 0xc50]
call fcn.004453ce
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0xc4c]
call fcn.0040d610
mov esi, dword [ebp - 0xc50]
push esi
call edi
add eax, eax
push eax
push esi
push 1
xor esi, esi
push esi
push str.Publisher
push dword [ebp - 0xc48]
call ebx
mov eax, dword [0x53fb2c]
mov ecx, dword [eax - 0xc]
cmp ecx, esi
je 0x49cbe5
add ecx, ecx
push ecx
push eax
push 1
push esi
push str.DisplayVersion
push dword [ebp - 0xc48]
call ebx
push 4
lea eax, [ebp - 0xc44]
push eax
push 4
push esi
push str.EstimatedSize
push dword [ebp - 0xc48]
mov dword [ebp - 0xc44], 0x19000
call ebx
push dword [ebp - 0xc48]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc50]
call fcn.0040d610
xor al, al
call fcn.004b52da
ret