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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84c
mov eax, dword [0x441044]
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.004238b0
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x61e]
push eax
mov word [ebp - 0x620], dx
call fcn.004238b0
add esp, 0xc
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20e]
push edx
mov word [ebp - 0x210], cx
call fcn.004238b0
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x826]
push ecx
mov word [ebp - 0x828], ax
call fcn.004238b0
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.0041c33e
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
add esp, 0x18
test eax, eax
jne 0x415ddb
mov edi, edi
cmp edi, 0x1e
je 0x415ddb
push 0x431cbc
call fcn.00415020
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.0041c33e
add esp, 8
test eax, eax
je 0x415d90
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.0041c33e
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 0x415e7a
lea ecx, [ebp - 0x84c]
push ecx
call eax
movzx eax, word [ebp - 0x84c]
test eax, eax
je 0x415ecc
cmp eax, 9
jne 0x415ecc
call fcn.00404690
cmp eax, 1
jne 0x415ecc
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.0041c33e
add esp, 0x10
test eax, eax
jne 0x415f4e
cmp ebx, 0xa
je 0x415f41
push 0x431cbc
call fcn.00415020
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.0041c33e
add esp, 8
test eax, eax
je 0x415ef0
jmp 0x415f4e
push 0x43e1e0
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.0041bcde
mov esp, ebp
pop ebp
ret