Function at 0x14003fd00
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x1400fe3f8]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x30], rdx
mov rax, rdx
mov rsi, qword [rdx + 0x18]
cmp rsi, 0x10
jb 0x14003fd4c
mov rax, qword [rdx]
xor r15d, r15d
lea rdi, [r15 - 1]
cmp qword [rdx + 0x10], 2
jb 0x14003fd75
movzx ecx, byte [rax + 1]
cmp cl, 0x3a
je 0x14003ff6c
cmp byte [rax], 0x5c
jne 0x14003fd75
cmp cl, 0x5c
je 0x14003ff6c
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x60]
call fcn.14009f630
lea rdx, [rbp - 0x60]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x48], r15
mov qword [rsp + 0x50], 0xf
mov byte [rsp + 0x38], r15b
lea rax, [rbp - 0x60]
mov r8, rdi
inc r8
cmp byte [rax + r8], r15b
jne 0x14003fdb4
lea rdx, [rbp - 0x60]
lea rcx, [rsp + 0x38]
call fcn.140012bb0
nop
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 1
jb 0x14003fe07
lea rax, [rcx + 1]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x38]
cmp rdx, 0x10
cmovae rax, qword [rsp + 0x38]
mov word [rax + rcx], 0x5c
lea rax, [rsp + 0x38]
jmp 0x14003fe28
mov qword [rsp + 0x20], 1
lea r9, [0x1400d45a8]
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, [rsp + 0x38]
call fcn.140003080
mov qword [rsp + 0x58], r15
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
mov rdx, rbx
cmp qword [rbx + 0x18], 0x10
jb 0x14003fe64
mov rdx, qword [rbx]
mov r8, qword [rbx + 0x10]
lea rcx, [rsp + 0x58]
call fcn.1400129a0
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x78], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 0xf
mov byte [rax], 0
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.14000bbd0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0x10
jb 0x14003fedb
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003fed5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140040049
call fcn.14006b0f0
nop
mov rdx, qword [rsp + 0x70]
cmp rdx, 0x10
jb 0x14003ff18
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ff13
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004004f
call fcn.14006b0f0
mov qword [rsp + 0x68], r15
mov qword [rsp + 0x70], 0xf
mov byte [rsp + 0x58], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0x10
jb 0x14003ff68
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14003ff63
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004003d
call fcn.14006b0f0
mov rsi, qword [rbx + 0x18]
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp + 0xb0]
call fcn.14009f630
mov rdx, rbx
cmp rsi, 0x10
jb 0x14003ff8c
mov rdx, qword [rbx]
lea rcx, [rbp + 0xb0]
call qword [sym.imp.SHLWAPI.dll_PathCanonicalizeA]
mov qword [r14], r15
mov qword [r14 + 0x10], r15
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
lea rax, [rbp + 0xb0]
inc rdi
cmp byte [rax + rdi], 0
jne 0x14003ffb3
mov r8, rdi
lea rdx, [rbp + 0xb0]
mov rcx, r14
call fcn.140012bb0
nop
mov rdx, qword [rbx + 0x18]
cmp rdx, 0x10
jb 0x140040005
inc rdx
mov rcx, qword [rbx]
cmp rdx, 0x1000
jb 0x140040000
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x140040043
mov rcx, r8
call fcn.14006b0f0
mov qword [rbx + 0x10], r15
mov qword [rbx + 0x18], 0xf
mov byte [rbx], 0
mov rax, r14
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14009c8a0
mov rbx, qword [rsp + 0x310]
add rsp, 0x2d0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.1400a3548
nop
call fcn.1400a3548
nop
call fcn.1400a3548
nop
call fcn.1400a3548
int3