Function at 0x18003b740
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x388]
sub rsp, 0x460
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x180194480]
xor rax, rsp
mov qword [rbp + 0x340], rax
xor r15d, r15d
mov rdx, qword [rdx]
movsxd rcx, dword [rdx + 0x3c]
add rcx, rdx
mov eax, 0xb8
mov edi, 0xa8
mov r8d, 0x20b
cmp word [rcx + 0x18], r8w
cmovne eax, edi
mov eax, dword [rax + rcx]
test eax, eax
je 0x18003c235
mov ecx, dword [rax + rdx + 0xc]
cmp ecx, 2
jne 0x18003c138
mov r14d, dword [rax + rdx + 0x14]
add r14, rdx
mov ecx, dword [r14]
cmp ecx, 0x53445352
jne 0x18003c036
add r14, 0x18
mov rdi, 0xffffffffffffffff
mov rax, rdi
nop dword [rax]
inc rax
cmp byte [r14 + rax], r15b
jne 0x18003b7e0
mov qword [rsp + 0x30], r14
mov qword [rsp + 0x38], rax
lea r13, str.non_zero_size_null_string_view
lea r12, [0x18010388c]
test rax, rax
je 0x18003b85b
test r14, r14
jne 0x18003b85b
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, 0x4b9
lea rdx, [0x180106820]
mov ecx, 2
call fcn.1800af120
cmp eax, 1
jne 0x18003b835
int3
mov qword [rsp + 0x20], r15
mov r9d, 0x4b9
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022EnterpriseVCToolsMSVC14.40.33807includexstring
lea rdx, [0x1801039c8]
lea rcx, str._non_zero_size_null_string_view_
call fcn.1800aa0a0
nop
mov qword [rbp + 0x240], r15
xorps xmm0, xmm0
movups xmmword [rbp + 0x248], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x258], xmm1
mov ecx, 0x10
call fcn.18009ef20
mov qword [rax + 8], r15
mov qword [rbp + 0x240], rax
lea rcx, [rbp + 0x240]
mov qword [rax], rcx
movdqa xmm6, xmmword [0x180108b80]
movdqu xmmword [rbp + 0x258], xmm6
mov word [rbp + 0x248], r15w
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x240]
call fcn.180029a10
mov rdx, rax
lea rcx, [rbp + 0x268]
call fcn.18000f610
nop
lea rcx, [rbp + 0x240]
call fcn.180013d90
mov r8, qword [rbp + 0x260]
cmp r8, 7
jbe 0x18003b901
mov rdx, qword [rbp + 0x248]
lea rcx, [rbp + 0x240]
call fcn.180013080
movdqu xmmword [rbp + 0x258], xmm6
mov word [rbp + 0x248], r15w
mov rcx, qword [rbp + 0x240]
mov qword [rbp + 0x240], r15
mov edx, 0x10
call fcn.18009ef80
nop
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
add eax, 1
mov ebx, eax
cmovb rbx, rdi
mov qword [rbp + 0x200], r15
xorps xmm0, xmm0
movups xmmword [rbp + 0x208], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x218], xmm1
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x18003c270
lea rax, [rbp + 0x1f8]
mov qword [rsp + 0x48], rax
mov ecx, 0x10
call fcn.18009ef20
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x200]
mov qword [rax], rcx
mov qword [rax + 8], r15
mov rax, qword [rsp + 0x40]
mov qword [rbp + 0x200], rax
cmp rbx, 7
ja 0x18003b9da
mov qword [rbp + 0x218], rbx
mov qword [rbp + 0x220], 7
test rbx, rbx
je 0x18003b9cf
movzx eax, r15w
lea rdi, [rbp + 0x208]
mov rcx, rbx
rep stosw word [rdi], ax
mov word [rbp + rbx*2 + 0x208], r15w
jmp 0x18003ba50
mov rdi, rbx
or rdi, 7
cmp rdi, rsi
jbe 0x18003b9fb
mov rcx, 0xfffffffffffffffe
call fcn.180001a50
mov qword [rbp + 0x220], rsi
jmp 0x18003ba2d
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x18003c26a
add rcx, rcx
call fcn.180001a50
mov qword [rbp + 0x220], rdi
mov qword [rbp + 0x218], rbx
mov qword [rbp + 0x208], rax
mov rdx, rax
movzx eax, r15w
mov rdi, rdx
mov rcx, rbx
rep stosw word [rdi], ax
mov word [rdx + rbx*2], r15w
lea rcx, [rbp + 0x208]
cmp qword [rbp + 0x220], 7
cmova rcx, qword [rbp + 0x208]
mov edx, dword [rbp + 0x218]
call qword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edx, eax
movzx r8d, r15w
lea rcx, [rbp + 0x200]
call fcn.180016a30
lea rcx, [rbp + 0x270]
cmp qword [rbp + 0x288], 7
cmova rcx, qword [rbp + 0x270]
call qword [sym.imp.SHLWAPI.dll_PathIsRelativeW]
test eax, eax
jne 0x18003bf69
lea rdx, [rbp + 0x270]
cmp qword [rbp + 0x288], 7
cmova rdx, qword [rbp + 0x270]
lea rcx, [rbp + 0x208]
cmp qword [rbp + 0x220], 7
cmova rcx, qword [rbp + 0x208]
call qword [sym.imp.SHLWAPI.dll_PathIsSameRootW]
test eax, eax
jne 0x18003bf69
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x308], xmm0
movups xmmword [rbp + 0x318], xmm0
movups xmmword [rbp + 0x328], xmm0
mov qword [rbp + 0x338], rax
mov r9d, 4
mov rsi, qword [rsp + 0x38]
mov r8, rsi
mov rdx, r14
lea rcx, [rbp + 0x308]
call fcn.1800564c0
nop
mov rbx, qword [rsp + 0x30]
mov qword [rbp + 8], rbx
mov qword [rbp + 0x10], rsi
mov qword [rbp + 0x18], r15
mov qword [rbp + 0x20], rbx
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x30], rsi
movups xmm0, xmmword [rbp + 8]
movaps xmmword [rbp + 0x180], xmm0
movsd xmm1, qword [rbp + 0x18]
movsd qword [rbp + 0x190], xmm1
movups xmm6, xmmword [rbp + 0x20]
movaps xmmword [rbp - 0x30], xmm6
movsd xmm0, qword [rbp + 0x30]
movsd qword [rbp - 0x20], xmm0
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x180]
call fcn.180001950
lea rdi, [rsi + rbx]
mov rax, rdi
cmp rdi, rbx
je 0x18003bba1
nop dword [rax + rax]
lea rcx, [rax - 1]
cmp byte [rcx], 0x2f
je 0x18003bba1
mov rax, rcx
cmp rcx, rbx
jne 0x18003bb90
sub rax, rbx
mov qword [rbp - 0x20], rax
movups xmmword [rbp + 0x228], xmm6
movsd xmm0, qword [rbp - 0x20]
movsd qword [rbp + 0x238], xmm0
mov qword [rbp - 0x10], rbx
mov qword [rbp - 8], rsi
mov qword [rbp], r15
movups xmm0, xmmword [rbp - 0x10]
movups xmmword [rbp + 0x1a0], xmm0
movsd xmm1, qword [rbp]
movsd qword [rbp + 0x1b0], xmm1
lea rdx, [rbp + 0x1a0]
lea rcx, [rbp + 0x228]
call fcn.180038e90
test al, al
je 0x18003bc87
mov qword [rbp + 0x38], rbx
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], r15
mov qword [rbp + 0x50], rbx
mov qword [rbp + 0x58], rsi
mov qword [rbp + 0x60], rsi
movups xmm0, xmmword [rbp + 0x38]
movaps xmmword [rbp + 0x1c0], xmm0
movsd xmm1, qword [rbp + 0x48]
movsd qword [rbp + 0x1d0], xmm1
movups xmm6, xmmword [rbp + 0x50]
movaps xmmword [rbp + 0x70], xmm6
movsd xmm0, qword [rbp + 0x60]
movsd qword [rbp + 0x80], xmm0
lea rdx, [rbp + 0x70]
lea rcx, [rbp + 0x1c0]
call fcn.180001950
cmp rdi, rbx
je 0x18003bc66
lea rax, [rdi - 1]
cmp byte [rax], 0x5c
je 0x18003bc66
mov rdi, rax
cmp rax, rbx
jne 0x18003bc55
sub rdi, rbx
mov qword [rbp + 0x80], rdi
movups xmmword [rbp + 0x228], xmm6
movsd xmm0, qword [rbp + 0x80]
movsd qword [rbp + 0x238], xmm0
mov qword [rbp + 0x90], rbx
mov qword [rbp + 0x98], rsi
mov qword [rbp + 0xa0], r15
movups xmm0, xmmword [rbp + 0x90]
movups xmmword [rbp + 0x1e0], xmm0
movsd xmm1, qword [rbp + 0xa0]
movsd qword [rbp + 0x1f0], xmm1
lea rdx, [rbp + 0x1e0]
lea rcx, [rbp + 0x228]
call fcn.180038e90
test al, al
jne 0x18003bf42
lea rcx, [rbp + 0x228]
call fcn.180039890
lea r14, [rax + 1]
mov rcx, qword [str._xivfixes:symbol_load_patches_]
mov qword [rbp + 0x2a8], rcx
movabs rdi, 0xb000000000000000
mov qword [rbp + 0x290], rdi
mov ecx, 8
mov qword [rbp + 0x298], rcx
mov qword [rbp + 0xa8], rbx
mov qword [rbp + 0xb0], rsi
test rsi, rsi
je 0x18003bd7e
test rbx, rbx
jne 0x18003bd7e
mov qword [rsp + 0x28], r13
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, 0x4b9
lea rdx, [0x180106820]
mov ecx, 2
call fcn.1800af120
cmp eax, 1
jne 0x18003bd52
int3
mov qword [rsp + 0x20], r15
mov r9d, 0x4b9
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022EnterpriseVCToolsMSVC14.40.33807includexstring
lea rdx, [0x1801039c8]
lea rcx, str._non_zero_size_null_string_view_
call fcn.1800aa0a0
mov rcx, qword [rbp + 0x298]
movabs r8, 0xfffffffffffffff
and rcx, r8
movups xmm0, xmmword [rbp + 0xa8]
movups xmmword [rbp + rcx + 0x2a8], xmm0
mov rax, qword [rbp + 0x298]
and rax, r8
movabs rdx, 0xc000000000000000
or rax, rdx
mov qword [rbp + 0x298], rax
lea rax, [rcx + 0x10]
and rax, r8
mov qword [rbp + 0x2a0], rax
and rax, r8
mov qword [rbp + rax + 0x2a8], r14
mov rax, qword [rbp + 0x2a0]
and rax, r8
or rax, rdi
mov qword [rbp + 0x2a0], rax
mov qword [rbp + 0xc0], 3
lea rax, [rbp + 0x290]
mov qword [rbp + 0xc8], rax
lea rax, str._Stripping_pdb_path_folder:__to_
mov qword [rbp + 0xd0], rax
mov qword [rbp + 0xd8], 0x26
movaps xmm0, xmmword [rbp + 0xc0]
movdqa xmmword [rbp + 0x120], xmm0
movaps xmm1, xmmword [rbp + 0xd0]
movdqa xmmword [rbp + 0x130], xmm1
lea r8, [rbp + 0x120]
lea rdx, [rbp + 0x130]
lea rcx, [rsp + 0x58]
call fcn.18000f020
nop
lea rdx, [rax + 8]
cmp qword [rax + 0x20], 0xf
jbe 0x18003be5c
mov rdx, qword [rdx]
mov ecx, 2
call fcn.180029fd0
nop
lea rcx, [rsp + 0x58]
call fcn.180013d90
mov r8, qword [rsp + 0x78]
cmp r8, 0xf
jbe 0x18003be8e
inc r8
mov rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x58]
call fcn.1800432d0
movdqa xmm0, xmmword [0x180108b90]
movdqu xmmword [rsp + 0x70], xmm0
mov byte [rsp + 0x60], 0
mov rcx, qword [rsp + 0x58]
mov qword [rsp + 0x58], r15
mov edx, 0x10
call fcn.180002050
cmp rbx, qword [rbp + 0x228]
jne 0x18003bec7
cmp rsi, qword [rbp + 0x230]
je 0x18003bf1d
lea rax, str.cannot_subtract_incompatible_string_view_iterators
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
xor r9d, r9d
mov r8d, 0x41c
lea rdx, [0x180106820]
mov ecx, 2
call fcn.1800af120
cmp eax, 1
jne 0x18003bef8
int3
mov qword [rsp + 0x20], r15
mov r9d, 0x41c
lea r8, str.C:Program_FilesMicrosoft_Visual_Studio2022EnterpriseVCToolsMSVC14.40.33807includexstring
lea rdx, [0x1801039c8]
lea rcx, str._cannot_subtract_incompatible_string_view_iterators_
call fcn.1800aa0a0
sub rsi, qword [rbp + 0x238]
lea rcx, [rbp + 0x228]
call fcn.180039890
lea rdx, [rax + 1]
lea r8, [rsi + 1]
mov rcx, rbx
call fcn.1800fc9b0
jmp 0x18003bf5b
lea r8, [rsp + 0x30]
lea rdx, str._xivfixes:symbol_load_patches_
lea rcx, str._Leaving_pdb_path_unchanged:_
call fcn.18002c680
nop
lea rcx, [rbp + 0x308]
call fcn.180056c70
jmp 0x18003bf82
lea r8, [rsp + 0x30]
lea rdx, str._xivfixes:symbol_load_patches_
lea rcx, str._Leaving_pdb_path_unchanged:_
call fcn.18002c680
nop
lea rcx, [rbp + 0x200]
call fcn.180013d90
mov r8, qword [rbp + 0x220]
cmp r8, 7
jbe 0x18003bfae
mov rdx, qword [rbp + 0x208]
lea rcx, [rbp + 0x200]
call fcn.180013080
movdqa xmm0, xmmword [0x180108b80]
movdqu xmmword [rbp + 0x218], xmm0
mov word [rbp + 0x208], r15w
mov rcx, qword [rbp + 0x200]
mov qword [rbp + 0x200], r15
mov edx, 0x10
call fcn.18009ef80
nop
lea rcx, [rbp + 0x268]
call fcn.180013d90
mov r8, qword [rbp + 0x288]
cmp r8, 7
jbe 0x18003c00b
mov rdx, qword [rbp + 0x270]
lea rcx, [rbp + 0x268]
call fcn.180013080
movdqa xmm0, xmmword [0x180108b80]
movdqu xmmword [rbp + 0x280], xmm0
mov word [rbp + 0x270], r15w
mov rcx, qword [rbp + 0x268]
mov qword [rbp + 0x268], r15
jmp 0x18003c22b
mov rax, qword [str._xivfixes:symbol_load_patches_]
mov qword [rbp + 0x2d8], rax
movabs rdi, 0xb000000000000000
mov qword [rbp + 0x2c8], rdi
mov dword [rbp + 0x2e0], ecx
movabs rax, 0x2000000000000008
mov qword [rbp + 0x2d0], rax
mov qword [rbp + 0xe0], 2
lea rax, [rbp + 0x2c8]
mov qword [rbp + 0xe8], rax
lea rax, str._CODEVIEW_struct_signature_mismatch:_got_:08X_instead.
mov qword [rbp + 0xf0], rax
mov qword [rbp + 0xf8], 0x3a
movaps xmm0, xmmword [rbp + 0xe0]
movdqa xmmword [rbp + 0x140], xmm0
movaps xmm1, xmmword [rbp + 0xf0]
movdqa xmmword [rbp + 0x150], xmm1
lea r8, [rbp + 0x140]
lea rdx, [rbp + 0x150]
lea rcx, [rbp - 0x80]
call fcn.18000f020
nop
lea rdx, [rax + 8]
cmp qword [rax + 0x20], 0xf
jbe 0x18003c0e2
mov rdx, qword [rdx]
mov ecx, 2
call fcn.180029fd0
nop
lea rcx, [rbp - 0x80]
call fcn.180013d90
mov r8, qword [rbp - 0x60]
cmp r8, 0xf
jbe 0x18003c110
inc r8
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x80]
call fcn.1800432d0
movdqa xmm0, xmmword [0x180108b90]
movdqu xmmword [rbp - 0x68], xmm0
mov byte [rbp - 0x78], 0
mov rcx, qword [rbp - 0x80]
mov qword [rbp - 0x80], r15
mov edx, 0x10
call fcn.180002050
jmp 0x18003c235
mov rax, qword [str._xivfixes:symbol_load_patches_]
mov qword [rbp + 0x2f8], rax
movabs rdi, 0xb000000000000000
mov qword [rbp + 0x2e8], rdi
mov dword [rbp + 0x300], ecx
movabs rax, 0x2000000000000008
mov qword [rbp + 0x2f0], rax
mov qword [rbp + 0x100], 2
lea rax, [rbp + 0x2e8]
mov qword [rbp + 0x108], rax
lea rax, str._Debug_directory:_type__is_unsupported.
mov qword [rbp + 0x110], rax
mov qword [rbp + 0x118], 0x2b
movaps xmm0, xmmword [rbp + 0x100]
movdqa xmmword [rbp + 0x160], xmm0
movaps xmm1, xmmword [rbp + 0x110]
movdqa xmmword [rbp + 0x170], xmm1
lea r8, [rbp + 0x160]
lea rdx, [rbp + 0x170]
lea rcx, [rbp - 0x58]
call fcn.18000f020
nop
lea rdx, [rax + 8]
cmp qword [rax + 0x20], 0xf
jbe 0x18003c1e4
mov rdx, qword [rdx]
mov ecx, 2
call fcn.180029fd0
nop
lea rcx, [rbp - 0x58]
call fcn.180013d90
mov r8, qword [rbp - 0x38]
cmp r8, 0xf
jbe 0x18003c212
inc r8
mov rdx, qword [rbp - 0x50]
lea rcx, [rbp - 0x58]
call fcn.1800432d0
movdqa xmm0, xmmword [0x180108b90]
movdqu xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x50], 0
mov rcx, qword [rbp - 0x58]
mov qword [rbp - 0x58], r15
mov edx, 0x10
call fcn.18009ef80
mov rcx, qword [rbp + 0x340]
xor rcx, rsp
call fcn.18009f1a0
lea r11, [rsp + 0x460]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180014270
nop
call fcn.180014580
int3