Function at 0x1401f3960
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov r15, r8
mov r12, rdx
mov r13, rcx
xor edi, edi
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
test r15, r15
je 0x1401f39b4
mov r14, r15
jmp 0x1401f39c4
lea rcx, [0x140004740]
call fcn.140dd7ecf
nop
mov r14, rax
lea rdx, [rbp - 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
xorps xmm0, xmm0
movups xmmword [rsp + 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x78], xmm1
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop word [rax + rax]
inc r8
cmp word [r14 + r8*2], di
jne 0x1401f39f7
mov rdx, r14
lea rcx, [rsp + 0x68]
call fcn.140030be0
nop
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x38], rdi
lea rax, [rbp - 0x50]
nop
inc rbx
cmp word [rax + rbx*2], 0
jne 0x1401f3a2b
movabs rsi, 0x7ffffffffffffffe
cmp rbx, rsi
ja 0x1401f3ca2
cmp rbx, 8
jae 0x1401f3a82
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], 7
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x20]
call sub.VCRUNTIME140.dll_memcpy
mov word [rsp + rbx + 0x20], di
jmp 0x1401f3adb
mov rax, rbx
or rax, 7
cmp rax, rsi
ja 0x1401f3aa1
mov rsi, rax
mov ecx, 0xa
cmp rax, rcx
cmovb rsi, rcx
lea rdx, [rsi + 1]
lea rcx, [rsp + 0x20]
call fcn.14002f870
mov rdi, rax
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x38], rsi
add rbx, rbx
mov r8, rbx
lea rdx, [rbp - 0x50]
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
xor eax, eax
mov word [rbx + rdi], ax
xor edi, edi
mov edx, 0x5c
lea rcx, [rsp + 0x20]
call fcn.14007b770
movups xmm0, xmmword [rsp + 0x20]
movups xmmword [rsp + 0x48], xmm0
movups xmm1, xmmword [rsp + 0x30]
movups xmmword [rsp + 0x58], xmm1
mov qword [rsp + 0x30], rdi
mov ebx, 7
mov qword [rsp + 0x38], rbx
mov word [rsp + 0x20], di
lea rdx, [r13 + 0xa0]
mov r8, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 8
jb 0x1401f3b2b
mov rdx, qword [rdx]
lea rcx, [rsp + 0x48]
call fcn.140053cb0
movups xmm0, xmmword [rax]
movups xmmword [rbp - 0x78], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x68], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], rbx
mov word [rax], di
lea r9, [rsp + 0x68]
lea r8, [rbp - 0x78]
movzx edx, byte [rbp + 0x200]
mov rcx, r12
call fcn.140087d80
nop
mov rdx, qword [rbp - 0x60]
cmp rdx, 8
jb 0x1401f3bb8
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401f3bb2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401f3bb2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcb70
nop
mov rdx, qword [rsp + 0x60]
cmp rdx, 8
jb 0x1401f3c09
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401f3c04
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401f3c04
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcb70
movdqa xmm0, xmmword [0x140002c70]
movdqu xmmword [rsp + 0x58], xmm0
mov word [rsp + 0x48], di
mov rdx, qword [rbp - 0x80]
cmp rdx, 8
jb 0x1401f3c6c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1401f3c67
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1401f3c67
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1401fcb70
test r15, r15
jne 0x1401f3c7e
mov rcx, r14
call fcn.140dd7f01
nop
mov rax, r12
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.14002f830
nop
int3