Function at 0x14000ad70
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x430]
sub rsp, 0x530
mov rax, qword [0x1400c7070]
xor rax, rsp
mov qword [rbp + 0x420], rax
mov r15, rcx
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x210]
call fcn.1400659a0
mov edx, 0x104
lea rcx, [rbp + 0x210]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x14000b5a6
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x1f0], xmm0
mov qword [rbp + 0x200], rax
xor r13d, r13d
mov qword [rsp + 0x30], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r13w
lea r8d, [rax + 0xc]
lea rdx, str.comctl32.dll
lea rcx, [rsp + 0x30]
call fcn.14001c900
nop
mov qword [rsp + 0x50], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rsp + 0x60], xmm0
mov word [rsp + 0x50], r13w
lea r8d, [r13 + 0xb]
lea rdx, str.crypt32.dll
lea rcx, [rsp + 0x50]
call fcn.14001c900
nop
mov qword [rsp + 0x70], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp - 0x80], xmm0
mov word [rsp + 0x70], r13w
lea r8d, [r13 + 0xc]
lea rdx, str.iphlpapi.dll
lea rcx, [rsp + 0x70]
call fcn.14001c900
nop
mov qword [rbp - 0x70], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp - 0x60], xmm0
mov word [rbp - 0x70], r13w
lea r8d, [r13 + 7]
lea rdx, str.msi.dll
lea rcx, [rbp - 0x70]
call fcn.14001c900
nop
mov qword [rbp - 0x50], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp - 0x40], xmm0
mov word [rbp - 0x50], r13w
lea r8d, [r13 + 0xc]
lea rdx, str.oleaut32.dll
lea rcx, [rbp - 0x50]
call fcn.14001c900
nop
mov qword [rbp - 0x30], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp - 0x20], xmm0
mov word [rbp - 0x30], r13w
lea r8d, [r13 + 0xc]
lea rdx, str.rasapi32.dll
lea rcx, [rbp - 0x30]
call fcn.14001c900
nop
mov qword [rbp - 0x10], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp], xmm0
mov word [rbp - 0x10], r13w
lea r8d, [r13 + 0xb]
lea rdx, str.shell32.dll
lea rcx, [rbp - 0x10]
call fcn.14001c900
nop
mov qword [rbp + 0x10], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp + 0x20], xmm0
mov word [rbp + 0x10], r13w
lea r8d, [r13 + 0xb]
lea rdx, str.shlwapi.dll
lea rcx, [rbp + 0x10]
call fcn.14001c900
nop
mov qword [rbp + 0x30], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp + 0x40], xmm0
mov word [rbp + 0x30], r13w
lea r8d, [r13 + 0xa]
lea rdx, str.urlmon.dll
lea rcx, [rbp + 0x30]
call fcn.14001c900
nop
mov qword [rbp + 0x50], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp + 0x60], xmm0
mov word [rbp + 0x50], r13w
lea r8d, [r13 + 0xb]
lea rdx, str.userenv.dll
lea rcx, [rbp + 0x50]
call fcn.14001c900
nop
mov qword [rbp + 0x70], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp + 0x80], xmm0
mov word [rbp + 0x70], r13w
lea r8d, [r13 + 0xb]
lea rdx, str.version.dll
lea rcx, [rbp + 0x70]
call fcn.14001c900
nop
mov qword [rbp + 0x90], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], r13w
lea r8d, [r13 + 0xb]
lea rdx, str.wininet.dll
lea rcx, [rbp + 0x90]
call fcn.14001c900
nop
mov qword [rbp + 0xb0], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp + 0xc0], xmm0
mov word [rbp + 0xb0], r13w
lea r8d, [r13 + 0xc]
lea rdx, str.wtsapi32.dll
lea rcx, [rbp + 0xb0]
call fcn.14001c900
nop
mov qword [rbp + 0xd0], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp + 0xe0], xmm0
mov word [rbp + 0xd0], r13w
lea r8d, [r13 + 0xb]
lea rdx, str.profapi.dll
lea rcx, [rbp + 0xd0]
call fcn.14001c900
nop
mov qword [rbp + 0xf0], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp + 0x100], xmm0
mov word [rbp + 0xf0], r13w
lea r8d, [r13 + 0xc]
lea rdx, str.wintrust.dll
lea rcx, [rbp + 0xf0]
call fcn.14001c900
nop
mov qword [rbp + 0x110], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp + 0x120], xmm0
mov word [rbp + 0x110], r13w
lea r8d, [r13 + 0xb]
lea rdx, str.cryptsp.dll
lea rcx, [rbp + 0x110]
call fcn.14001c900
nop
mov qword [rbp + 0x130], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp + 0x140], xmm0
mov word [rbp + 0x130], r13w
lea r8d, [r13 + 0xd]
lea rdx, str.cryptbase.dll
lea rcx, [rbp + 0x130]
call fcn.14001c900
nop
mov qword [rbp + 0x150], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp + 0x160], xmm0
mov word [rbp + 0x150], r13w
lea r8d, [r13 + 0xa]
lea rdx, str.rsaenh.dll
lea rcx, [rbp + 0x150]
call fcn.14001c900
nop
mov qword [rbp + 0x170], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp + 0x180], xmm0
mov word [rbp + 0x170], r13w
lea r8d, [r13 + 0xa]
lea rdx, str.msasn1.dll
lea rcx, [rbp + 0x170]
call fcn.14001c900
nop
mov qword [rbp + 0x190], r13
movdqa xmm0, xmmword [0x1400b20f0]
movdqa xmmword [rbp + 0x1a0], xmm0
mov word [rbp + 0x190], r13w
lea r8d, [r13 + 9]
lea rdx, str.psapi.dll
lea rcx, [rbp + 0x190]
call fcn.14001c900
nop
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x1f0], xmm0
mov qword [rbp + 0x200], r13
mov ecx, 0x280
call fcn.140062618
mov rbx, rax
mov qword [rbp + 0x1f0], rax
mov qword [rbp + 0x1f8], rax
lea rcx, [rax + 0x280]
mov qword [rbp + 0x200], rcx
lea rax, [rbp + 0x1f0]
mov qword [rsp + 0x20], rax
lea rdi, [rsp + 0x30]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1d0], xmm0
mov qword [rbp + 0x1d0], rbx
mov qword [rbp + 0x1d8], rbx
lea rax, [rbp + 0x1f0]
mov qword [rbp + 0x1e0], rax
nop word [rax + rax]
mov rdx, rdi
mov rcx, rbx
call fcn.140013070
add rbx, 0x20
mov qword [rbp + 0x1d8], rbx
add rdi, 0x20
lea rax, [rbp + 0x1b0]
cmp rdi, rax
jne 0x14000b240
mov rdx, rbx
mov rcx, rbx
call fcn.140019e70
mov qword [rbp + 0x1f8], rbx
lea r9, [fcn.140004890]
mov edx, 0x20
lea r8d, [rdx - 0xc]
lea rcx, [rsp + 0x30]
call fcn.14006268c
mov qword [rbp + 0x1b0], r13
mov qword [rbp + 0x1c0], r13
mov qword [rbp + 0x1c8], 7
mov word [rbp + 0x1b0], r13w
lea rax, [rbp + 0x210]
mov r8, 0xffffffffffffffff
inc r8
cmp word [rax + r8*2], 0
jne 0x14000b2c1
lea rdx, [rbp + 0x210]
lea rcx, [rbp + 0x1b0]
call fcn.14001c900
nop
lea rax, [rbp + 0x1b0]
mov rcx, qword [rbp + 0x1b0]
mov rdx, qword [rbp + 0x1c8]
cmp rdx, 8
cmovae rax, rcx
mov rsi, qword [rbp + 0x1c0]
cmp word [rax + rsi*2 - 2], 0x5c
je 0x14000b33a
mov r8d, 1
lea rdx, [0x1400a1b64]
lea rcx, [rbp + 0x1b0]
call fcn.140012f00
mov rdx, qword [rbp + 0x1c8]
mov rsi, qword [rbp + 0x1c0]
mov rcx, qword [rbp + 0x1b0]
mov rbx, qword [rbp + 0x1f0]
mov r12, qword [rbp + 0x1f8]
cmp rbx, r12
je 0x14000b54c
movabs r8, 0x7fffffffffffffff
movabs rax, 0x7ffffffffffffffe
mov qword [rbp + 0x1d0], r13
mov qword [rbp + 0x1e0], r13
mov qword [rbp + 0x1e8], r13
lea r14, [rbp + 0x1b0]
cmp rdx, 8
cmovae r14, rcx
cmp rsi, 8
jae 0x14000b3aa
movups xmm0, xmmword [r14]
movups xmmword [rbp + 0x1d0], xmm0
mov qword [rbp + 0x1e8], 7
jmp 0x14000b43f
mov rdi, rsi
or rdi, 7
cmp rdi, rax
cmova rdi, rax
mov rax, rdi
add rax, 1
mov rcx, 0xffffffffffffffff
cmovb rax, rcx
cmp rax, r8
ja 0x14000b5e2
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x14000b40f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14000b5e2
mov rcx, rax
call fcn.140062618
mov rcx, rax
test rax, rax
je 0x14000b5dc
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x14000b41e
test rcx, rcx
je 0x14000b41b
call fcn.140062618
jmp 0x14000b41e
mov rax, r13
mov qword [rbp + 0x1d0], rax
lea r8, [rsi*2 + 2]
mov rdx, r14
mov rcx, rax
call fcn.140065250
mov qword [rbp + 0x1e8], rdi
mov qword [rbp + 0x1e0], rsi
mov rdx, rbx
cmp qword [rbx + 0x18], 8
jb 0x14000b453
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rbp + 0x1d0]
call fcn.140012f00
lea rcx, [rbp + 0x1d0]
cmp qword [rbp + 0x1e8], 8
cmovae rcx, qword [rbp + 0x1d0]
xor edx, edx
lea r8d, [rdx + 8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov r9, rax
test rax, rax
je 0x14000b4e3
mov r8, qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov qword [rsp + 0x20], r8
mov qword [rsp + 0x28], rax
mov rdx, qword [r15 + 8]
cmp rdx, qword [r15 + 0x10]
je 0x14000b4bd
mov rcx, r13
mov rax, r8
mov qword [rdx], rax
mov qword [rdx + 8], r9
add qword [r15 + 8], 0x10
jmp 0x14000b4d4
lea r8, [rsp + 0x20]
mov rcx, r15
call fcn.140018c20
mov rcx, qword [rsp + 0x28]
mov r8, qword [rsp + 0x20]
test rcx, rcx
je 0x14000b4e3
mov rax, r8
call qword [0x1400926f0]
nop
mov rdx, qword [rbp + 0x1e8]
cmp rdx, 8
jb 0x14000b529
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x1d0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b524
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b5dc
call fcn.140062610
add rbx, 0x20
mov rdx, qword [rbp + 0x1c8]
mov rcx, qword [rbp + 0x1b0]
cmp rbx, r12
je 0x14000b54c
mov rsi, qword [rbp + 0x1c0]
jmp 0x14000b351
cmp rdx, 8
jb 0x14000b580
lea rdx, [rdx*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000b57b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000b5d6
call fcn.140062610
mov qword [rbp + 0x1c0], r13
mov qword [rbp + 0x1c8], 7
mov word [rbp + 0x1b0], r13w
lea rcx, [rbp + 0x1f0]
call fcn.140014e10
mov rcx, qword [rbp + 0x420]
xor rcx, rsp
call fcn.1400625f0
lea r11, [rsp + 0x530]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.1400695b8
nop
call fcn.1400695b8
int3
call fcn.14001da60
int3