Function at 0x140002860
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x198]
sub rsp, 0x290
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
mov rax, qword [0x14001d048]
xor rax, rsp
mov qword [rbp + 0x180], rax
xor r14d, r14d
mov edi, r14d
mov dword [rsp + 0x20], r14d
lea rdx, [rsp + 0x70]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov qword [rsp + 0x60], r14
mov qword [rsp + 0x68], 7
mov word [rsp + 0x50], r14w
lea rax, [rsp + 0x70]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp word [rax + r8*2], di
jne 0x1400028e0
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.140002740
nop
mov rbx, qword [rsp + 0x60]
cmp rbx, 0xa
jb 0x140002996
movdqa xmm0, xmmword [0x140013750]
movdqu xmmword [rsp + 0x40], xmm0
mov word [rsp + 0x30], r14w
mov edi, 3
mov r8d, edi
cmp rbx, rdi
cmovb r8, rbx
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x30]
call fcn.140002740
lea r8, [rsp + 0x30]
mov r9, qword [rsp + 0x30]
mov r10, qword [rsp + 0x48]
cmp r10, 8
cmovae r8, r9
cmp qword [rsp + 0x40], rdi
jne 0x14000298f
mov edx, edi
lea rcx, [0x140013690]
sub r8, rcx
movzx eax, word [rcx]
cmp word [r8 + rcx], ax
jne 0x14000298f
add rcx, 2
sub rdx, 1
jne 0x140002971
xor sil, sil
mov rbx, qword [rsp + 0x60]
jmp 0x1400029a3
mov rbx, qword [rsp + 0x60]
jmp 0x1400029a0
mov r10, qword [rsp + 0x48]
mov r9, qword [rsp + 0x30]
mov sil, 1
test dil, 1
je 0x1400029e4
cmp r10, 8
jb 0x1400029e4
lea rdx, [r10*2 + 2]
mov rax, r9
cmp rdx, 0x1000
jb 0x1400029dc
add rdx, 0x27
mov r9, qword [r9 - 8]
sub rax, r9
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b49
mov rcx, r9
call fcn.140003184
test sil, sil
je 0x1400029f0
xor bl, bl
jmp 0x140002ad6
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x48], 7
mov word [rsp + 0x30], r14w
cmp rbx, 4
jb 0x140002b4f
lea rax, [rbx - 4]
mov r8d, 0xa
cmp rax, r8
cmovb r8, rax
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 8
cmovae rdx, qword [rsp + 0x50]
add rdx, 8
lea rcx, [rsp + 0x30]
call fcn.140002740
mov r10, qword [rsp + 0x48]
mov r8, qword [rsp + 0x30]
cmp qword [rsp + 0x40], 7
je 0x140002a54
xor bl, bl
jmp 0x140002a9a
lea rdx, [rsp + 0x30]
cmp r10, 8
cmovae rdx, r8
lea r9, [rsp + 0x30]
cmovae r9, r8
add r9, 0xe
cmp rdx, r9
je 0x140002a98
movzx ecx, word [rdx]
lea eax, [rcx - 0x30]
cmp ax, 9
jbe 0x140002a92
lea eax, [rcx - 0x41]
cmp ax, 0x19
jbe 0x140002a92
sub cx, 0x61
cmp cx, 0x19
ja 0x140002a50
add rdx, 2
jmp 0x140002a6e
mov bl, 1
cmp r10, 8
jb 0x140002ad6
lea rdx, [r10*2 + 2]
mov rax, r8
cmp rdx, 0x1000
jb 0x140002acd
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b55
mov rcx, r8
call fcn.140003184
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 8
jb 0x140002b14
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002b0f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002b43
call fcn.140003184
movzx eax, bl
mov rcx, qword [rbp + 0x180]
xor rcx, rsp
call fcn.140003220
lea r11, [rsp + 0x290]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.14000722c
nop
call fcn.14000722c
nop
call fcn.1400026b0
int3
call fcn.14000722c
int3