Function at 0x18006a2d0
Capabilities:
Get common file path

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x180152040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, rcx
mov qword [rsp + 0x48], rcx
xor r14d, r14d
xorps xmm0, xmm0
movups xmmword [rcx], xmm0
mov qword [rcx + 0x10], r14
mov qword [rcx + 0x18], 0xf
mov byte [rcx], r14b
movups xmmword [rcx + 0x20], xmm0
mov qword [rcx + 0x30], r14
mov qword [rcx + 0x38], 0xf
mov byte [rcx + 0x20], r14b
movups xmmword [rcx + 0x40], xmm0
mov qword [rcx + 0x50], r14
mov qword [rcx + 0x58], 0xf
mov byte [rcx + 0x40], r14b
mov qword [rcx + 0x60], r14
mov qword [rcx + 0x68], r14
mov word [rcx + 0x70], r14w
mov qword [rcx + 0x78], r14
mov qword [rcx + 0x80], r14
mov qword [rcx + 0x88], r14
mov word [rcx + 0x90], r14w
cmp qword [0x180156e60], r14
je 0x18006a39c
lea r9d, [r14 + 0x10]
lea r8, [0x18012bd78]
lea rdx, str.An_unexpected_error_occurred_within_plugin_initialization.
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
mov qword [0x180156e60], r14
jmp 0x18006aaba
mov qword [0x180156e60], rdi
mov r8d, 0x10
lea rdx, [0x18012bda0]
call fcn.180033a00
mov r8d, 0x1e
lea rdx, [0x18012bd78]
lea rcx, [rdi + 0x20]
call fcn.180033a00
mov dword [rdi + 0x60], 1
mov qword [rdi + 0x64], 1
mov dword [rdi + 0x6c], 0x1084
xor edx, edx
mov r8d, 0x104
lea rcx, [rbp - 0x50]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp - 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
test eax, eax
je 0x18006a562
cmp eax, 0x104
ja 0x18006a562
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
lea rax, [rbp - 0x50]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x18006a440
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.180033a00
mov rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x68]
mov rax, r8
sub rax, rdx
lea rcx, [rsp + 0x50]
cmp rax, 1
jb 0x18006a497
lea rax, [rdx + 1]
mov qword [rsp + 0x60], rax
cmp r8, 0xf
cmova rcx, qword [rsp + 0x50]
movzx eax, word [0x18012bd98]
mov byte [rcx + rdx], al
mov byte [rcx + rdx + 1], 0
jmp 0x18006a4b1
mov qword [rsp + 0x20], 1
lea r9, [0x18012bd98]
mov edx, 1
call fcn.180011300
movabs rax, 0x7fffffffffffffff
mov rcx, qword [rsp + 0x60]
sub rax, rcx
cmp rax, 0x12
jb 0x18006aae4
lea r9, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova r9, qword [rsp + 0x50]
mov qword [rsp + 0x30], 0x12
lea rax, str.DataSKSEPlugins_
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp - 0x70]
call fcn.180066230
lea rdx, [rbp - 0x70]
lea rcx, [rdi + 0x40]
call fcn.180028290
mov r8, qword [rbp - 0x58]
cmp r8, 0xf
jbe 0x18006a522
mov rdx, qword [rbp - 0x70]
call fcn.180007f30
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x18006a562
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006a55d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006a55d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ec9a4
mov ecx, 0x338
call fcn.1800ec5f0
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.18007fa40
nop
mov rbx, qword [rdi + 0x80]
mov qword [rdi + 0x80], rax
test rbx, rbx
je 0x18006a946
mov rdx, qword [rbx + 0x170]
cmp rdx, 0xf
jbe 0x18006a5d2
mov rcx, qword [rbx + 0x158]
inc rdx
cmp rdx, 0x1000
jb 0x18006a5cd
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006aaad
mov rcx, r8
call fcn.1800ec9a4
mov qword [rbx + 0x168], r14
mov qword [rbx + 0x170], 0xf
mov byte [rbx + 0x158], 0
mov rdx, qword [rbx + 0x140]
cmp rdx, 0xf
jbe 0x18006a62c
mov rcx, qword [rbx + 0x128]
inc rdx
cmp rdx, 0x1000
jb 0x18006a627
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006aaad
mov rcx, r8
call fcn.1800ec9a4
mov qword [rbx + 0x138], r14
mov qword [rbx + 0x140], 0xf
mov byte [rbx + 0x128], 0
mov rdx, qword [rbx + 0x120]
cmp rdx, 0xf
jbe 0x18006a686
mov rcx, qword [rbx + 0x108]
inc rdx
cmp rdx, 0x1000
jb 0x18006a681
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006aaad
mov rcx, r8
call fcn.1800ec9a4
mov qword [rbx + 0x118], r14
mov qword [rbx + 0x120], 0xf
mov byte [rbx + 0x108], 0
mov rdx, qword [rbx + 0x100]
cmp rdx, 0xf
jbe 0x18006a6e0
mov rcx, qword [rbx + 0xe8]
inc rdx
cmp rdx, 0x1000
jb 0x18006a6db
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006aaad
mov rcx, r8
call fcn.1800ec9a4
mov qword [rbx + 0xf8], r14
mov qword [rbx + 0x100], 0xf
mov byte [rbx + 0xe8], 0
mov rdx, qword [rbx + 0xe0]
cmp rdx, 0xf
jbe 0x18006a73a
mov rcx, qword [rbx + 0xc8]
inc rdx
cmp rdx, 0x1000
jb 0x18006a735
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006aaad
mov rcx, r8
call fcn.1800ec9a4
mov qword [rbx + 0xd8], r14
mov qword [rbx + 0xe0], 0xf
mov byte [rbx + 0xc8], 0
mov rdx, qword [rbx + 0xc0]
cmp rdx, 0xf
jbe 0x18006a794
mov rcx, qword [rbx + 0xa8]
inc rdx
cmp rdx, 0x1000
jb 0x18006a78f
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006aaad
mov rcx, r8
call fcn.1800ec9a4
mov qword [rbx + 0xb8], r14
mov qword [rbx + 0xc0], 0xf
mov byte [rbx + 0xa8], 0
mov rdx, qword [rbx + 0xa0]
cmp rdx, 0xf
jbe 0x18006a7ee
mov rcx, qword [rbx + 0x88]
inc rdx
cmp rdx, 0x1000
jb 0x18006a7e9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006aaad
mov rcx, r8
call fcn.1800ec9a4
mov qword [rbx + 0x98], r14
mov qword [rbx + 0xa0], 0xf
mov byte [rbx + 0x88], 0
mov rdx, qword [rbx + 0x80]
cmp rdx, 0xf
jbe 0x18006a845
mov rcx, qword [rbx + 0x68]
inc rdx
cmp rdx, 0x1000
jb 0x18006a840
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006aaad
mov rcx, r8
call fcn.1800ec9a4
mov qword [rbx + 0x78], r14
mov qword [rbx + 0x80], 0xf
mov byte [rbx + 0x68], 0
mov rdx, qword [rbx + 0x60]
cmp rdx, 0xf
jbe 0x18006a893
mov rcx, qword [rbx + 0x48]
inc rdx
cmp rdx, 0x1000
jb 0x18006a88e
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006aaad
mov rcx, r8
call fcn.1800ec9a4
mov qword [rbx + 0x58], r14
mov qword [rbx + 0x60], 0xf
mov byte [rbx + 0x48], 0
mov rdx, qword [rbx + 0x40]
cmp rdx, 0xf
jbe 0x18006a8de
mov rcx, qword [rbx + 0x28]
inc rdx
cmp rdx, 0x1000
jb 0x18006a8d9
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006aaad
mov rcx, r8
call fcn.1800ec9a4
mov qword [rbx + 0x38], r14
mov qword [rbx + 0x40], 0xf
mov byte [rbx + 0x28], 0
mov rdx, qword [rbx + 0x20]
cmp rdx, 0xf
jbe 0x18006a929
mov rcx, qword [rbx + 8]
inc rdx
cmp rdx, 0x1000
jb 0x18006a924
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x18006aaad
mov rcx, r8
call fcn.1800ec9a4
mov qword [rbx + 0x18], r14
mov qword [rbx + 0x20], 0xf
mov byte [rbx + 8], 0
mov edx, 0x338
mov rcx, rbx
call fcn.1800ec9a4
mov ecx, 0xc8
call fcn.1800ec5f0
mov qword [rsp + 0x40], rax
mov rcx, rax
call fcn.18007b9a0
nop
mov rcx, qword [rdi + 0x78]
mov qword [rdi + 0x78], rax
test rcx, rcx
je 0x18006a975
mov rax, qword [rcx]
mov edx, 1
call qword [rax]
mov rax, qword [rdi + 0x78]
movzx ecx, byte [rax + 0x88]
cmp cl, 4
je 0x18006a98e
cmp cl, 6
jne 0x18006aaba
mov rdx, qword [rdi + 0x80]
add rdx, 0x108
lea rcx, [rsp + 0x70]
call fcn.1800232f0
nop
mov rcx, qword [rdi + 0x80]
add rcx, 0x108
mov rdx, qword [rcx + 0x10]
mov r8, qword [rcx + 0x18]
mov rax, r8
sub rax, rdx
cmp rax, 4
jb 0x18006a9ea
lea rax, [rdx + 4]
mov qword [rcx + 0x10], rax
cmp r8, 0xf
jbe 0x18006a9da
mov rcx, qword [rcx]
mov eax, dword [str._GOG]
mov dword [rcx + rdx], eax
mov byte [rcx + rdx + 4], 0
jmp 0x18006aa04
mov qword [rsp + 0x20], 4
lea r9, str._GOG
mov edx, 4
call fcn.180011300
mov rbx, qword [rdi + 0x80]
add rbx, 0x108
mov rdx, qword [rdi + 0x78]
add rdx, 0x48
mov r14, qword [rdx + 0x10]
cmp qword [rdx + 0x18], 0xf
jbe 0x18006aa28
mov rdx, qword [rdx]
mov rsi, qword [rbx + 0x10]
mov rcx, rbx
cmp qword [rbx + 0x18], 0xf
jbe 0x18006aa39
mov rcx, qword [rbx]
mov r8, rsi
cmp r14, rsi
cmovb r8, r14
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x18006aa53
cmp rsi, r14
jb 0x18006aa53
jbe 0x18006aa7a
lea rax, [rsp + 0x70]
cmp rbx, rax
je 0x18006aa7a
lea rdx, [rsp + 0x70]
cmp qword [rbp - 0x78], 0xf
cmova rdx, qword [rsp + 0x70]
mov r8, qword [rbp - 0x80]
mov rcx, rbx
call fcn.180033a00
nop
mov rdx, qword [rbp - 0x78]
cmp rdx, 0xf
jbe 0x18006aaba
inc rdx
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x18006aab4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x18006aab4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1800ec9a4
nop
mov rax, rdi
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.1800ec4b0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call fcn.180003330
nop
int3