Function at 0x466100
Capabilities:
Check if file exists
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57c787
mov eax, dword fs:[0]
push eax
sub esp, 0x640
mov eax, dword [0x5fb61c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x626]
push ecx
mov word [ebp - 0x628], ax
call fcn.005336c0
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x41e]
push eax
mov word [ebp - 0x420], dx
call fcn.005336c0
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.005336c0
add esp, 0x24
push 0
push 0x1c
lea eax, [ebp - 0x420]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push 0x104
lea ecx, [ebp - 0x628]
push ecx
push 0x1a
call fcn.0046e6d0
lea edx, [ebp - 0x420]
push edx
call fcn.00470010
add esp, 0x10
xor eax, eax
jmp 0x4661c0
movzx ecx, word [ebp + eax - 0x420]
mov word [ebp + eax - 0x218], cx
add eax, 2
test cx, cx
jne 0x4661c0
push str._tempuninstall.ini
or ebx, 0xffffffff
lea eax, [ebp - 0x218]
push ebx
push eax
call fcn.00534500
add esp, 0xc
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46620e
lea edx, [ebp - 0x218]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x420]
push ecx
push str.localappdata
push str.install
call esi
lea edx, [ebp - 0x218]
push edx
lea eax, [ebp - 0x628]
push eax
push str.appdatapath
push str.install
call esi
lea ecx, [ebp - 0x648]
push ecx
call fcn.0048f0a0
mov eax, dword [eax]
push eax
lea edx, [ebp - 0x644]
push edx
mov dword [ebp - 4], 0
call fcn.00437b90
mov eax, dword [ebp - 0x648]
add eax, 0xfffffff0
add esp, 0xc
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466291
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp dword [ebp - 0x630], 8
mov eax, dword [ebp - 0x644]
jae 0x4662a6
lea eax, [ebp - 0x644]
lea ecx, [ebp - 0x218]
push ecx
push eax
push str.newcurinstallpath
push str.install
call esi
cmp dword [ebp - 0x630], 8
jb 0x4662d2
mov edx, dword [ebp - 0x644]
push edx
call int.0042bfd0
add esp, 4
lea eax, [ebp - 0x648]
push eax
call fcn.0048dee0
mov eax, dword [eax]
add esp, 4
lea ecx, [ebp - 0x218]
push ecx
push eax
push str.startmenudir
push str.install
call esi
mov eax, dword [ebp - 0x648]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x466318
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x648]
push ecx
call fcn.0048f450
mov eax, dword [eax]
add esp, 4
lea edx, [ebp - 0x218]
push edx
push eax
push str.waitclearlist
push str.install
call esi
mov eax, dword [ebp - 0x648]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46635e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x648]
push ecx
call fcn.0048dfc0
mov eax, dword [eax]
add esp, 4
lea edx, [ebp - 0x218]
push edx
push eax
push str.languages
push str.install
call esi
mov eax, dword [ebp - 0x648]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4663a4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
call fcn.0048ba30
test eax, eax
mov eax, 0x595524
jne 0x4663b7
mov eax, 0x592368
lea ecx, [ebp - 0x218]
push ecx
push eax
push str.2019icdisable
push str.install
call esi
lea edx, [ebp - 0x648]
push edx
call fcn.0048e0a0
mov eax, dword [eax]
add esp, 4
lea ecx, [ebp - 0x218]
push ecx
push eax
push str.AutoRecoverFilePath
push str.install
call esi
mov eax, dword [ebp - 0x648]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x466411
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [ebp - 0x648]
push ecx
call fcn.00493740
mov eax, dword [eax]
add esp, 4
lea edx, [ebp - 0x218]
push edx
push eax
push str.OldAutoRecoverFilePath
push str.install
call esi
mov eax, dword [ebp - 0x648]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x466457
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DisableDelBackup
lea ecx, [ebp - 0x648]
call fcn.00422540
lea ecx, [ebp - 0x648]
push ecx
mov dword [ebp - 4], 1
call fcn.0048e140
add esp, 4
test eax, eax
mov eax, 0x595524
jne 0x46648b
mov eax, 0x592368
lea edx, [ebp - 0x218]
push edx
push eax
push str.delbackupdisable
push str.install
call esi
mov eax, dword [ebp - 0x648]
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4664c3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DisableDelCustomBackup
lea ecx, [ebp - 0x648]
call fcn.00422540
lea ecx, [ebp - 0x648]
push ecx
mov dword [ebp - 4], 2
call fcn.0048e140
add esp, 4
test eax, eax
mov eax, 0x595524
jne 0x4664f7
mov eax, 0x592368
lea edx, [ebp - 0x218]
push edx
push eax
push str.delcustombackupdisable
push str.install
call esi
mov eax, dword [ebp - 0x648]
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46652f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DisableDelAddon
lea ecx, [ebp - 0x648]
call fcn.00422540
lea ecx, [ebp - 0x648]
push ecx
mov dword [ebp - 4], 3
call fcn.0048e140
add esp, 4
test eax, eax
mov eax, 0x595524
jne 0x466563
mov eax, 0x592368
lea edx, [ebp - 0x218]
push edx
push eax
push str.deladdondisable
push str.install
call esi
mov eax, dword [ebp - 0x648]
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x46659b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push str.DisableSilentDefaultDel
lea ecx, [ebp - 0x64c]
call fcn.00422540
lea ecx, [ebp - 0x64c]
push ecx
mov dword [ebp - 4], 4
call fcn.0048e140
add esp, 4
test eax, eax
mov eax, 0x595524
jne 0x4665cf
mov eax, 0x592368
lea edx, [ebp - 0x218]
push edx
push eax
push str.silentdefaultdeldisable
push str.install
call esi
mov eax, dword [ebp - 0x64c]
add eax, 0xfffffff0
mov dword [ebp - 4], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x466605
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005332ca
mov esp, ebp
pop ebp
ret