Function at 0x14000a530
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2a0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14005d3d0]
xor rax, rsp
mov qword [rbp + 0x190], rax
xor r14d, r14d
lea rax, [0x1400620d0]
mov qword [rsp + 0x58], rax
mov rcx, rax
call fcn.14002220c
test eax, eax
je 0x14000a593
mov ecx, eax
call fcn.140021fa0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.14000c570
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x24]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x14000a5ce
mov r14d, 0x1f
jmp 0x14000ae8a
lea r12, [0x1400620d8]
mov qword [rsp + 0x30], r12
mov rbx, qword [0x1400620e0]
mov qword [rsp + 0x70], rbx
cmp rbx, qword [0x1400620e8]
jb 0x14000a60a
lea rdx, [rbx + 1]
mov rcx, r12
call fcn.14000af00
test al, al
jne 0x14000a60a
mov ecx, 0x8007000e
call fcn.140001260
int3
mov rax, qword [0x1400620d8]
lea rbx, [rax + rbx*8]
mov qword [rsp + 0x60], rbx
or rdi, 0xffffffffffffffff
test rbx, rbx
je 0x14000a6a0
call fcn.1400014b0
mov rcx, rax
mov eax, r14d
test rcx, rcx
setne al
test eax, eax
jne 0x14000a643
mov ecx, 0x80004005
call fcn.140001260
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbx], rax
lea rcx, [rbp - 0x80]
lea rax, [rbp - 0x80]
test rax, 0xffffffffffff0000
jne 0x14000a67f
movzx esi, cx
mov ecx, esi
call fcn.140001330
test rax, rax
je 0x14000a6a0
mov r8d, esi
mov rdx, rax
mov rcx, rbx
call fcn.140002b50
jmp 0x14000a6a0
lea rcx, [rbp - 0x80]
mov rax, rdi
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000a686
mov r8d, eax
lea rdx, [rbp - 0x80]
mov rcx, rbx
call fcn.1400055a0
nop
inc qword [0x1400620e0]
call fcn.1400014b0
mov rcx, rax
mov eax, r14d
test rcx, rcx
setne al
test eax, eax
jne 0x14000a6c7
mov ecx, 0x80004005
call fcn.140001260
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x60], rbx
lea rax, [rbp - 0x80]
lea r15, [rbp - 0x80]
shr r15, 0x10
mov qword [rsp + 0x30], r15
mov r13d, 1
test r15, r15
jne 0x14000a71a
movzx ebx, ax
mov ecx, ebx
call fcn.140001330
test rax, rax
je 0x14000a812
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x60]
call fcn.140002b50
jmp 0x14000a812
lea rax, [rbp - 0x80]
mov rsi, rdi
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14000a721
test esi, esi
jne 0x14000a78b
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14000a812
cmp dword [rdx + 0x10], 0
jge 0x14000a764
cmp dword [rbx - 0xc], 0
jge 0x14000a757
mov ecx, 0x80070057
call fcn.140001260
int3
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x14000a812
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a774
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x60], rax
jmp 0x14000a812
mov r12d, dword [rbx - 0x10]
lea r15, [rbp - 0x80]
sub r15, rbx
sar r15, 1
test esi, esi
jns 0x14000a7a8
mov ecx, 0x80070057
call fcn.140001260
int3
mov ecx, r13d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x14000a7c8
mov edx, esi
lea rcx, [rsp + 0x60]
call fcn.140002740
mov rbx, qword [rsp + 0x60]
movsxd rax, esi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r15, r12
lea r12, [rax + rax]
mov r9, r12
ja 0x14000a7ec
lea r8, [rbx + r15*2]
call fcn.14000c79c
jmp 0x14000a7f5
lea r8, [rbp - 0x80]
call fcn.14000c238
cmp esi, dword [rbx - 0xc]
jg 0x14000aebc
mov dword [rbx - 0x10], esi
mov word [r12 + rbx], r14w
mov r15, qword [rsp + 0x30]
lea r12, [0x1400620d8]
mov r8d, 0xa
lea rdx, str._assembly_
lea rcx, [rsp + 0x60]
call fcn.1400058d0
mov qword [rsp + 0x68], r12
mov rbx, qword [0x1400620e0]
mov qword [rsp + 0x38], rbx
cmp rbx, qword [0x1400620e8]
jb 0x14000a85e
lea rdx, [rbx + 1]
mov rcx, r12
call fcn.14000af00
test al, al
jne 0x14000a85e
mov ecx, 0x8007000e
call fcn.140001260
int3
mov rax, qword [0x1400620d8]
lea rcx, [rax + rbx*8]
mov qword [rsp + 0x40], rcx
test rcx, rcx
je 0x14000a87e
mov rdx, qword [rsp + 0x60]
call fcn.140005260
nop
inc qword [0x1400620e0]
call fcn.1400014b0
mov rcx, rax
mov eax, r14d
test rcx, rcx
setne al
test eax, eax
jne 0x14000a8a5
mov ecx, 0x80004005
call fcn.140001260
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x68], rbx
lea rax, [rbp - 0x80]
test r15, r15
jne 0x14000a8e5
movzx ebx, ax
mov ecx, ebx
call fcn.140001330
test rax, rax
je 0x14000a9e1
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140002b50
jmp 0x14000a9e1
lea rax, [rbp - 0x80]
mov rsi, rdi
nop dword [rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14000a8f0
test esi, esi
jne 0x14000a95a
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14000a9e1
cmp dword [rdx + 0x10], 0
jge 0x14000a933
cmp dword [rbx - 0xc], 0
jge 0x14000a926
mov ecx, 0x80070057
call fcn.140001260
int3
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x14000a9e1
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000a943
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x68], rax
jmp 0x14000a9e1
mov r12d, dword [rbx - 0x10]
lea r15, [rbp - 0x80]
sub r15, rbx
sar r15, 1
test esi, esi
jns 0x14000a977
mov ecx, 0x80070057
call fcn.140001260
int3
mov ecx, r13d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, ecx
jge 0x14000a997
mov edx, esi
lea rcx, [rsp + 0x68]
call fcn.140002740
mov rbx, qword [rsp + 0x68]
movsxd rax, esi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r15, r12
lea r12, [rax + rax]
mov r9, r12
ja 0x14000a9bb
lea r8, [rbx + r15*2]
call fcn.14000c79c
jmp 0x14000a9c4
lea r8, [rbp - 0x80]
call fcn.14000c238
cmp esi, dword [rbx - 0xc]
jg 0x14000aeb1
mov dword [rbx - 0x10], esi
mov word [r12 + rbx], r14w
mov r15, qword [rsp + 0x30]
lea r12, [0x1400620d8]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElement
lea rdx, str.Microsoft.NET_assembly_
lea rcx, [rsp + 0x68]
call fcn.1400058d0
mov qword [rsp + 0x40], r12
mov rbx, qword [0x1400620e0]
mov qword [rsp + 0x38], rbx
cmp rbx, qword [0x1400620e8]
jb 0x14000aa2d
lea rdx, [rbx + 1]
mov rcx, r12
call fcn.14000af00
test al, al
jne 0x14000aa2d
mov ecx, 0x8007000e
call fcn.140001260
int3
mov rax, qword [0x1400620d8]
lea rcx, [rax + rbx*8]
mov qword [rsp + 0x70], rcx
test rcx, rcx
je 0x14000aa4d
mov rdx, qword [rsp + 0x68]
call fcn.140005260
nop
inc qword [0x1400620e0]
call fcn.1400014b0
mov rcx, rax
mov eax, r14d
test rcx, rcx
setne al
test eax, eax
jne 0x14000aa74
mov ecx, 0x80004005
call fcn.140001260
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x70], rbx
lea rax, [rbp - 0x80]
test r15, r15
jne 0x14000aab4
movzx ebx, ax
mov ecx, ebx
call fcn.140001330
test rax, rax
je 0x14000abb0
mov r8d, ebx
mov rdx, rax
lea rcx, [rsp + 0x70]
call fcn.140002b50
jmp 0x14000abb0
lea rax, [rbp - 0x80]
mov rsi, rdi
nop dword [rax + rax]
inc rsi
cmp word [rax + rsi*2], 0
jne 0x14000aac0
test esi, esi
jne 0x14000ab2a
lea rdx, [rbx - 0x18]
mov rsi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x14000abb0
cmp dword [rdx + 0x10], 0
jge 0x14000ab03
cmp dword [rbx - 0xc], 0
jge 0x14000aaf6
mov ecx, 0x80070057
call fcn.140001260
int3
mov dword [rbx - 0x10], r14d
mov word [rbx], r14w
jmp 0x14000abb0
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000ab13
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x70], rax
jmp 0x14000abb0
mov r12d, dword [rbx - 0x10]
lea r15, [rbp - 0x80]
sub r15, rbx
sar r15, 1
test esi, esi
jns 0x14000ab47
mov ecx, 0x80070057
call fcn.140001260
int3
sub r13d, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, esi
or eax, r13d
jge 0x14000ab66
mov edx, esi
lea rcx, [rsp + 0x70]
call fcn.140002740
mov rbx, qword [rsp + 0x70]
movsxd rax, esi
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
add rdx, rdx
cmp r15, r12
lea r12, [rax + rax]
mov r9, r12
ja 0x14000ab8a
lea r8, [rbx + r15*2]
call fcn.14000c79c
jmp 0x14000ab93
lea r8, [rbp - 0x80]
call fcn.14000c238
cmp esi, dword [rbx - 0xc]
jg 0x14000aea6
mov dword [rbx - 0x10], esi
mov word [r12 + rbx], r14w
mov r15, qword [rsp + 0x30]
lea r12, [0x1400620d8]
mov r8d, reloc.OLEAUT32.dll_SafeArrayGetElement
lea rdx, str.Microsoft.NETFramework
lea rcx, [rsp + 0x70]
call fcn.1400058d0
mov qword [rsp + 0x40], r12
mov rbx, qword [0x1400620e0]
mov qword [rsp + 0x38], rbx
cmp rbx, qword [0x1400620e8]
jb 0x14000abfc
lea rdx, [rbx + 1]
mov rcx, r12
call fcn.14000af00
test al, al
jne 0x14000abfc
mov ecx, 0x8007000e
call fcn.140001260
int3
mov rax, qword [0x1400620d8]
lea rcx, [rax + rbx*8]
mov qword [rsp + 0x48], rcx
mov rbx, qword [rsp + 0x70]
test rcx, rcx
je 0x14000ac1f
mov rdx, rbx
call fcn.140005260
nop
inc qword [0x1400620e0]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.14000c570
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x25]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x14000ac61
mov r14d, 0x1f
jmp 0x14000ae41
mov qword [rsp + 0x48], r12
mov rsi, qword [0x1400620e0]
mov qword [rsp + 0x40], rsi
cmp rsi, qword [0x1400620e8]
jb 0x14000ac96
lea rdx, [rsi + 1]
mov rcx, r12
call fcn.14000af00
test al, al
jne 0x14000ac96
mov ecx, 0x8007000e
call fcn.140001260
int3
mov rax, qword [0x1400620d8]
lea rsi, [rax + rsi*8]
mov qword [rsp + 0x38], rsi
test rsi, rsi
je 0x14000ad30
call fcn.1400014b0
mov rcx, rax
mov eax, r14d
test rcx, rcx
setne al
test eax, eax
jne 0x14000accf
mov ecx, 0x80004005
call fcn.140001260
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsi], rax
lea rax, [rbp - 0x80]
test r15, r15
jne 0x14000ad06
movzx r15d, ax
mov ecx, r15d
call fcn.140001330
test rax, rax
je 0x14000ad2b
mov r8d, r15d
mov rdx, rax
mov rcx, rsi
call fcn.140002b50
jmp 0x14000ad2b
lea rcx, [rbp - 0x80]
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000ad10
mov r8d, eax
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.1400055a0
jmp 0x14000ad30
mov r15, qword [rsp + 0x30]
inc qword [0x1400620e0]
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x80]
call fcn.14000c570
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 0x29]
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x14000ad72
mov r14d, 0x1f
jmp 0x14000ae41
mov qword [rsp + 0x48], r12
mov rsi, qword [0x1400620e0]
mov qword [rsp + 0x40], rsi
cmp rsi, qword [0x1400620e8]
jb 0x14000ada7
lea rdx, [rsi + 1]
mov rcx, r12
call fcn.14000af00
test al, al
jne 0x14000ada7
mov ecx, 0x8007000e
call fcn.140001260
int3
mov rax, qword [0x1400620d8]
lea rsi, [rax + rsi*8]
mov qword [rsp + 0x38], rsi
test rsi, rsi
je 0x14000ae3a
call fcn.1400014b0
mov rcx, rax
mov eax, r14d
test rcx, rcx
setne al
test eax, eax
jne 0x14000ade0
mov ecx, 0x80004005
call fcn.140001260
int3
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsi], rax
lea rax, [rbp - 0x80]
test r15, r15
jne 0x14000ae17
movzx r15d, ax
mov ecx, r15d
call fcn.140001330
test rax, rax
je 0x14000ae3a
mov r8d, r15d
mov rdx, rax
mov rcx, rsi
call fcn.140002b50
jmp 0x14000ae3a
lea rcx, [rbp - 0x80]
mov rax, rdi
nop
inc rax
cmp word [rcx + rax*2], 0
jne 0x14000ae20
mov r8d, eax
lea rdx, [rbp - 0x80]
mov rcx, rsi
call fcn.1400055a0
nop
inc qword [0x1400620e0]
lea rdx, [rbx - 0x18]
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000ae56
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000ae70
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x14000ae8a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lea rcx, [0x1400620d0]
call fcn.140022214
test eax, eax
je 0x14000aea1
mov ecx, eax
call fcn.140021fa0
mov eax, r14d
jmp 0x14000aec7
mov ecx, 0x80070057
call fcn.140001260
nop
mov ecx, 0x80070057
call fcn.140001260
nop
mov ecx, 0x80070057
call fcn.140001260
nop
mov rcx, qword [rbp + 0x190]
xor rcx, rsp
call fcn.14000bb80
lea r11, [rsp + 0x2a0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret