Function at 0x140004e20
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x198]
sub rsp, 0x270
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x1400471b0]
xor rax, rsp
mov qword [rbp + 0x148], rax
mov rax, qword [rbp + 0x110]
mov qword [rbp + 0x30], rax
lea r13, [0x14004b150]
mov qword [rbp + 0x30], r13
xor r12d, r12d
mov qword [0x14004b158], r12
mov qword [0x14004b168], r12
mov esi, 7
mov qword [0x14004b170], rsi
lea r8d, [r12 + 0x1e]
lea rdx, str.C:ProgramDataASUSGlideXlog
lea rcx, [0x14004b158]
call fcn.140003d50
nop
mov qword [0x14004b178], r12
mov qword [0x14004b188], r12
mov qword [0x14004b190], rsi
lea r8d, [r12 + 0x23]
lea rdx, str.C:ProgramDataASUSGlideXlogdump
lea r15, [0x14004b178]
mov rcx, r15
call fcn.140003d50
nop
mov qword [0x14004b198], r12
xorps xmm0, xmm0
movdqa xmmword [0x14004b1a0], xmm0
mov qword [rbp + 0x70], r12
movdqa xmm0, xmmword [0x14003faf0]
movdqa xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], r12w
lea r8d, [r12 + 6]
lea rdx, str.GlideX
lea rcx, [rbp + 0x70]
call fcn.140003d50
nop
mov qword [rbp + 0x90], r12
movdqa xmm0, xmmword [0x14003faf0]
movdqa xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], r12w
lea r8d, [r12 + 0xa]
lea rdx, str.AsusGlideX
lea rcx, [rbp + 0x90]
call fcn.140003d50
nop
mov qword [rbp + 0xb0], r12
movdqa xmm0, xmmword [0x14003faf0]
movdqa xmmword [rbp + 0xc0], xmm0
mov word [rbp + 0xb0], r12w
lea r8d, [r12 + 0x16]
lea rdx, str.GlideXPen_TraceSession
lea rcx, [rbp + 0xb0]
call fcn.140003d50
nop
mov qword [rbp + 0xd0], r12
movdqa xmm0, xmmword [0x14003faf0]
movdqa xmmword [rbp + 0xe0], xmm0
mov word [rbp + 0xd0], r12w
lea r8d, [r12 + 0x18]
lea rdx, str.GlideXInput_TraceSession
lea rcx, [rbp + 0xd0]
call fcn.140003d50
nop
xorps xmm0, xmm0
movdqa xmmword [0x14004b1b0], xmm0
mov qword [0x14004b1c0], r12
lfence
lea edx, [rsi - 3]
lea r14, [0x14004b1b0]
mov rcx, r14
call fcn.14000abb0
mov qword [rbp + 0x40], r14
mov rbx, qword [0x14004b1b0]
lea rdi, [rbp + 0x70]
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
mov qword [rbp + 0x130], rbx
mov qword [rbp + 0x138], rbx
mov qword [rbp + 0x140], r14
nop word [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.140003a60
add rbx, 0x20
mov qword [rbp + 0x138], rbx
add rdi, 0x20
lea rax, [rbp + 0xf0]
cmp rdi, rax
jne 0x140005020
mov rdx, rbx
mov rcx, rbx
call fcn.14000a8e0
mov qword [0x14004b1b8], rbx
lea r9, [fcn.140003ee0]
mov edx, 0x20
lea r8d, [rdx - 0x1c]
lea rcx, [rbp + 0x70]
call fcn.140013250
mov qword [0x14004b1c8], r12
mov qword [0x14004b1d0], r12
lea r9, [rbp + 0x110]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140030da0]
call qword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetKnownFolderPath]
test eax, eax
jne 0x1400052d7
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], rsi
mov word [rbp - 0x70], r12w
mov rdx, qword [rbp + 0x110]
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400050c0
mov r8, rax
lea rcx, [rbp - 0x70]
call fcn.140003d50
nop
mov rcx, qword [rbp - 0x60]
mov rdx, qword [rbp - 0x58]
mov rax, rdx
sub rax, rcx
cmp rax, 0x10
jb 0x140005121
lea rdi, [rcx + 0x10]
mov qword [rbp - 0x60], rdi
lea rbx, [rbp - 0x70]
cmp rdx, 8
cmovae rbx, qword [rbp - 0x70]
lea rcx, [rbx + rcx*2]
mov r8d, 0x20
lea rdx, str.ASUSGlideXlog
call fcn.140015370
mov word [rbx + rdi*2], r12w
lea rax, [rbp - 0x70]
jmp 0x140005142
lfence
mov qword [rsp + 0x20], 0x10
lea r9, str.ASUSGlideXlog
mov edx, 0x10
lea rcx, [rbp - 0x70]
call fcn.140004bf0
movups xmm6, xmmword [rax]
movups xmm7, xmmword [rax + 0x10]
mov qword [rax + 0x10], r12
mov qword [rax + 0x18], rsi
mov word [rax], r12w
mov rdx, qword [0x14004b170]
cmp rdx, 8
jb 0x14000519b
mov rcx, qword [0x14004b158]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x140005196
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400058d1
mov rcx, r8
call fcn.140012fbc
movups xmmword [0x14004b158], xmm6
movups xmmword [0x14004b168], xmm7
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x1400051e9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400051e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400058cb
call fcn.140012fbc
lea r8, str.dump
lea rdx, [0x14004b158]
lea rcx, [rbp + 0xf0]
call fcn.140004800
mov rbx, rax
cmp r15, rax
je 0x140005288
mov rdx, qword [0x14004b190]
cmp rdx, 8
jb 0x140005251
mov rcx, qword [0x14004b178]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000524c
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400058d7
mov rcx, r8
call fcn.140012fbc
mov qword [0x14004b188], r12
mov qword [0x14004b190], rsi
mov word [0x14004b178], r12w
movups xmm0, xmmword [rbx]
movups xmmword [0x14004b178], xmm0
movups xmm1, xmmword [rbx + 0x10]
movups xmmword [0x14004b188], xmm1
mov qword [rbx + 0x10], r12
mov qword [rbx + 0x18], rsi
mov word [rbx], r12w
mov rdx, qword [rbp + 0x108]
cmp rdx, 8
jb 0x140005417
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xf0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400052cd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400058d7
call fcn.140012fbc
jmp 0x140005417
lea rcx, str.ProgramData_not_found__use_default_folder
call fcn.14000b900
mov r8d, 0x1e
lea rdx, str.C:ProgramDataASUSGlideXlog
lea rdi, [0x14004b158]
mov rcx, rdi
call fcn.140003d50
mov rbx, qword [0x14004b168]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, rbx
cmp rax, 5
jb 0x1400058dd
cmp qword [0x14004b170], 8
cmovae rdi, qword [0x14004b158]
mov qword [rbp + 0x48], r12
lea r15, [rbx + 5]
lea r14, [rbp + 0x48]
cmp r15, 7
jbe 0x140005382
mov rsi, r15
or rsi, 7
cmp rsi, rcx
jbe 0x140005353
mov rsi, rcx
jmp 0x140005360
cmp rsi, 0xa
mov eax, 0xa
cmovb rsi, rax
mov rdx, rsi
add rdx, 1
mov rax, 0xffffffffffffffff
cmovb rdx, rax
lea rcx, [rbp + 0x48]
call fcn.140003cd0
mov r14, rax
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x58], r15
mov qword [rbp + 0x60], rsi
add rbx, rbx
mov r8, rbx
mov rdx, rdi
mov rcx, r14
call fcn.140015370
movsd xmm0, qword [str.dump]
movsd qword [r14 + rbx], xmm0
movzx eax, word [0x14003e758]
mov word [r14 + rbx + 8], ax
mov word [r14 + r15*2], r12w
mov rdx, qword [0x14004b190]
cmp rdx, 8
jb 0x140005401
mov rcx, qword [0x14004b178]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x1400053fc
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x1400058c5
mov rcx, r8
call fcn.140012fbc
movups xmm0, xmmword [rbp + 0x48]
movups xmmword [0x14004b178], xmm0
movups xmm1, xmmword [rbp + 0x58]
movups xmmword [0x14004b188], xmm1
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x118], xmm1
mov qword [rbp + 0x128], r12
mov dword [rsp + 0x40], 0x3071724d
mov dword [rsp + 0x44], 0x4133695b
mov dword [rsp + 0x48], 0x3d9de2b1
mov dword [rsp + 0x4c], 0x15862b3e
lea r8, [rsp + 0x40]
xor edx, edx
lea rcx, [rbp + 0x118]
call fcn.14000a7a0
mov dword [rsp + 0x50], 0xc135de1e
mov dword [rsp + 0x54], 0x4494d0f3
mov dword [rsp + 0x58], 0x6ac3c7a3
mov dword [rsp + 0x5c], 0xf68392fe
mov rbx, qword [rbp + 0x120]
mov rsi, qword [rbp + 0x128]
cmp rbx, rsi
je 0x1400054b7
mov dword [rbx], 0xc135de1e
mov dword [rbx + 4], 0x4494d0f3
mov dword [rbx + 8], 0x6ac3c7a3
mov dword [rbx + 0xc], 0xf68392fe
add rbx, 0x10
mov qword [rbp + 0x120], rbx
jmp 0x1400054d9
lea r8, [rsp + 0x50]
mov rdx, rbx
lea rcx, [rbp + 0x118]
call fcn.14000a7a0
mov rsi, qword [rbp + 0x128]
mov rbx, qword [rbp + 0x120]
mov dword [rsp + 0x60], 0x8cd6bc14
mov dword [rsp + 0x64], 0x408d2c8a
mov dword [rsp + 0x68], 0xa7da2183
mov dword [rsp + 0x6c], 0x1e7710c0
cmp rbx, rsi
je 0x140005526
mov dword [rbx], 0x8cd6bc14
mov dword [rbx + 4], 0x408d2c8a
mov dword [rbx + 8], 0xa7da2183
mov dword [rbx + 0xc], 0x1e7710c0
add rbx, 0x10
mov qword [rbp + 0x120], rbx
jmp 0x140005548
lea r8, [rsp + 0x60]
mov rdx, rbx
lea rcx, [rbp + 0x118]
call fcn.14000a7a0
mov rsi, qword [rbp + 0x128]
mov rbx, qword [rbp + 0x120]
mov dword [rsp + 0x70], 0x6f6cf73e
mov dword [rsp + 0x74], 0x58791f92
mov dword [rsp + 0x78], 0xc1c420f2
mov dword [rsp + 0x7c], 0x37097e9b
cmp rbx, rsi
je 0x140005595
mov dword [rbx], 0x6f6cf73e
mov dword [rbx + 4], 0x58791f92
mov dword [rbx + 8], 0xc1c420f2
mov dword [rbx + 0xc], 0x37097e9b
add rbx, 0x10
mov qword [rbp + 0x120], rbx
jmp 0x1400055b7
lea r8, [rsp + 0x70]
mov rdx, rbx
lea rcx, [rbp + 0x118]
call fcn.14000a7a0
mov rsi, qword [rbp + 0x128]
mov rbx, qword [rbp + 0x120]
mov dword [rbp - 0x80], 0x7c871420
mov dword [rbp - 0x7c], 0x422e5971
mov dword [rbp - 0x78], 0x7bfc1eba
mov dword [rbp - 0x74], 0xf4668c88
cmp rbx, rsi
je 0x140005600
mov dword [rbx], 0x7c871420
mov dword [rbx + 4], 0x422e5971
mov dword [rbx + 8], 0x7bfc1eba
mov dword [rbx + 0xc], 0xf4668c88
add rbx, 0x10
mov qword [rbp + 0x120], rbx
jmp 0x140005621
lea r8, [rbp - 0x80]
mov rdx, rbx
lea rcx, [rbp + 0x118]
call fcn.14000a7a0
mov rsi, qword [rbp + 0x128]
mov rbx, qword [rbp + 0x120]
mov qword [rbp - 0x50], r12
movdqa xmm0, xmmword [0x14003faf0]
movdqa xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r12w
mov r8d, 6
lea rdx, str.GlideX
lea rcx, [rbp - 0x50]
call fcn.140003d50
nop
mov qword [rbp - 0x30], r12
movdqa xmm0, xmmword [0x14003faf0]
movdqa xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r12w
mov r8d, 0x13
lea rdx, str.GlideX_TraceSession
lea rcx, [rbp - 0x30]
call fcn.140003d50
nop
mov dword [rbp - 0x10], 0x88a8f0c4
mov dword [rbp - 0xc], 0x49cc1380
mov dword [rbp - 8], 0x89fb4aa3
mov dword [rbp - 4], 0x3fe271e6
xorps xmm0, xmm0
movdqa xmmword [rbp], xmm0
mov qword [rbp + 0x10], r12
mov r14, qword [rbp + 0x118]
cmp r14, rbx
je 0x1400056e6
sub rbx, r14
mov rdi, rbx
sar rdi, 4
mov rdx, rdi
call fcn.14000a1f0
mov qword [rbp], rax
mov qword [rbp + 8], rax
shl rdi, 4
add rdi, rax
mov qword [rbp + 0x10], rdi
mov r8, rbx
mov rdx, r14
mov rcx, rax
call fcn.140015370
mov qword [rbp + 8], rdi
mov qword [rbp + 0x18], r12
mov qword [rbp + 0x20], r12
mov byte [rbp + 0x28], 4
mov r9, qword [r13 + 0x50]
cmp r9, qword [r13 + 0x58]
je 0x1400057aa
mov qword [r9], r12
mov qword [r9 + 0x10], r12
mov qword [r9 + 0x18], r12
movaps xmm0, xmmword [rbp - 0x50]
movups xmmword [r9], xmm0
movaps xmm1, xmmword [rbp - 0x40]
movups xmmword [r9 + 0x10], xmm1
movdqa xmm0, xmmword [0x14003faf0]
movdqa xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r12w
mov qword [r9 + 0x20], r12
mov qword [r9 + 0x30], r12
mov qword [r9 + 0x38], r12
movaps xmm0, xmmword [rbp - 0x30]
movups xmmword [r9 + 0x20], xmm0
movaps xmm1, xmmword [rbp - 0x20]
movups xmmword [r9 + 0x30], xmm1
movdqa xmm0, xmmword [0x14003faf0]
movdqa xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r12w
movaps xmm0, xmmword [rbp - 0x10]
movups xmmword [r9 + 0x40], xmm0
mov rdx, qword [rbp + 0x10]
mov qword [rbp + 0x10], r12
mov rcx, qword [rbp + 8]
mov qword [rbp + 8], r12
mov rax, qword [rbp]
mov qword [rbp], r12
mov qword [r9 + 0x50], rax
mov qword [r9 + 0x58], rcx
mov qword [r9 + 0x60], rdx
mov rax, qword [rbp + 0x18]
mov qword [r9 + 0x68], rax
mov rax, qword [rbp + 0x20]
mov qword [r9 + 0x70], rax
movzx eax, byte [rbp + 0x28]
mov byte [r9 + 0x78], al
sub qword [r13 + 0x50], 0xffffffffffffff80
jmp 0x1400057bb
lea r8, [rbp - 0x50]
mov rdx, r9
lea rcx, [r13 + 0x48]
call fcn.14000a520
nop
lea rcx, [rbp - 0x50]
call fcn.1400058f0
xor ecx, ecx
call fcn.14001c0cc
mov qword [r13], rax
call qword [sym.imp.api_ms_win_core_threadpool_legacy_l1_1_0.dll_CreateTimerQueue]
mov qword [r13 + 0x80], rax
test rax, rax
jne 0x1400057fc
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateTimerQueue_failed___d_
call fcn.14000b900
mov rax, qword [0x14004b1d0]
lea rcx, [r13 + 0x78]
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x28], 0x36ee80
mov dword [rsp + 0x20], r12d
xor r9d, r9d
lea r8, [0x140008ca0]
mov rdx, rax
call qword [sym.imp.api_ms_win_core_threadpool_legacy_l1_1_0.dll_CreateTimerQueueTimer]
test eax, eax
jne 0x140005842
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateTimerQueueTimer_failed___d_
call fcn.14000b900
jmp 0x14000584f
lea rcx, str.StartScheduler_success
call fcn.14000b900
nop
test r14, r14
je 0x140005888
sub rsi, r14
and rsi, 0xfffffffffffffff0
mov rax, r14
cmp rsi, 0x1000
jb 0x14000587c
add rsi, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400058c5
mov rdx, rsi
mov rcx, r14
call fcn.140012fbc
nop
mov rax, r13
mov rcx, qword [rbp + 0x148]
xor rcx, rsp
call fcn.140012f70
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140019554
nop
call fcn.140019554
nop
call fcn.140019554
nop
call fcn.140019554
int3
call fcn.140003f50
int3