Function at 0x4167b0
Capabilities:
Delete directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5497c6
mov eax, dword fs:[0]
push eax
mov eax, 0x1954
call fcn.0046f430
mov eax, dword [0x5a83f8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1934], ecx
mov dword [ebp - 0x192c], 0
push str.install_tab
mov ecx, dword [ebp - 0x1934]
add ecx, 0x50
call fcn.004721d0
mov dword [ebp - 0x1940], eax
push 1
push 1
mov ecx, dword [ebp - 0x1940]
call fcn.004807b0
xor eax, eax
mov word [ebp - 0x810], ax
push 0x7fe
push 0
lea ecx, [ebp - 0x80e]
push ecx
call fcn.004efc10
add esp, 0xc
push 0
push 2
lea edx, [ebp - 0x810]
push edx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x1958], eax
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x1888]
call fcn.00403f40
mov dword [ebp - 4], 0
push 0x59de08
lea ecx, [ebp - 0x1888]
call fcn.00405910
push 0x59de0c
lea ecx, [ebp - 0x1888]
call fcn.00405910
lea ecx, [ebp - 0x1888]
push ecx
lea ecx, [ebp - 0x1840]
call fcn.00404020
mov byte [ebp - 4], 1
push 0x59de28
lea ecx, [ebp - 0x1840]
call fcn.00405910
push 0x59de34
lea ecx, [ebp - 0x1840]
call fcn.00405910
push 0x59de50
lea ecx, [ebp - 0x1840]
call fcn.00405910
lea edx, [ebp - 0x1888]
push edx
lea ecx, [ebp - 0x1828]
call fcn.00404020
mov byte [ebp - 4], 2
push 0x59de5c
lea ecx, [ebp - 0x1828]
call fcn.00405910
push 0x59de68
lea ecx, [ebp - 0x1828]
call fcn.00405910
push 0x59de84
lea ecx, [ebp - 0x1828]
call fcn.00405910
lea ecx, [ebp - 0x1840]
call fcn.00401be0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1828]
call fcn.00401be0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1888]
call fcn.00401be0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x416957
mov byte [ebp - 0x1925], 1
jmp 0x41695e
mov byte [ebp - 0x1925], 0
mov al, byte [ebp - 0x1925]
mov byte [ebp - 0x192d], al
xor ecx, ecx
mov word [ebp - 0x1010], cx
push 0x7fe
push 0
lea edx, [ebp - 0x100e]
push edx
call fcn.004efc10
add esp, 0xc
push 0
push 0x16
lea eax, [ebp - 0x1010]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x195c], eax
lea ecx, [ebp - 0x1010]
push ecx
lea ecx, [ebp - 0x1870]
call fcn.00403f40
mov byte [ebp - 4], 3
push 0x59de90
lea ecx, [ebp - 0x1870]
call fcn.00405910
push 0x59de94
lea ecx, [ebp - 0x1870]
call fcn.00405910
lea edx, [ebp - 0x1870]
push edx
lea ecx, [ebp - 0x1840]
call fcn.00401c20
push 0x59deb0
lea ecx, [ebp - 0x1840]
call fcn.00405910
push 0x59debc
lea ecx, [ebp - 0x1840]
call fcn.00405910
push 0x59ded8
lea ecx, [ebp - 0x1840]
call fcn.00405910
lea eax, [ebp - 0x1870]
push eax
lea ecx, [ebp - 0x1828]
call fcn.00401c20
push 0x59dee4
lea ecx, [ebp - 0x1828]
call fcn.00405910
push 0x59def0
lea ecx, [ebp - 0x1828]
call fcn.00405910
push 0x59df0c
lea ecx, [ebp - 0x1828]
call fcn.00405910
lea ecx, [ebp - 0x1840]
call fcn.00401be0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1828]
call fcn.00401be0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1870]
call fcn.00401be0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x416a9f
mov byte [ebp - 0x1926], 1
jmp 0x416aa6
mov byte [ebp - 0x1926], 0
mov cl, byte [ebp - 0x1926]
mov byte [ebp - 0x192e], cl
xor edx, edx
mov word [ebp - 0x1810], dx
push 0x7fe
push 0
lea eax, [ebp - 0x180e]
push eax
call fcn.004efc10
add esp, 0xc
push 0
push 0x17
lea ecx, [ebp - 0x1810]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov dword [ebp - 0x1960], eax
lea edx, [ebp - 0x1810]
push edx
lea ecx, [ebp - 0x1858]
call fcn.00403f40
mov byte [ebp - 4], 4
push 0x59df18
lea ecx, [ebp - 0x1858]
call fcn.00405910
push 0x59df1c
lea ecx, [ebp - 0x1858]
call fcn.00405910
lea eax, [ebp - 0x1858]
push eax
lea ecx, [ebp - 0x1840]
call fcn.00401c20
push 0x59df38
lea ecx, [ebp - 0x1840]
call fcn.00405910
push 0x59df44
lea ecx, [ebp - 0x1840]
call fcn.00405910
push 0x59df60
lea ecx, [ebp - 0x1840]
call fcn.00405910
lea ecx, [ebp - 0x1858]
push ecx
lea ecx, [ebp - 0x1828]
call fcn.00401c20
push 0x59df6c
lea ecx, [ebp - 0x1828]
call fcn.00405910
push 0x59df78
lea ecx, [ebp - 0x1828]
call fcn.00405910
push 0x59df94
lea ecx, [ebp - 0x1828]
call fcn.00405910
lea ecx, [ebp - 0x1840]
call fcn.00401be0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1828]
call fcn.00401be0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1858]
call fcn.00401be0
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x416be7
mov byte [ebp - 0x1927], 1
jmp 0x416bee
mov byte [ebp - 0x1927], 0
mov dl, byte [ebp - 0x1927]
mov byte [ebp - 0x192f], dl
push 0x59dfa0
lea ecx, [ebp - 0x18a0]
call fcn.00403f40
mov byte [ebp - 4], 5
lea eax, [ebp - 0x18a0]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.00406210
add esp, 8
mov byte [ebp - 0x1930], al
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x18a0]
call fcn.00401c90
push str.path_edit
mov ecx, dword [ebp - 0x1934]
add ecx, 0x50
call fcn.004721d0
mov dword [ebp - 0x1938], eax
push 0x18
call fcn.0046ec33
add esp, 4
mov dword [ebp - 0x194c], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1924]
push ecx
mov edx, dword [ebp - 0x1938]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1938]
mov edx, dword [eax + 0x38]
call edx
mov dword [ebp - 0x1944], eax
mov eax, dword [ebp - 0x1944]
mov dword [ebp - 0x1948], eax
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x192c]
or ecx, 1
mov dword [ebp - 0x192c], ecx
mov ecx, dword [ebp - 0x1948]
call fcn.004053a0
push eax
mov ecx, dword [ebp - 0x194c]
call fcn.00403f40
mov dword [ebp - 0x193c], eax
jmp 0x416ccc
mov edx, dword [ebp - 0x193c]
mov dword [ebp - 0x1950], edx
mov dword [ebp - 4], 8
mov eax, dword [ebp - 0x1950]
mov dword [ebp - 0x1954], eax
mov dword [ebp - 4], 4
mov ecx, dword [ebp - 0x192c]
and ecx, 1
je 0x416d0f
and dword [ebp - 0x192c], 0xfffffffe
lea ecx, [ebp - 0x1924]
call fcn.00481030
mov edx, dword [ebp - 0x1954]
push edx
push 0x4178a0
mov ecx, dword [ebp - 0x1934]
add ecx, 0x4f8
call fcn.004069a0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1858]
call fcn.00401c90
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1870]
call fcn.00401c90
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1828]
call fcn.00401c90
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1840]
call fcn.00401c90
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1888]
call fcn.00401c90
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046ec22
mov esp, ebp
pop ebp
ret