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

Disassembly:
push ebp
lea ebp, [esp - 0x1104]
mov eax, 0x1104
call fcn.00484950
push 0xffffffffffffffff
push 0x4bb8a2
mov eax, dword fs:[0]
push eax
push ecx
push ecx
mov eax, dword [0x4e97d0]
xor eax, ebp
mov dword [ebp + 0x1100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 0x110c]
mov esi, 0x800
push esi
xor edi, edi
lea eax, [ebp + 0x800]
push edi
push eax
mov dword [ebp - 0x14], ecx
call fcn.00484150
push esi
lea eax, [ebp]
push edi
push eax
call fcn.00484150
push 0x100
lea eax, [ebp + 0x1000]
push edi
push eax
call fcn.00484150
add esp, 0x24
push edi
push 0x1a
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x47065e
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x1100]
xor ecx, ebp
call fcn.00484247
add ebp, 0x1104
leave
ret 4
xor esi, esi
lea eax, [ebp + 0x1000]
push 0x80
push eax
call fcn.00441255
pop ecx
pop ecx
lea eax, [ebp + 0x1000]
push eax
lea eax, [ebp]
push eax
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp + 0x800]
push str..tmp
push eax
call fcn.0048497b
pop ecx
pop ecx
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4706b5
inc esi
cmp esi, 0xa
jl 0x470660
mov ecx, dword [ebp - 0x14]
lea eax, [ebp + 0x800]
push eax
call fcn.0046ff16
test eax, eax
je 0x470637
push 0x4ecda4
lea ecx, [ebp - 0x10]
call fcn.0040ba90
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.0040c8e0
push str.A44B7723_4283_41b8_B9C0_6B1983C61382.tmp
lea ecx, [ebp - 0x10]
call fcn.0041cb8c
push dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.0047028e
push dword [ebp - 0x10]
push edi
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push dword [ebp - 0x10]
lea eax, [ebp + 0x800]
push eax
call fcn.00470023
pop ecx
pop ecx
test eax, eax
jne 0x470731
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, edi
jmp 0x470639
lea eax, [ebp - 0x10]
push eax
mov ecx, ebx
call fcn.0041cb3f
lea eax, [ebp + 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str._themesNewInstallAirNewInstallAir.ui
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041af66
mov esi, dword [sym.imp.KERNEL32.dll_MoveFileExW]
add esp, 0xc
push 4
pop ebx
push ebx
push edi
push dword [eax]
call esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040dd20
push str._themes_theme_NewInstallAir.xml
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041af66
add esp, 0xc
push ebx
push edi
push dword [eax]
call esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040dd20
push str._themesNewInstallAir
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041af66
add esp, 0xc
push ebx
push edi
push dword [eax]
call esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040dd20
push str._themes
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041af66
add esp, 0xc
push ebx
push edi
push dword [eax]
call esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040dd20
push str._sites.dll
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.0041af66
add esp, 0xc
push ebx
push edi
push dword [eax]
call esi
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
call fcn.0040dd20
push ebx
push edi
push dword [ebp - 0x10]
call esi
xor edi, edi
inc edi
jmp 0x47071f