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

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0xb8]
sub rsp, 0x1b0
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov rax, qword [0x140036038]
xor rax, rsp
mov qword [rbp + 0xa0], rax
xor edi, edi
mov dword [rsp + 0x44], edi
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x70]
call fcn.14000f580
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x802a
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
jns 0x140006ddf
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0x8026
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathA]
test eax, eax
js 0x140006fb2
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], dil
lea rax, [rbp - 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x140006e00
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x50]
call fcn.140004420
nop
movdqa xmm0, xmmword [0x140030c50]
movdqu xmmword [rbp - 0x80], xmm0
mov byte [rsp + 0x70], 0
mov dword [rsp + 0x44], 1
mov rdx, qword [rsp + 0x60]
add rdx, 0x2b
lea rcx, [rsp + 0x70]
call fcn.1400070a0
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
lea rcx, [rsp + 0x70]
call fcn.140004570
mov r8d, 0x2b
lea rdx, str.HandSetServicelogAutoRunCheckModeLog.tmp
lea rcx, [rsp + 0x70]
call fcn.140004570
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140006eba
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006eb5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006fdc
call fcn.14000d4b4
movups xmm0, xmmword [rsp + 0x70]
movups xmmword [rsp + 0x50], xmm0
movdqu xmm1, xmmword [rbp - 0x80]
movups xmmword [rsp + 0x60], xmm1
lea rcx, [rsp + 0x50]
movq rdx, xmm0
psrldq xmm1, 8
movq rax, xmm1
cmp rax, 0x10
cmovae rcx, rdx
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 3
xor r9d, r9d
xor r8d, r8d
mov edx, 0x80000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rbx, rax
mov dword [rsp + 0x40], edi
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test edi, edi
je 0x140006f79
cmp dword [rsp + 0x40], 0
ja 0x140006f43
cmp edi, 0x7d000
jb 0x140006f79
lea rbx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rbx, qword [rsp + 0x50]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 1
je 0x140006f6f
and eax, 0xfffffffe
mov edx, eax
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140006fb2
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140006fad
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140006fd6
call fcn.14000d4b4
mov rcx, qword [rbp + 0xa0]
xor rcx, rsp
call fcn.14000d490
lea r11, [rsp + 0x1b0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
call fcn.14001179c
nop
call fcn.14001179c
nop
int3