Function at 0x140026d78
Capabilities:
Create directory
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x188]
sub rsp, 0x270
mov rax, qword [0x140070070]
xor rax, rsp
mov qword [rbp + 0x160], rax
mov rsi, rcx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [rsi + 0x28], eax
lea rcx, [rsp + 0x30]
xor eax, eax
mov qword [rsp + 0x30], rax
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edi, dword [rsp + 0x34]
xor ecx, ecx
xor ebx, eax
xor edi, ebx
xor edi, dword [rsp + 0x30]
call fcn.140039490
xor edi, eax
mov r15d, 1
cmove edi, r15d
mov dword [rsi + 0x2c], edi
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x30]
lea r8, [rsp + 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_GetProcessTimes]
lea rcx, [rsp + 0x38]
call qword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov rcx, qword [rsp + 0x38]
mov r8d, eax
sub rcx, qword [rsp + 0x40]
movabs rax, 0x346dc5d63886594b
mul rcx
lea rcx, [rsp + 0x50]
shr rdx, 0xb
sub r8d, edx
xor edx, edx
mov dword [rsi + 0x30], r8d
mov r8d, 0x208
call fcn.14002dc80
mov r14d, 0x104
lea rdx, [rsp + 0x50]
mov r8d, r14d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rcx, [rsp + 0x50]
call fcn.140032038
lea rbx, [rsp + 0x50]
lea rbx, [rbx + rax*2]
jmp 0x140026ea7
lea rax, [rbx - 2]
cmp word [rax], 0x5c
je 0x140026eb1
cmp word [rax], 0x2f
je 0x140026eb1
mov rbx, rax
lea rax, [rsp + 0x50]
cmp rbx, rax
ja 0x140026e94
mov rcx, rbx
call fcn.140032038
mov rdx, rbx
lea rcx, [rsp + 0x50]
lea r8, [rax*2 + 2]
call fcn.14002d5d0
mov edx, 0x2e
lea rcx, [rsp + 0x50]
call fcn.14002de38
xor edi, edi
test rax, rax
je 0x140026ee7
mov word [rax], di
lea rcx, [rsp + 0x50]
mov rdx, r14
cmp word [rsp + 0x50], di
jne 0x140026f04
mov word [rsp + 0x50], di
lea r8, str.log.tlg
jmp 0x140026f0b
lea r8, str..tlg
call fcn.140025b14
lea rbx, [rsi + 0x34]
mov word [rbx], di
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov r9d, r15d
mov r8d, 0x1a
mov rcx, rax
mov rdx, rbx
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp word [rbx], di
je 0x140026f59
mov rcx, rbx
call fcn.140032038
cmp word [rsi + rax*2 + 0x32], 0x5c
je 0x140026f59
lea r8, [0x140061004]
mov rdx, r14
mov rcx, rbx
call fcn.140025b14
lea r8, str.Tencent_
mov rdx, r14
mov rcx, rbx
call fcn.140025b14
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, str.Logs_
mov rdx, r14
mov rcx, rbx
call fcn.140025b14
xor edx, edx
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea r8, [rsp + 0x50]
mov rdx, r14
mov rcx, rbx
call fcn.140025b14
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov rcx, rax
lea rdx, str.NoTXLog
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
test rax, rax
je 0x140026fc9
mov byte [rsi + 0x25b], r15b
jmp 0x140026fd1
mov rcx, rsi
call fcn.140026c2c
mov rcx, qword [rbp + 0x160]
xor rcx, rsp
call fcn.14002b930
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret