Function at 0x14000eba0
Capabilities:
Get common file path

Disassembly:
push r14
push rsi
push rdi
push rbx
sub rsp, 0x258
mov rax, qword [0x1401ce8a8]
xor rax, rsp
mov qword [rsp + 0x250], rax
mov sil, 1
cmp qword [0x1401de560], 0
jne 0x14000ef80
mov rdi, qword [0x1401de540]
test rdi, rdi
je 0x14000ebed
test byte [0x1401ca004], 1
jne 0x14000ed71
jmp 0x14000ef80
mov ecx, 0x20
call fcn.140128e44
mov rdi, rax
lea rbx, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rbx
mov dl, 0xaa
call fcn.14012b560
xor ecx, ecx
mov rdx, rbx
mov r8d, 0x104
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
movaps xmm0, xmmword [0x140164c30]
movups xmmword [rdi], xmm0
movaps xmm0, xmmword [0x140164ed0]
movups xmmword [rdi + 0x10], xmm0
mov word [rdi], 0
mov rcx, rbx
call fcn.140137d64
mov rbx, rax
cmp rax, 7
jbe 0x14000ec5d
lea r9, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
call fcn.140006828
jmp 0x14000ec7a
mov qword [rdi + 0x10], rbx
mov r8, rbx
add r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.14012aeb0
mov word [rdi + rbx*2], 0
mov rbx, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
mov rdx, rdi
cmp rcx, 7
jbe 0x14000ec8e
mov rdx, qword [rdi]
test rbx, rbx
je 0x14000ecab
mov rax, rbx
add rax, 0xffffffffffffffff
cmovae rax, rbx
cmp word [rdx + rax*2], 0x5c
jne 0x14000ecaf
lea rax, [rdx + rax*2]
jmp 0x14000ecd4
xor ebx, ebx
jmp 0x14000ed00
add rax, rax
nop word cs:[rax + rax]
nop dword [rax]
test rax, rax
je 0x14000ed00
cmp word [rdx + rax - 2], 0x5c
lea rax, [rax - 2]
jne 0x14000ecc0
add rax, rdx
sub rax, rdx
cmp rax, 0xfffffffffffffffe
je 0x14000ed00
sar rax, 1
lea rcx, [rax + 1]
cmp rbx, rcx
jb 0x14000ef9f
mov qword [rdi + 0x10], rcx
mov word [rdx + rax*2 + 2], 0
mov rbx, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
mov rax, rcx
sub rax, rbx
cmp rax, 9
jae 0x14000ed2b
mov qword [rsp + 0x20], 9
lea r9, [0x1401654b4]
mov edx, 9
mov rcx, rdi
call fcn.14000695a
jmp 0x14000ed5d
lea rax, [rbx + 9]
mov qword [rdi + 0x10], rax
mov rax, rdi
cmp rcx, 7
jbe 0x14000ed3f
mov rax, qword [rdi]
movzx ecx, word [0x1401654c4]
mov word [rax + rbx*2 + 0x10], cx
movups xmm0, xmmword [0x1401654b4]
movups xmmword [rax + rbx*2], xmm0
mov word [rax + rbx*2 + 0x12], 0
mov qword [0x1401de540], rdi
test byte [0x1401ca004], 1
je 0x14000ef80
cmp qword [rdi + 0x18], 8
jb 0x14000ed7b
mov rdi, qword [rdi]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov rcx, rdi
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401de560], rax
add rax, 1
cmp rax, 1
ja 0x14000ef80
lea rdi, [rsp + 0x40]
mov r8d, 0x208
mov rcx, rdi
mov dl, 0xaa
call fcn.14012b560
mov word [rsp + 0x40], 0
mov ecx, 0x104
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14000ef7e
cmp eax, 0x104
ja 0x14000ef7e
mov rdi, qword [0x1401de540]
lea rcx, [rsp + 0x40]
call fcn.140137d64
mov rbx, rax
mov rax, qword [rdi + 0x18]
cmp rax, rbx
jae 0x14000ee36
lea r9, [rsp + 0x40]
mov rcx, rdi
mov rdx, rbx
call fcn.140006828
mov rbx, qword [0x1401de540]
mov rdi, rbx
jmp 0x14000ee63
mov r14, rdi
cmp rax, 8
jb 0x14000ee42
mov r14, qword [rdi]
mov qword [rdi + 0x10], rbx
mov r8, rbx
add r8, rbx
lea rdx, [rsp + 0x40]
mov rcx, r14
call fcn.14012aeb0
mov word [r14 + rbx*2], 0
mov rbx, rdi
mov rcx, qword [rdi + 0x18]
mov rax, rbx
cmp rcx, 8
jb 0x14000ee73
mov rax, qword [rdi]
mov rdx, qword [rdi + 0x10]
cmp word [rax + rdx*2 - 2], 0x5c
je 0x14000eec2
cmp rcx, rdx
jne 0x14000eeaa
mov qword [rsp + 0x20], 1
lea r9, [0x1401654b0]
mov edx, 1
mov rcx, rdi
call fcn.14000695a
mov rdi, qword [0x1401de540]
jmp 0x14000eec2
lea rax, [rdx + 1]
mov qword [rdi + 0x10], rax
cmp rcx, 8
jb 0x14000eebb
mov rbx, qword [rdi]
mov dword [rbx + rdx*2], 0x5c
mov rax, qword [rdi + 0x10]
mov rcx, qword [rdi + 0x18]
mov rdx, rcx
sub rdx, rax
cmp rdx, 9
jae 0x14000eef5
mov qword [rsp + 0x20], 9
lea r9, [0x1401654b4]
mov edx, 9
mov rcx, rdi
call fcn.14000695a
jmp 0x14000ef24
lea rdx, [rax + 9]
mov qword [rdi + 0x10], rdx
cmp rcx, 8
jb 0x14000ef06
mov rdi, qword [rdi]
movzx ecx, word [0x1401654c4]
mov word [rdi + rax*2 + 0x10], cx
movups xmm0, xmmword [0x1401654b4]
movups xmmword [rdi + rax*2], xmm0
mov word [rdi + rax*2 + 0x12], 0
mov rcx, qword [0x1401de540]
cmp qword [rcx + 0x18], 8
jb 0x14000ef35
mov rcx, qword [rcx]
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 4
mov edx, 4
mov r8d, 3
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateFileW]
mov qword [0x1401de560], rax
add rax, 1
cmp rax, 1
ja 0x14000ef80
mov qword [0x1401de560], 0
xor esi, esi
mov rcx, qword [rsp + 0x250]
xor rcx, rsp
call fcn.140128f20
mov eax, esi
add rsp, 0x258
pop rbx
pop rdi
pop rsi
pop r14
ret
call fcn.140007b60
int3