Function at 0x14000e5a4
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 - 0x378]
sub rsp, 0x440
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov rax, qword [0x14007c010]
xor rax, rsp
mov qword [rbp + 0x330], rax
mov r14, rdx
mov rbx, rcx
mov rcx, rdx
cmp qword [rdx + 0x18], 8
jb 0x14000e5f1
mov rcx, qword [rdx]
lea rdx, str..exe
call fcn.14000de00
xor r13d, r13d
test rax, rax
je 0x14000ee53
cmp word [rax], r13w
je 0x14000ee53
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x14000e620
mov rcx, qword [r14]
sub rax, rcx
sar rax, 1
mov r12, r13
cmp eax, 0x104
jae 0x14000ee53
mov edi, eax
mov r8d, eax
mov rcx, r14
call fcn.14000f5fc
mov rcx, rax
cmp rax, 0xffffffffffffffff
je 0x14000e653
inc rax
mov r12d, edi
sub r12, rax
lea rax, [rcx + 1]
cmp rcx, 0xffffffffffffffff
cmove rax, r13
mov qword [rsp + 0x50], rax
test r12, r12
je 0x14000ee53
lea r9, [r12 + 4]
mov r8, rax
lea rdx, [rbp - 0x48]
mov rcx, r14
call fcn.14000f558
movdqa xmm0, xmmword [0x14006c970]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r13w
lea rcx, str.Kernel32.dll
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test rax, rax
jne 0x14000e700
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbx + 0x10], xmm1
mov rax, qword [rbp - 0x30]
cmp rax, 8
jb 0x14000ee65
mov rcx, qword [rbp - 0x48]
mov rdx, rcx
lea rax, [rax*2 + 2]
mov edi, 0x1000
cmp rax, rdi
jb 0x14000e6f5
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000e6f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
jmp 0x14000ee65
lea rdx, str.GetCurrentPackageId
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14000ee2b
mov dword [rsp + 0x30], r13d
xor edx, edx
lea rcx, [rsp + 0x30]
call qword [case.0x14003f18e.0]
cmp eax, 0x7a
je 0x14000e786
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbx + 0x10], xmm1
mov rax, qword [rbp - 0x30]
cmp rax, 8
jb 0x14000ee65
mov rcx, qword [rbp - 0x48]
mov rdx, rcx
lea rax, [rax*2 + 2]
mov edi, 0x1000
cmp rax, rdi
jb 0x14000e6f5
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000e6f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov edx, dword [rsp + 0x30]
lea rcx, [rsp + 0x58]
call fcn.14000f500
mov rsi, qword [rsp + 0x58]
mov rdx, rsi
lea rcx, [rsp + 0x30]
mov rax, rdi
call qword [case.0x14003f18e.0]
test eax, eax
je 0x14000e87d
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbx + 0x10], xmm1
mov edi, 0x1000
test rsi, rsi
je 0x14000e83b
mov rcx, rsi
mov rax, qword [rsp + 0x68]
sub rax, rsi
cmp rax, rdi
jb 0x14000e7f4
mov rsi, qword [rsi - 8]
sub rcx, rsi
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14000e7f4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov rax, qword [rbp - 0x70]
cmp rax, 8
jb 0x14000e83b
mov rcx, qword [rsp + 0x78]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x14000e834
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000e834
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp - 0x30]
cmp rax, 8
jb 0x14000ee65
mov rcx, qword [rbp - 0x48]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x14000e6f5
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000e6f5
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov qword [rsp + 0x38], r13
lea r9, [rsp + 0x38]
xor r8d, r8d
xor edx, edx
lea rcx, [0x140044220]
call qword [sym.imp.SHELL32.dll_SHGetKnownFolderPath]
test eax, eax
js 0x14000ee20
mov rax, qword [rsi + 0x28]
mov qword [rsp + 0x48], rax
lea rdx, [0x140048be4]
lea rcx, [rbp + 0xb8]
call fcn.14000c624
mov r13, rax
mov rax, qword [rsi + 0x10]
mov qword [rsp + 0x40], rax
lea rdx, [0x140048be8]
lea rcx, [rbp + 0x98]
call fcn.14000c624
mov rdi, rax
mov rdx, qword [rsp + 0x38]
lea rcx, [rbp + 0x78]
call fcn.14000c624
mov r9, qword [rax + 0x10]
mov rcx, qword [rax + 0x18]
sub rcx, r9
cmp qword [rdi + 0x10], rcx
jbe 0x14000e924
mov rcx, qword [rdi + 0x18]
sub rcx, qword [rdi + 0x10]
cmp rcx, r9
jb 0x14000e924
cmp qword [rax + 0x18], 8
jb 0x14000e915
mov rax, qword [rax]
mov r8, rax
xor edx, edx
mov rcx, rdi
call fcn.14000f7e0
jmp 0x14000e930
mov rdx, rdi
mov rcx, rax
call fcn.14000c2c8
nop
movups xmm0, xmmword [rax]
movups xmmword [rbp - 8], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 8], xmm1
xor edi, edi
lea r15d, [rdi + 7]
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r15
mov word [rax], di
mov rdx, qword [rsp + 0x40]
lea rcx, [rbp - 8]
call fcn.14000c48c
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x68], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x58], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r15
mov word [rax], di
mov rax, qword [rbp - 0x50]
mov r9, qword [rbp - 0x58]
sub rax, r9
cmp qword [r13 + 0x10], rax
jbe 0x14000e9b0
mov rax, qword [r13 + 0x18]
sub rax, qword [r13 + 0x10]
cmp rax, r9
jb 0x14000e9b0
lea r8, [rbp - 0x68]
cmp qword [rbp - 0x50], 8
cmovae r8, qword [rbp - 0x68]
xor edx, edx
mov rcx, r13
call fcn.14000f7e0
jmp 0x14000e9bd
mov rdx, r13
lea rcx, [rbp - 0x68]
call fcn.14000c2c8
nop
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x28], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x18], xmm1
xor r13d, r13d
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r15
mov word [rax], r13w
mov rdx, qword [rsp + 0x48]
lea rcx, [rbp - 0x28]
call fcn.14000c48c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x48], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x48], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r15
mov word [rax], r13w
lea rdx, [0x140047554]
lea rcx, [rbp + 0x38]
call fcn.14000c48c
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x28], xmm0
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x18], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x28], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r15
mov word [rax], r13w
lea rdx, [rbp - 0x48]
lea rcx, [rbp + 0x18]
call fcn.14000c2c8
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], r15
mov word [rax], r13w
lea rdx, [rbp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14000fd98
mov edi, 0x1000
mov rax, qword [rbp + 0x70]
cmp rax, 8
jb 0x14000eab7
mov rcx, qword [rbp + 0x58]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x14000eab0
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000eab0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rax, qword [rbp + 0x30]
cmp rax, 8
jb 0x14000eaf4
mov rcx, qword [rbp + 0x18]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x14000eaed
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000eaed
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x14006c970]
movdqu xmmword [rbp + 0x28], xmm0
mov word [rbp + 0x18], r13w
mov rax, qword [rbp + 0x50]
cmp rax, 8
jb 0x14000eb43
mov rcx, qword [rbp + 0x38]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x14000eb3c
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000eb3c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x14006c970]
movdqu xmmword [rbp + 0x48], xmm0
mov word [rbp + 0x38], r13w
mov rax, qword [rbp - 0x10]
cmp rax, 8
jb 0x14000eb97
mov rcx, qword [rbp - 0x28]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x14000eb90
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000eb90
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
nop dword [rax + rax]
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x14006c970]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r13w
mov rax, qword [rbp - 0x50]
cmp rax, 8
jb 0x14000ebe6
mov rcx, qword [rbp - 0x68]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x14000ebdf
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000ebdf
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x14006c970]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r13w
mov rax, qword [rbp + 0x10]
cmp rax, 8
jb 0x14000ec35
mov rcx, qword [rbp - 8]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x14000ec2e
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000ec2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x14006c970]
movdqu xmmword [rbp + 8], xmm0
mov word [rbp - 8], r13w
mov rax, qword [rbp + 0x90]
cmp rax, 8
jb 0x14000ec87
mov rcx, qword [rbp + 0x78]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x14000ec80
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000ec80
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x14006c970]
movdqu xmmword [rbp + 0x88], xmm0
mov word [rbp + 0x78], r13w
mov rax, qword [rbp + 0xb0]
cmp rax, 8
jb 0x14000ecdf
mov rcx, qword [rbp + 0x98]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x14000ecd8
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000ecd8
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
movdqa xmm0, xmmword [0x14006c970]
movdqu xmmword [rbp + 0xa8], xmm0
mov word [rbp + 0x98], r13w
mov rax, qword [rbp + 0xd0]
cmp rax, 8
jb 0x14000ed3a
mov rcx, qword [rbp + 0xb8]
mov rdx, rcx
lea rax, [rax*2 + 2]
cmp rax, rdi
jb 0x14000ed33
mov rcx, qword [rcx - 8]
sub rdx, rcx
lea rax, [rdx - 8]
cmp rax, 0x1f
jbe 0x14000ed33
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
mov rcx, qword [rsp + 0x38]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
lea rdx, [rbp + 0xe0]
call qword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp rax, 0xffffffffffffffff
jne 0x14000edbe
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r15
mov word [rbx], r13w
mov rcx, rsi
mov rax, qword [rsp + 0x68]
sub rax, rsi
cmp rax, rdi
jb 0x14000ed9c
mov rsi, qword [rsi - 8]
sub rcx, rsi
lea rax, [rcx - 8]
cmp rax, 0x1f
jbe 0x14000ed9c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, rsi
call qword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
nop
lea rcx, [rsp + 0x78]
call fcn.14000c6b0
lea rcx, [rbp - 0x48]
call fcn.14000c6b0
jmp 0x14000ee65
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_FindClose]
mov rcx, r14
cmp qword [r14 + 0x18], 8
jb 0x14000edd4
mov rcx, qword [r14]
mov edi, 1
mov qword [rsp + 0x20], rdi
mov rdx, qword [r14 + 0x10]
call fcn.14000f8f0
cmp rax, rdi
jb 0x14000ee20
mov r9d, edi
lea r8, [0x140047504]
xor edx, edx
mov rcx, r14
call fcn.14000f7e0
mov rdx, qword [rsp + 0x50]
add rdx, 5
add rdx, r12
lea r9d, [rdi + 1]
lea r8, [0x140047798]
mov rcx, r14
call fcn.14000f7e0
nop
lea rcx, [rsp + 0x58]
call fcn.14000f4a8
nop
movups xmm0, xmmword [rsp + 0x78]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp - 0x78]
movups xmmword [rbx + 0x10], xmm1
movdqa xmm0, xmmword [0x14006c970]
movdqu xmmword [rbp - 0x78], xmm0
mov word [rsp + 0x78], r13w
jmp 0x14000eda6
mov r15d, 7
mov qword [rbx + 0x10], r13
mov qword [rbx + 0x18], r15
mov word [rbx], r13w
mov rax, rbx
mov rcx, qword [rbp + 0x330]
xor rcx, rsp
call fcn.14003ee60
mov rbx, qword [rsp + 0x490]
add rsp, 0x440
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret