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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r12
sub rsp, 0x540
mov rax, qword [0x140018008]
xor rax, rsp
mov qword [rsp + 0x530], rax
mov ecx, 0xff
call fcn.140005bd0
lea rcx, [rsp + 0x130]
xor edx, edx
mov r8d, 0xff
mov rsi, rax
call fcn.140005240
xor ebx, ebx
lea r12, [0x140019680]
mov rdx, rbx
nop
movzx ecx, word [rdx + r12]
add rdx, 2
test cx, cx
jne 0x140004540
mov rcx, rbx
lea rbp, [0x140019c90]
nop
nop
movzx eax, word [rcx + rbp]
add rcx, 2
test ax, ax
jne 0x140004560
mov rcx, rbx
movzx eax, word [rcx + r12]
add rcx, 2
test ax, ax
mov word [rsp + rcx + 0x12e], ax
jne 0x140004570
mov rcx, rbx
nop
nop
movzx eax, word [rcx + rbp]
add rcx, 2
test ax, ax
jne 0x140004590
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
mov edx, 0x80
repne scasb al, byte [rdi]
mov eax, dword [str.inf_]
or rcx, 0xffffffffffffffff
mov dword [rdi - 1], eax
movzx eax, word [0x140013c80]
mov word [rdi + 3], ax
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasb al, byte [rdi]
mov rax, qword [str.rtlss.inf]
lea rcx, [rsp + 0x20]
mov qword [rdi - 1], rax
movzx eax, word [0x140013c78]
mov word [rdi + 7], ax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
repne scasb al, byte [rdi]
mov eax, dword [str.inf_]
or rcx, 0xffffffffffffffff
mov dword [rdi - 1], eax
movzx eax, word [0x140013c80]
mov word [rdi + 3], ax
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasb al, byte [rdi]
xor ecx, ecx
nop
movzx eax, byte [rcx + rbp]
add rcx, 1
test al, al
mov byte [rdi + rcx - 2], al
jne 0x140004650
lea rcx, [rsp + 0x20]
mov edx, 0x80
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
lea rdx, str._sREV_0200SS
mov r8, r12
mov rcx, rsi
call qword [sym.imp.USER32.dll_wsprintfA]
mov rcx, r12
sub rcx, rsi
nop
nop
nop
movzx eax, word [rsi]
add rsi, 2
test ax, ax
mov word [rcx + rsi - 2], ax
jne 0x1400046a0
call fcn.140004330
mov rdx, rbx
nop
nop
movzx eax, word [rsp + rdx + 0x130]
add rdx, 2
test ax, ax
mov word [rdx + r12 - 2], ax
jne 0x1400046c0
lea rcx, str.rtlss.inf
nop
movzx eax, word [rbx + rcx]
add rbx, 2
test ax, ax
mov word [rbx + rbp - 2], ax
jne 0x1400046e0
call fcn.140004330
mov rcx, r12
call fcn.1400012d0
lea rcx, [rsp + 0x20]
mov edx, 0x104
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
mov edx, 0x80
repne scasb al, byte [rdi]
mov rax, qword [str.Drivers_]
or rcx, 0xffffffffffffffff
mov qword [rdi - 1], rax
movzx eax, word [0x140013c18]
mov word [rdi + 7], ax
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasb al, byte [rdi]
mov rax, qword [str.rtlss.sys]
lea rcx, [rsp + 0x20]
mov qword [rdi - 1], rax
movzx eax, word [0x140013c58]
mov word [rdi + 7], ax
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea rcx, [rsp + 0x20]
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
mov rcx, qword [rsp + 0x530]
xor rcx, rsp
call fcn.140005210
lea r11, [rsp + 0x540]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop r12
ret