Function at 0x449ea0
Capabilities:
Check if file exists
Delete file
Delete registry key
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7c96
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
push esi
push edi
push ecx
lea edi, [ebp - 0x4f0]
mov ecx, 0x139
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov eax, dword [0x4f3280]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x34]
call fcn.00403420
mov dword [ebp - 4], 0
lea eax, [ebp - 0x34]
push eax
call fcn.00449db0
add esp, 4
test eax, eax
je 0x449f28
push 0x4db874
lea ecx, [ebp - 0x34]
call fcn.0044b400
lea ecx, [ebp - 0x34]
call fcn.004035c0
mov esi, esp
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, esp
call fcn.004c39d6
mov esi, esp
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
cmp esi, esp
call fcn.004c39d6
mov esi, esp
push str.qmgcfilesShell
push SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
cmp esi, esp
call fcn.004c39d6
mov esi, esp
call dword [sym.imp.ole32.dll_OleUninitialize]
cmp esi, esp
call fcn.004c39d6
mov ecx, dword [ebp - 0x14]
add ecx, 4
call fcn.004636c0
push eax
lea ecx, [ebp - 0x58]
call fcn.00408320
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x14]
call fcn.0044a4f0
test eax, eax
je 0x449f94
push str.QMGCShellExt64.dll
lea ecx, [ebp - 0x58]
call fcn.0044b400
jmp 0x449fa1
push str.QMGCShellExt.dll
lea ecx, [ebp - 0x58]
call fcn.0044b400
lea ecx, [ebp - 0x58]
push ecx
push 0x4db908
lea edx, [ebp - 0x4c0]
push edx
call fcn.0044c1b0
add esp, 0xc
mov dword [ebp - 0x4e4], eax
mov eax, dword [ebp - 0x4e4]
mov dword [ebp - 0x4e8], eax
mov byte [ebp - 4], 2
push 0x4db904
mov ecx, dword [ebp - 0x4e8]
push ecx
lea edx, [ebp - 0x4dc]
push edx
call fcn.0044c260
add esp, 0xc
mov dword [ebp - 0x4ec], eax
mov eax, dword [ebp - 0x4ec]
mov dword [ebp - 0x4f0], eax
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x4f0]
push ecx
lea ecx, [ebp - 0x58]
call fcn.004034f0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x4dc]
call fcn.004034c0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c0]
call fcn.004034c0
lea edx, [ebp - 0x58]
push edx
push 0x4db90c
lea eax, [ebp - 0x7c]
push eax
call fcn.0044c1b0
add esp, 0xc
lea ecx, [ebp - 0x7c]
call fcn.004035c0
push eax
call fcn.00449cb0
add esp, 4
push 0x208
push 0
lea ecx, [ebp - 0x28c]
push ecx
call fcn.004a1d00
add esp, 0xc
mov esi, esp
push 0
push 0x10
lea edx, [ebp - 0x28c]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x294], eax
cmp dword [ebp - 0x294], 0
je 0x44a0df
mov esi, esp
push 0x4db934
lea eax, [ebp - 0x28c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, esp
call fcn.004c39d6
mov esi, esp
lea ecx, [ebp - 0x28c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.004c39d6
test eax, eax
je 0x44a0df
mov esi, esp
lea edx, [ebp - 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, esp
call fcn.004c39d6
push 0x208
push 0
lea eax, [ebp - 0x4a0]
push eax
call fcn.004a1d00
add esp, 0xc
mov esi, esp
push 0
push 0xb
lea ecx, [ebp - 0x4a0]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x294], eax
cmp dword [ebp - 0x294], 0
je 0x44a16b
mov esi, esp
push 0x4db948
lea edx, [ebp - 0x4a0]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
cmp esi, esp
call fcn.004c39d6
mov esi, esp
lea eax, [ebp - 0x4a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp esi, esp
call fcn.004c39d6
test eax, eax
je 0x44a16b
mov esi, esp
lea ecx, [ebp - 0x4a0]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp esi, esp
call fcn.004c39d6
mov dword [ebp - 0x4e0], 0
lea ecx, [ebp - 0x7c]
call fcn.004034c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x58]
call fcn.004034c0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004034c0
mov eax, dword [ebp - 0x4e0]
push edx
mov ecx, ebp
push eax
lea edx, [0x44a1d8]
call fcn.004c39f9
pop eax
pop edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a1723
add esp, 0x4f0
cmp ebp, esp
call fcn.004c39d6
mov esp, ebp
pop ebp
ret