Function at 0x140029eb4
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x548]
sub rsp, 0x610
mov qword [rsp + 0x48], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x1405b7098]
xor rax, rsp
mov qword [rbp + 0x500], rax
mov rbx, rdx
mov r13, rcx
mov qword [rsp + 0x50], rdx
xor r12d, r12d
mov dword [rsp + 0x40], r12d
mov byte [rsp + 0x30], r12b
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 0x1df
lea r9, str.NGUsageTracking::CUsageTrackingHelper::getUsageTrackingPath
lea r8, [0x1405c6738]
mov rdx, qword [0x1405c6760]
lea rcx, [rbp + 0x40]
call fcn.1400169f8
nop
cmp qword [r13 + 0x40], r12
je 0x140029f69
lea edi, [r12 + 7]
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
lea rdx, [r13 + 0x30]
or r9, 0xffffffffffffffff
xor r8d, r8d
mov rcx, rbx
call fcn.14000ff84
mov dword [rsp + 0x40], 1
jmp 0x14002a35e
call fcn.140021b68
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x70], r12
mov edi, 7
mov qword [rsp + 0x70], rdi
mov qword [rsp + 0x68], r12
mov word [rsp + 0x58], r12w
or rsi, 0xffffffffffffffff
mov r9, rsi
xor r8d, r8d
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.14000ff84
nop
cmp qword [rsp + 0x68], r12
ja 0x14002a2a2
call fcn.140021960
mov rcx, rax
call fcn.140023268
test al, al
jne 0x14002a2a2
lea r9, str.Failed_to_CSxSConfig::GetDataFolder__Product_may_have_been_uninstalled
lea edx, [rdi + 0x79]
mov r8d, 0x1e9
lea rcx, [rbp + 0x40]
call fcn.140016e24
mov r15d, 0x20a
mov r8d, r15d
xor edx, edx
lea rcx, [rbp + 0xe0]
call fcn.1400fecb0
mov r8d, 0x104
lea rdx, [rbp + 0xe0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x14002a01b
movzx eax, r12w
mov word [rbp + 0xe0], ax
jmp 0x14002a022
movzx eax, word [rbp + 0xe0]
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x78], r12
mov word [rsp + 0x78], r12w
test ax, ax
jne 0x14002a042
mov r8, r12
jmp 0x14002a056
lea rax, [rbp + 0xe0]
mov r8, rsi
inc r8
cmp word [rax + r8*2], r12w
jne 0x14002a04c
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x78]
call fcn.14000fde0
nop
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 8]
call fcn.14002244c
nop
lea rdx, [rbp - 8]
lea rcx, [rbp - 0x68]
call fcn.14002244c
mov r14, rax
lea rax, [rbp - 8]
cmp rax, r14
je 0x14002a0ab
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 8]
call fcn.14000f964
mov rdx, r14
lea rcx, [rbp - 8]
call fcn.1400111b0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.14000f964
lea rdx, [rbp - 8]
lea rcx, [rbp + 0x18]
call fcn.14002227c
nop
mov qword [rbp - 0x18], r12
mov qword [rbp - 0x10], r12
mov qword [rbp - 0x10], rdi
mov qword [rbp - 0x18], r12
mov word [rbp - 0x28], r12w
mov r8, r15
xor edx, edx
lea rcx, [rbp + 0x2f0]
call fcn.1400fecb0
lea rax, [rbp + 0x2f0]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x23]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x14002a11c
movzx eax, r12w
mov word [rbp + 0x2f0], ax
jmp 0x14002a123
movzx eax, word [rbp + 0x2f0]
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x30], r12
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x38], r12
mov word [rbp - 0x48], r12w
test ax, ax
jne 0x14002a142
mov r8, r12
jmp 0x14002a156
lea rax, [rbp + 0x2f0]
mov r8, rsi
inc r8
cmp word [rax + r8*2], r12w
jne 0x14002a14c
lea rdx, [rbp + 0x2f0]
lea rcx, [rbp - 0x48]
call fcn.14000fde0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x28]
call fcn.14000f964
lea rdx, [rbp - 0x48]
lea rcx, [rbp - 0x28]
call fcn.1400111b0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x48]
call fcn.14000f964
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x58], r12
mov word [rbp - 0x68], r12w
mov r8d, 2
lea rdx, [0x140220f98]
lea rcx, [rbp - 0x68]
call fcn.14000fde0
nop
xor r9d, r9d
lea r8, [rbp - 0x68]
lea rdx, [rbp - 0x28]
lea rcx, [rbp - 0x48]
call fcn.140022014
mov r14, rax
lea rax, [rsp + 0x58]
cmp rax, r14
je 0x14002a1fb
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x58]
call fcn.14000f964
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.1400111b0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x48]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.14000f964
xor r9d, r9d
lea r8, [rbp + 0x18]
lea rdx, [rsp + 0x58]
lea rcx, [rbp - 0x68]
call fcn.140022014
mov r14, rax
lea rax, [rsp + 0x58]
cmp rax, r14
je 0x14002a257
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x58]
call fcn.14000f964
mov rdx, r14
lea rcx, [rsp + 0x58]
call fcn.1400111b0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x68]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 0x28]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x18]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp - 8]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x78]
call fcn.14000f964
mov qword [rbp - 0x78], r12
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x78], r12
mov word [rsp + 0x78], r12w
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
lea rdx, [0x140221378]
lea rcx, [rsp + 0x78]
call fcn.14000fde0
nop
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x58]
lea rcx, [rbp + 0x18]
call fcn.140022014
mov r15, rax
lea r14, [r13 + 0x30]
cmp r14, rax
je 0x14002a30b
xor r8d, r8d
mov dl, 1
mov rcx, r14
call fcn.14000f964
mov rdx, r15
mov rcx, r14
call fcn.1400111b0
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rbp + 0x18]
call fcn.14000f964
nop
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x78]
call fcn.14000f964
mov qword [rbx + 0x18], rdi
mov qword [rbx + 0x10], r12
mov word [rbx], r12w
mov r9, rsi
xor r8d, r8d
mov rdx, r14
mov rcx, rbx
call fcn.14000ff84
mov dword [rsp + 0x40], 1
xor r8d, r8d
mov dl, 1
lea rcx, [rsp + 0x58]
call fcn.14000f964
nop
lea rcx, [rbp + 0x40]
call fcn.140016b40
mov rax, rbx
mov rcx, qword [rbp + 0x500]
xor rcx, rsp
call fcn.1400fcfd0
mov rbx, qword [rsp + 0x660]
add rsp, 0x610
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret