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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x447044]
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.004272d0
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x61e]
push eax
mov word [ebp - 0x620], dx
call fcn.004272d0
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20e]
push edx
mov word [ebp - 0x210], cx
call fcn.004272d0
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x826]
push ecx
mov word [ebp - 0x828], ax
call fcn.004272d0
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.0041fb9e
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esp, 0x18
test eax, eax
jne 0x418efb
mov edi, edi
cmp edi, 0x1e
je 0x418efb
push 0x434920
call fcn.004181c0
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.0041fb9e
add esp, 8
test eax, eax
je 0x418eb0
push 0
lea eax, [ebp - 0x418]
push 0
push eax
call fcn.00405f40
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.0041fb9e
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 0x418f9a
lea ecx, [ebp - 0x84c]
push ecx
call eax
movzx eax, word [ebp - 0x84c]
test eax, eax
je 0x418fec
cmp eax, 9
jne 0x418fec
call fcn.00405ea0
cmp eax, 1
jne 0x418fec
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.00405f00
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.0041fb9e
add esp, 0x10
test eax, eax
jne 0x41906e
cmp ebx, 0xa
je 0x419061
push 0x434920
call fcn.004181c0
add esp, 4
push 0
lea edx, [ebp - 0x418]
push 0
push edx
call fcn.00405f40
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.0041fb9e
add esp, 8
test eax, eax
je 0x419010
jmp 0x41906e
push 0x443648
call fcn.004042f0
add esp, 4
push 0
lea edx, [ebp - 0x418]
push 0
push edx
call fcn.00405f40
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.0041f53e
mov esp, ebp
pop ebp
ret