Function at 0x140025d50
Capabilities:
Get common file path
Print debug messages
Write file on windows

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0x1f0]
sub rsp, 0x2f0
mov rax, qword [0x14006f020]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov rdi, rcx
lea rax, vtable.CKcsLogging.0
mov qword [rcx], rax
call fcn.1400259d0
test rax, rax
je 0x1400260b2
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.1400259d0
test rax, rax
je 0x1400260b2
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
mov rbx, rax
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x30]
call fcn.14002cfe0
xorps xmm0, xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
xor r14d, r14d
mov qword [rsp + 0x48], r14
lea rcx, [rsp + 0x48]
call fcn.140037eec
lea rcx, [rsp + 0x48]
call fcn.140038258
mov r9, rax
lea r8, str._Y__m__d
lea edx, [r14 + 0x40]
lea rcx, [rbp - 0x70]
call fcn.140038ed0
mov ecx, dword [rdi + 0xf0]
sub ecx, 1
je 0x140025e5a
sub ecx, 1
je 0x140025e51
sub ecx, 2
je 0x140025e48
cmp ecx, 4
je 0x140025e3f
lea r8, str.UNKNOWN
jmp 0x140025e61
lea r8, str.TrackClean
jmp 0x140025e61
lea r8, str.RegClean
jmp 0x140025e61
lea r8, str.TrashClean
jmp 0x140025e61
lea r8, str.OneKeyClean
lea r9, [rbp - 0x70]
lea rdx, str._s__s.log
lea rcx, [rsp + 0x40]
call fcn.140027f60
lea rsi, [rdi + 8]
mov rcx, rsi
call fcn.1400183f0
mov qword [rsp + 0x70], r14
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 0xf
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rax
mov ecx, dword [rdi + 0x80]
mov eax, ecx
and al, 0x22
cmp al, 2
je 0x140025edb
mov rax, qword [rdi + 0x50]
mov r8, qword [rax]
test r8, r8
je 0x140025edb
mov rax, qword [rdi + 0x30]
mov rdx, qword [rax]
mov qword [rsp + 0x50], rdx
cmp r8, qword [rdi + 0x78]
cmovb r8, qword [rdi + 0x78]
sub r8, rdx
mov qword [rsp + 0x58], r8
jmp 0x140025f16
test cl, 4
jne 0x140025f0c
mov rax, qword [rdi + 0x48]
mov rcx, qword [rax]
test rcx, rcx
je 0x140025f0c
mov rax, qword [rdi + 0x28]
mov rdx, qword [rax]
mov qword [rsp + 0x50], rdx
mov rax, qword [rdi + 0x60]
movsxd r8, dword [rax]
sub r8, rdx
add r8, rcx
mov qword [rsp + 0x58], r8
jmp 0x140025f16
mov r8, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x50]
test rdx, rdx
je 0x140026032
lea rcx, [rsp + 0x70]
call fcn.14000b0b0
cmp qword [rbp - 0x80], 0xb
jb 0x140025ffa
lea rcx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_OutputDebugStringA]
xor r9d, r9d
lea r8d, [r9 + 0x1c]
lea rdx, [rbp - 0x30]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
lea rdx, str.KSafeKClearLogs
lea rcx, [rbp - 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp - 0x30]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
xor r9d, r9d
mov edx, 0x40000000
lea r8d, [r9 + 3]
lea rcx, [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
cmp rax, 0xffffffffffffffff
je 0x140025ffa
test rax, rax
je 0x140025ff1
mov r9d, 2
xor r8d, r8d
xor edx, edx
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_SetFilePointer]
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0x10
cmovae rdx, qword [rsp + 0x70]
mov qword [rsp + 0x20], r14
lea r9, [rsp + 0x68]
mov r8d, dword [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp - 0x78]
cmp rdx, 0x10
jb 0x140026032
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002602d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400260ac
call fcn.14002a430
mov qword [rbp - 0x80], r14
mov qword [rbp - 0x78], 0xf
mov byte [rsp + 0x70], r14b
mov rdx, rbx
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140026060
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x14002607c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, rsi
call fcn.140025cb0
nop
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.14002a410
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.1400385e8
int3
mov ecx, 0x80004005
call fcn.140025830
int3