Function at 0x14002af30
Capabilities:
Get common file path

Disassembly:
mov r11, rsp
push rbp
push rdi
lea rbp, [r11 - 0x178]
sub rsp, 0x268
mov rax, qword [0x1400c6158]
xor rax, rsp
mov qword [rbp + 0x150], rax
mov qword [r11 + 0x10], rbx
lea rdx, [rsp + 0x40]
mov qword [r11 - 0x18], r14
mov rdi, rcx
lea r14, [0x14003b290]
mov ecx, 0x104
mov qword [rsp + 0x20], r14
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
test eax, eax
je 0x14002b0b1
cmp ebx, 0x104
jbe 0x14002b045
mov eax, 2
mov qword [rsp + 0x290], rsi
mul rbx
mov rdx, 0xffffffffffffffff
cmovo rax, rdx
mov rcx, rax
call fcn.140037f64
mov rdx, rax
mov ecx, 0x104
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x14002b033
mov r8d, ebx
lea rcx, [rsp + 0x30]
mov rdx, rsi
call fcn.140007370
mov rbx, qword [rax]
mov qword [rax], r14
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14002affb
cmp eax, 0xffffffff
je 0x14002b009
sub eax, 1
mov dword [rcx], eax
jne 0x14002b009
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140003e30
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x20], rbx
mov eax, dword [rcx]
test eax, eax
je 0x14002b025
cmp eax, 0xffffffff
je 0x14002b033
sub eax, 1
mov dword [rcx], eax
jne 0x14002b033
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140003e30
mov rcx, rsi
call fcn.140037f6c
mov rsi, qword [rsp + 0x290]
jmp 0x14002b0b1
mov r8d, ebx
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140007370
mov rbx, qword [rax]
mov qword [rax], r14
mov rcx, qword [rsp + 0x30]
mov eax, dword [rcx]
test eax, eax
je 0x14002b079
cmp eax, 0xffffffff
je 0x14002b087
sub eax, 1
mov dword [rcx], eax
jne 0x14002b087
mov rcx, qword [rsp + 0x30]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140003e30
mov rcx, qword [rsp + 0x20]
mov qword [rsp + 0x20], rbx
mov eax, dword [rcx]
test eax, eax
je 0x14002b0a3
cmp eax, 0xffffffff
je 0x14002b0b6
sub eax, 1
mov dword [rcx], eax
jne 0x14002b0b1
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140003e30
mov rbx, qword [rsp + 0x20]
mov edx, dword [rbx + 4]
mov r14, qword [rsp + 0x260]
cmp edx, 2
jl 0x14002b177
cmp dword [rbx], 1
ja 0x14002b0d6
cmp qword [rbx + 0x10], 0x18
je 0x14002b0ea
inc edx
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.140008720
mov rbx, qword [rsp + 0x20]
cmp dword [rbx + 4], 1
jle 0x14002b177
mov rax, qword [rbx + 0x10]
cmp word [rax + rbx + 2], 0x3a
jne 0x14002b177
movzx ecx, word [rax + rbx]
call fcn.140009c80
mov ebx, eax
mov rax, qword [rsp + 0x20]
cmp dword [rax], 1
ja 0x14002b11c
cmp qword [rax + 0x10], 0x18
je 0x14002b133
mov edx, dword [rax + 4]
lea rcx, [rsp + 0x20]
inc edx
xor r8d, r8d
call fcn.140008720
mov rax, qword [rsp + 0x20]
mov edx, dword [rax + 4]
test edx, edx
jg 0x14002b14f
mov edx, 1
lea rcx, [rsp + 0x20]
lea r8d, [rdx + 0x1f]
call fcn.1400096d0
jmp 0x14002b16a
cmp dword [rax], 1
ja 0x14002b15b
cmp qword [rax + 0x10], 0x18
je 0x14002b16f
inc edx
lea rcx, [rsp + 0x20]
xor r8d, r8d
call fcn.140008720
mov rax, qword [rsp + 0x20]
mov rcx, qword [rax + 0x10]
mov word [rax + rcx], bx
movzx r8d, byte [rsp + 0x28]
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.140027ae0
mov rcx, qword [rsp + 0x20]
mov rbx, qword [rsp + 0x288]
mov eax, dword [rcx]
test eax, eax
je 0x14002b1ae
cmp eax, 0xffffffff
je 0x14002b1bc
sub eax, 1
mov dword [rcx], eax
jne 0x14002b1bc
mov rcx, qword [rsp + 0x20]
mov edx, 2
lea r8d, [rdx + 6]
call fcn.140003e30
mov rax, rdi
mov rcx, qword [rbp + 0x150]
xor rcx, rsp
call fcn.1400382e0
add rsp, 0x268
pop rdi
pop rbp
ret