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

Disassembly:
push ebp
lea ebp, [esp - 0xbc8]
sub esp, 0xc48
mov eax, dword [0x4ffeb0]
xor eax, ebp
mov dword [ebp + 0xbc4], eax
push ebx
push esi
push edi
xor eax, eax
mov esi, 0x206
push esi
mov word [ebp + 0x5ac], ax
xor ebx, ebx
lea eax, [ebp + 0x5ae]
push ebx
push eax
mov dword [ebp - 0x74], ecx
call fcn.004a0bd0
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
add esp, 0xc
push 1
push 0x17
lea eax, [ebp + 0x5ac]
push eax
push ebx
call edi
xor eax, eax
push esi
mov word [ebp + 0x3a4], ax
lea eax, [ebp + 0x3a6]
push ebx
push eax
call fcn.004a0bd0
add esp, 0xc
push 1
push 2
lea eax, [ebp + 0x3a4]
push eax
push ebx
call edi
xor eax, eax
push esi
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x6a]
push ebx
push eax
call fcn.004a0bd0
add esp, 0xc
push 1
push 0x19
lea eax, [ebp - 0x6c]
push eax
push ebx
call edi
mov eax, dword [ebp - 0x74]
lea ecx, [ebp + 0x5ac]
add eax, 0x60
push ecx
push dword [eax]
mov dword [ebp - 0x78], eax
call fcn.00490f11
pop ecx
pop ecx
push str.lnkpath
lea eax, [ebp - 0x70]
mov ebx, 0x505c38
push eax
mov ecx, ebx
call fcn.0047a44d
push dword [eax]
mov edi, dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp + 0x5ac]
push eax
push eax
call edi
mov ecx, dword [ebp - 0x70]
add ecx, 0xfffffff0
call fcn.00404d60
lea eax, [ebp + 0x5ac]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x4911ea
lea eax, [ebp + 0x5ac]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
call fcn.004082a0
test al, al
je 0x49123a
push str.lnkpath
lea eax, [ebp - 0x70]
push eax
mov ecx, ebx
call fcn.0047a44d
push dword [eax]
lea eax, [ebp + 0x3a4]
push eax
push eax
call edi
mov ecx, dword [ebp - 0x70]
add ecx, 0xfffffff0
call fcn.00404d60
lea eax, [ebp + 0x3a4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
jne 0x49123a
lea eax, [ebp + 0x3a4]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
xor eax, eax
push esi
push eax
mov word [ebp + 0x7b4], ax
lea eax, [ebp + 0x7b6]
push eax
call fcn.004a0bd0
mov eax, dword [ebp - 0x78]
add esp, 0xc
push str.QHSafeMain.exe
push dword [eax]
lea eax, [ebp + 0x7b4]
push eax
call edi
xor eax, eax
push esi
push eax
mov word [ebp + 0x9bc], ax
lea eax, [ebp + 0x9be]
push eax
call fcn.004a0bd0
add esp, 0xc
push str.lnk1
lea eax, [ebp - 0x70]
push eax
mov ecx, ebx
call fcn.0047a44d
push dword [eax]
lea eax, [ebp + 0x5ac]
push eax
lea eax, [ebp + 0x9bc]
push eax
call edi
mov ecx, dword [ebp - 0x70]
add ecx, 0xfffffff0
call fcn.00404d60
call fcn.004081f0
test al, al
lea eax, [ebp + 0x9bc]
jne 0x4912d3
mov ecx, dword [ebp - 0x74]
push 0
push 0
push eax
lea eax, [ebp + 0x7b4]
push eax
call fcn.0048d364
jmp 0x4912da
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.0048fac6
lea eax, [ebp - 0x6c]
push eax
call fcn.00490d6c
xor eax, eax
push esi
push eax
mov word [ebp + 0x9bc], ax
lea eax, [ebp + 0x9be]
push eax
call fcn.004a0bd0
mov eax, dword [ebp - 0x78]
add esp, 0x10
push str.QHSafeMain.exe
push dword [eax]
lea eax, [ebp + 0x9bc]
push eax
call edi
xor eax, eax
push esi
push eax
mov word [ebp + 0x7b4], ax
lea eax, [ebp + 0x7b6]
push eax
call fcn.004a0bd0
add esp, 0xc
push str.lnk1
lea eax, [ebp - 0x70]
push eax
mov ecx, ebx
call fcn.0047a44d
push dword [eax]
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp + 0x7b4]
push eax
call edi
mov ecx, dword [ebp - 0x70]
add ecx, 0xfffffff0
call fcn.00404d60
mov ecx, dword [ebp - 0x74]
push 0
push 0
lea eax, [ebp + 0x7b4]
push eax
lea eax, [ebp + 0x9bc]
push eax
call fcn.0048d364
xor eax, eax
push esi
push eax
mov word [ebp + 0x19c], ax
lea eax, [ebp + 0x19e]
push eax
call fcn.004a0bd0
mov eax, dword [ebp - 0x78]
add esp, 0xc
push str.Uninstall.exe
push dword [eax]
lea eax, [ebp + 0x19c]
push eax
call edi
xor eax, eax
push esi
push eax
mov word [ebp + 0x9bc], ax
lea eax, [ebp + 0x9be]
push eax
call fcn.004a0bd0
add esp, 0xc
push str.lnk2
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
call fcn.0047a44d
push dword [eax]
lea eax, [ebp + 0x5ac]
push eax
lea eax, [ebp + 0x9bc]
push eax
call edi
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.00404d60
mov ecx, dword [ebp - 0x74]
push 0
push 0
lea eax, [ebp + 0x9bc]
push eax
lea eax, [ebp + 0x19c]
push eax
call fcn.0048d364
call fcn.004082a0
test al, al
je 0x491451
push str.lnk2
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
call fcn.0047a44d
push dword [eax]
lea eax, [ebp + 0x3a4]
push eax
lea eax, [ebp + 0x9bc]
push eax
call edi
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.00404d60
mov ecx, dword [ebp - 0x74]
push 0
push 0
lea eax, [ebp + 0x9bc]
push eax
lea eax, [ebp + 0x19c]
push eax
call fcn.0048d364
mov eax, dword [0x505934]
neg eax
sbb eax, eax
xor ecx, ecx
push ecx
lea edx, [ebp - 0x70]
push edx
push ecx
and eax, 0x200
or eax, 0x20006
push eax
push ecx
push ecx
push ecx
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstall360TotalSecurity
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x70], ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x4915f0
push esi
push eax
mov word [ebp + 0x7b4], ax
lea eax, [ebp + 0x7b6]
push eax
call fcn.004a0bd0
mov eax, dword [ebp - 0x78]
add esp, 0xc
push str.QHSafeMain.exe
push dword [eax]
lea eax, [ebp + 0x7b4]
push eax
call edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, str.Professional
push esi
call edi
add eax, eax
push eax
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push 1
push 0
push str.Edition
push dword [ebp - 0x70]
call esi
lea eax, [ebp + 0x7b4]
push eax
call edi
add eax, eax
push eax
lea eax, [ebp + 0x7b4]
push eax
push 1
push 0
push str.DisplayIcon
push dword [ebp - 0x70]
call esi
lea eax, [ebp + 0x19c]
push eax
call edi
add eax, eax
push eax
lea eax, [ebp + 0x19c]
push eax
push 1
push 0
push str.UninstallString
push dword [ebp - 0x70]
call esi
push 0x4d395c
lea eax, [ebp - 0x74]
push eax
mov ecx, ebx
call fcn.0047a44d
push dword [ebp - 0x74]
call edi
add eax, eax
push eax
push dword [ebp - 0x74]
push 1
push 0
push str.DisplayName
push dword [ebp - 0x70]
call esi
push dword [ebp - 0x78]
lea ecx, [ebp - 0x74]
call fcn.004044f0
push dword [ebp - 0x74]
call edi
add eax, eax
push eax
push dword [ebp - 0x74]
push 1
push 0
push str.InstallLocation
push dword [ebp - 0x70]
call esi
push str.publisher
lea eax, [ebp - 0x7c]
push eax
mov ecx, ebx
call fcn.0047a44d
push eax
lea ecx, [ebp - 0x74]
call fcn.004044f0
mov ecx, dword [ebp - 0x7c]
add ecx, 0xfffffff0
call fcn.00404d60
mov ebx, dword [ebp - 0x74]
push ebx
call edi
add eax, eax
push eax
push ebx
push 1
xor edi, edi
push edi
push str.Publisher
push dword [ebp - 0x70]
call esi
mov eax, dword [0x506338]
mov ecx, dword [eax - 0xc]
cmp ecx, edi
je 0x4915c5
add ecx, ecx
push ecx
push eax
push 1
push edi
push str.DisplayVersion
push dword [ebp - 0x70]
call esi
push 4
lea eax, [ebp - 0x80]
push eax
push 4
push edi
push str.EstimatedSize
push dword [ebp - 0x70]
mov dword [ebp - 0x80], 0x19000
call esi
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [ebx - 0x10]
call fcn.00404d60
mov ecx, dword [ebp + 0xbc4]
pop edi
pop esi
xor ecx, ebp
xor al, al
pop ebx
call fcn.004a0e91
add ebp, 0xbc8
leave
ret