Function at 0x414710
Capabilities:
Delete directory
Delete file
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x43e044]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x416]
push ecx
mov word [ebp - 0x418], ax
call fcn.00422210
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x61e]
push eax
mov word [ebp - 0x620], dx
call fcn.00422210
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20e]
push edx
mov word [ebp - 0x210], cx
call fcn.00422210
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x826]
push ecx
mov word [ebp - 0x828], ax
call fcn.00422210
add esp, 0xc
push 0x104
lea edx, [ebp - 0x620]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov esi, dword [sym.imp.USER32.dll_wsprintfW]
lea eax, [ebp - 0x418]
push str.C:Program_FilesWW2017CF
push eax
call esi
lea ecx, [ebp - 0x210]
push str.C:Program_FilesWW2017CFwmcSystem7.exe
push ecx
xor edi, edi
call esi
lea edx, [ebp - 0x210]
push edi
push edx
call fcn.0041ad6e
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esp, 0x18
test eax, eax
jne 0x41483b
mov edi, edi
cmp edi, 0x1e
je 0x41483b
push 0x42fc8c
call fcn.00413a80
add esp, 4
push 0x80
lea eax, [ebp - 0x210]
push eax
call ebx
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x64
inc edi
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [ebp - 0x210]
push 0
push edx
call fcn.0041ad6e
add esp, 8
test eax, eax
je 0x4147f0
push 0
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.00404730
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
add esp, 0xc
lea ecx, [ebp - 0x418]
push ecx
call edi
lea edx, [ebp - 0x620]
push edx
lea eax, [ebp - 0x828]
push str._sWinNetDaily.dll
push eax
call esi
add esp, 0xc
lea ecx, [ebp - 0x828]
push 0
push ecx
call fcn.0041ad6e
lea edx, [ebp - 0x620]
push edx
lea eax, [ebp - 0x210]
push str._spcinfo7.exe
push eax
call esi
add esp, 0x14
push 0x80
lea ecx, [ebp - 0x210]
push ecx
call ebx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4148da
lea ecx, [ebp - 0x84c]
push ecx
call eax
movzx eax, word [ebp - 0x84c]
test eax, eax
je 0x41492c
cmp eax, 9
jne 0x41492c
call fcn.00404690
cmp eax, 1
jne 0x41492c
lea edx, [ebp - 0x620]
push edx
lea eax, [ebp - 0x210]
push str._spcinfo7.exe
push eax
call esi
add esp, 0xc
push 0x80
lea ecx, [ebp - 0x210]
push ecx
call ebx
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
call fcn.004046f0
lea eax, [ebp - 0x210]
push str.C:Program_FilesWW2017CFwmcSystem7.exe
push eax
xor ebx, ebx
call esi
lea ecx, [ebp - 0x210]
push ebx
push ecx
call fcn.0041ad6e
add esp, 0x10
test eax, eax
jne 0x4149ae
cmp ebx, 0xa
je 0x4149a1
push 0x42fc8c
call fcn.00413a80
add esp, 4
push 0
lea edx, [ebp - 0x418]
push 0
push edx
call fcn.00404730
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
call edi
push 0x3e8
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ebp - 0x210]
push 0
push ecx
call fcn.0041ad6e
add esp, 8
test eax, eax
je 0x414950
jmp 0x4149ae
push 0x43b940
call fcn.00403790
add esp, 4
push 0
lea edx, [ebp - 0x418]
push 0
push edx
call fcn.00404730
add esp, 0xc
lea eax, [ebp - 0x418]
push eax
call edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041a70e
mov esp, ebp
pop ebp
ret