Function at 0x14000e100
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xc0
movaps xmmword [rsp + 0xb0], xmm6
mov rax, qword [0x14021f740]
xor rax, rsp
mov qword [rbp + 7], rax
mov r15, rdx
mov rsi, rcx
mov qword [rbp - 0x61], rcx
xor r13d, r13d
mov r12d, r13d
mov dword [rbp - 0x79], r13d
mov dword [rdx], r13d
lea rax, [0x14021e010]
mov qword [rdx + 8], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, eax
mov ecx, eax
inc rcx
mov eax, 2
mul rcx
mov r14, 0xffffffffffffffff
cmovo rax, r14
mov rcx, rax
call fcn.14016cd8c
mov rbx, rax
mov qword [rbp - 0x71], rax
mov rdx, rax
mov ecx, edi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
jne 0x14000e1d1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp - 0x71], eax
lea rax, [0x14021e010]
mov qword [rbp - 0x69], rax
movups xmm0, xmmword [rbp - 0x71]
movups xmmword [r15], xmm0
xorps xmm1, xmm1
movups xmmword [rsi], xmm1
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
mov qword [rsi + 0x20], r13
jmp 0x14000e6a3
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x29], xmm1
inc r14
cmp word [rbx + r14*2], 0
jne 0x14000e1e0
mov r8, r14
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.1400068e0
nop
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp - 0x29]
movups xmmword [rsi + 0x10], xmm1
movdqa xmm6, xmmword [0x140182250]
movdqu xmmword [rbp - 0x29], xmm6
mov word [rbp - 0x39], r13w
mov qword [rsi + 0x20], r13
cmp qword [rsi + 0x18], 7
jbe 0x14000e232
mov rcx, qword [rsi]
mov rdx, rcx
mov r8, rcx
jmp 0x14000e23b
mov rcx, rsi
mov rdx, rsi
mov r8, rsi
mov rax, qword [rsi + 0x10]
lea rdx, [rdx + rax*2]
cmp r8, rdx
je 0x14000e25c
cmp word [rcx], 0x2f
jne 0x14000e253
mov word [rcx], 0x5c
add rcx, 2
cmp rcx, rdx
jne 0x14000e248
mov rcx, rsi
call fcn.14000fcc0
test rax, rax
je 0x14000e318
mov rcx, rsi
call fcn.14000fcc0
add rax, qword [rsi + 0x20]
cmp qword [rsi + 0x10], rax
jbe 0x14000e318
mov rcx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14000e290
mov rcx, qword [rsi]
cmp word [rcx + rax*2], 0x5c
jne 0x14000e318
cmp qword [rsi + 0x10], 0xf8
jb 0x14000e318
xorps xmm0, xmm0
movups xmmword [rbp - 0x59], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x49], xmm1
mov r8d, 4
lea rdx, [0x140181eb0]
lea rcx, [rbp - 0x59]
call fcn.1400068e0
mov r12d, 2
mov r14, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x59]
mov rcx, qword [rbp - 0x49]
cmp rcx, qword [rsi + 0x10]
ja 0x14000e313
mov rdx, rsi
cmp qword [rsi + 0x18], 7
jbe 0x14000e2ef
mov rdx, qword [rsi]
lea rax, [rbp - 0x59]
cmp r14, 7
cmova rax, rdi
lea r8, [rax + rcx*2]
lea rcx, [rbp - 0x59]
cmova rcx, rdi
sub r8, rcx
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x14000e320
mov r15b, 1
jmp 0x14000e323
mov r14, qword [rbp - 0x41]
mov rdi, qword [rbp - 0x59]
xor r15b, r15b
test r12b, 2
je 0x14000e379
cmp r14, 7
jbe 0x14000e367
lea rdx, [r14*2 + 2]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14000e35f
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e35f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.14016cca4
movdqa xmm0, xmmword [0x140182250]
movdqu xmmword [rbp - 0x49], xmm0
mov word [rbp - 0x59], r13w
test r15b, r15b
je 0x14000e45b
mov r8, rsi
lea rdx, [0x140181eb0]
lea rcx, [rbp - 0x19]
call fcn.140006560
mov rdi, rax
cmp rsi, rax
je 0x14000e406
mov rdx, qword [rsi + 0x18]
cmp rdx, 7
jbe 0x14000e3d8
mov rcx, qword [rsi]
lea rdx, [rdx*2 + 2]
cmp rdx, 0x1000
jb 0x14000e3d3
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x14000e43d
mov rcx, r8
call fcn.14016cca4
mov qword [rsi + 0x10], r13
mov qword [rsi + 0x18], 7
mov word [rsi], r13w
movups xmm0, xmmword [rdi]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rsi + 0x10], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 7
mov word [rdi], r13w
mov rdx, qword [rbp - 1]
cmp rdx, 7
jbe 0x14000e449
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x19]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e444
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e444
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
movdqa xmm0, xmmword [0x140182250]
movdqu xmmword [rbp - 9], xmm0
mov word [rbp - 0x19], r13w
mov rcx, rsi
call fcn.14000ed80
mov rdx, qword [rsi + 0x20]
lea rax, [rdx + 2]
cmp qword [rsi + 0x10], rax
jbe 0x14000e55b
mov rcx, rsi
mov rax, qword [rsi + 0x18]
cmp rax, 7
jbe 0x14000e485
mov rcx, qword [rsi]
cmp word [rcx + rdx*2], 0x5c
jne 0x14000e55b
mov rcx, rsi
cmp rax, 7
jbe 0x14000e49c
mov rcx, qword [rsi]
cmp word [rcx + rdx*2 + 2], 0x5c
jne 0x14000e55b
mov rcx, rsi
cmp rax, 7
jbe 0x14000e4b4
mov rcx, qword [rsi]
cmp word [rcx + rdx*2 + 4], 0x5c
je 0x14000e55b
cmp rax, 7
mov rax, qword [rsi + 0x10]
jbe 0x14000e4d6
mov rcx, qword [rsi]
mov r8, rcx
lea rax, [rcx + rax*2]
jmp 0x14000e4dd
mov r8, rsi
lea rax, [rsi + rax*2]
lea rcx, [rdx + 2]
lea rcx, [r8 + rcx*2]
cmp rcx, rax
je 0x14000e5ea
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x14000e5ea
nop dword [rax + rax]
movzx r8d, word [rcx]
cmp r8w, word [rdx]
jne 0x14000e511
cmp r8w, 0x5c
je 0x14000e522
mov rcx, rdx
add rdx, 2
cmp rdx, rax
jne 0x14000e500
jmp 0x14000e5ea
add rdx, 2
cmp rdx, rax
je 0x14000e5e6
nop
movzx r8d, word [rcx]
movzx r9d, word [rdx]
cmp r8w, r9w
jne 0x14000e545
cmp r8w, 0x5c
je 0x14000e54d
add rcx, 2
mov word [rcx], r9w
add rdx, 2
cmp rdx, rax
jne 0x14000e530
jmp 0x14000e5e6
mov rax, qword [rsi + 0x10]
cmp qword [rsi + 0x18], 7
jbe 0x14000e572
mov rcx, qword [rsi]
mov r8, rcx
lea rax, [rcx + rax*2]
jmp 0x14000e579
mov r8, rsi
lea rax, [rsi + rax*2]
lea rcx, [r8 + rdx*2]
cmp rcx, rax
je 0x14000e5ea
lea rdx, [rcx + 2]
cmp rdx, rax
je 0x14000e5ea
nop dword [rax + rax]
movzx r8d, word [rcx]
cmp r8w, word [rdx]
jne 0x14000e5a1
cmp r8w, 0x5c
je 0x14000e5af
mov rcx, rdx
add rdx, 2
cmp rdx, rax
jne 0x14000e590
jmp 0x14000e5ea
add rdx, 2
cmp rdx, rax
je 0x14000e5e6
nop dword [rax + rax]
movzx r8d, word [rcx]
movzx r9d, word [rdx]
cmp r8w, r9w
jne 0x14000e5d5
cmp r8w, 0x5c
je 0x14000e5dd
add rcx, 2
mov word [rcx], r9w
add rdx, 2
cmp rdx, rax
jne 0x14000e5c0
lea rax, [rcx + 2]
mov rdi, qword [rsi + 0x10]
mov r9, rax
lea rdx, [rdi + rdi]
sub rdx, rax
mov rax, rdi
cmp qword [rsi + 0x18], 7
jbe 0x14000e61d
sub r9, qword [rsi]
sar r9, 1
add rdx, qword [rsi]
sar rdx, 1
sub rax, r9
cmp rax, rdx
cmovb rdx, rax
mov rax, qword [rsi]
jmp 0x14000e636
sub r9, rsi
add rdx, rsi
sar r9, 1
sar rdx, 1
sub rax, r9
cmp rax, rdx
cmovb rdx, rax
mov rax, rsi
sub rdi, rdx
mov r8, rdi
sub r8, r9
lea rcx, [rax + r9*2]
lea r8, [r8*2 + 2]
lea rdx, [rcx + rdx*2]
call sub.VCRUNTIME140.dll_memmove
nop
mov qword [rsi + 0x10], rdi
psrldq xmm6, 8
movq rdx, xmm6
cmp rdx, 7
jbe 0x14000e6a3
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x39]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000e69d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000e69d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14016cca4
nop
test rbx, rbx
je 0x14000e6b0
mov rcx, rbx
call fcn.14016cca4
mov rax, rsi
mov rcx, qword [rbp + 7]
xor rcx, rsp
call fcn.14016cd40
mov rbx, qword [rsp + 0x110]
movaps xmm6, xmmword [rsp + 0xb0]
add rsp, 0xc0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret