Function at 0x18000e620
Capabilities:
Get common file path

Disassembly:
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x180]
sub rsp, 0x280
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rsp + 0x2c8], rbx
mov rax, qword [0x1800a3830]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, r8
mov r14, rdx
mov r15, rcx
mov rcx, r8
call fcn.18000c370
mov rcx, r14
call fcn.18000e6e0
mov ebx, eax
test eax, eax
je 0x18000e3c9
lea r15, [rbx + rbx]
lea r10, [r15 + r14]
mov rcx, r10
call fcn.18000e1d0
test al, al
je 0x18000e3c2
mov rdx, r10
lea rcx, [rsp + 0x40]
call fcn.18000c150
nop
lea rcx, [rsp + 0x40]
call fcn.18000ec20
test al, al
je 0x18000e3b8
cmp ebx, dword [rdi + 8]
jae 0x18000e3aa
mov dword [rdi + 8], ebx
mov rax, qword [rdi]
xor esi, esi
mov word [r15 + rax], si
lea rdx, [rsp + 0x40]
mov rcx, rdi
call fcn.18000c4f0
nop
mov rcx, qword [rsp + 0x40]
call fcn.18002f990
mov al, 1
jmp 0x18000e5ef
lea rcx, [rsp + 0x20]
call fcn.18000c1e0
nop
xor esi, esi
test r15, r15
je 0x18000e3ea
mov rdx, r15
lea rcx, [rsp + 0x20]
call fcn.18000c370
jmp 0x18000e42a
mov dword [rsp + 0x28], esi
mov rax, qword [rsp + 0x20]
mov word [rax], si
mov word [rsp + 0x60], si
lea rdx, [rsp + 0x60]
mov ecx, 0x105
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov ebx, eax
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.18000c370
lea eax, [rbx - 1]
cmp eax, 0x103
ja 0x18000e5dd
mov ecx, dword [rsp + 0x28]
mov r10, qword [rsp + 0x20]
test ecx, ecx
je 0x18000e482
mov eax, ecx
movzx edx, word [r10 + rcx*2 - 2]
cmp dx, 0x2f
je 0x18000e482
cmp dx, 0x5c
je 0x18000e482
cmp dword [rsp + 0x2c], ecx
jne 0x18000e464
lea rcx, [rsp + 0x20]
call fcn.18000c880
mov ecx, dword [rsp + 0x28]
mov r10, qword [rsp + 0x20]
mov eax, ecx
mov edx, 0x5c
mov word [r10 + rax*2], dx
inc ecx
mov eax, ecx
mov word [r10 + rcx*2], si
mov dword [rsp + 0x28], ecx
mov r10, qword [rsp + 0x20]
movzx ecx, word [r10]
cmp cx, 0x5c
je 0x18000e492
cmp cx, 0x2f
jne 0x18000e4cf
movzx eax, word [r10 + 2]
cmp ax, 0x5c
je 0x18000e4a3
cmp ax, 0x2f
jne 0x18000e4cf
cmp word [r10 + 4], 0x3f
jne 0x18000e4cf
movzx eax, word [r10 + 6]
cmp ax, 0x2f
je 0x18000e4bc
cmp ax, 0x5c
jne 0x18000e4cf
mov rcx, r10
call fcn.18000e870
mov ebx, eax
test eax, eax
jne 0x18000e53c
jmp 0x18000e5e2
lea eax, [rcx - 0x61]
cmp ax, 0x19
jbe 0x18000e4e1
lea eax, [rcx - 0x41]
cmp ax, 0x19
ja 0x18000e501
cmp word [r10 + 2], 0x3a
jne 0x18000e501
movzx eax, word [r10 + 4]
cmp ax, 0x2f
je 0x18000e4fa
cmp ax, 0x5c
jne 0x18000e501
mov ebx, 3
jmp 0x18000e53c
cmp cx, 0x5c
je 0x18000e511
cmp cx, 0x2f
jne 0x18000e5e2
movzx eax, word [r10 + 2]
cmp ax, 0x5c
je 0x18000e526
cmp ax, 0x2f
jne 0x18000e5e2
lea rcx, [r10 + 4]
call fcn.18000e760
mov ebx, eax
test eax, eax
je 0x18000e5e2
add ebx, 2
lea rcx, [rsp + 0x30]
call fcn.18000c1e0
nop
movzx eax, word [r14]
cmp ax, 0x5c
je 0x18000e57b
cmp ax, 0x2f
je 0x18000e57b
mov ecx, ebx
mov rax, qword [rsp + 0x20]
lea rdx, [rax + rcx*2]
lea rcx, [rsp + 0x30]
call fcn.18000c600
mov rdx, r14
lea rcx, [rsp + 0x30]
call fcn.18000c600
jmp 0x18000e589
lea rdx, [r14 + 2]
lea rcx, [rsp + 0x30]
call fcn.18000c370
lea rcx, [rsp + 0x30]
call fcn.18000ec20
test al, al
jne 0x18000e59b
xor bl, bl
jmp 0x18000e5cc
cmp ebx, dword [rsp + 0x28]
jae 0x18000e5b0
mov dword [rsp + 0x28], ebx
mov ecx, ebx
mov rax, qword [rsp + 0x20]
mov word [rax + rcx*2], si
lea rdx, [rsp + 0x20]
mov rcx, rdi
call fcn.18000c220
lea rdx, [rsp + 0x30]
mov rcx, rdi
call fcn.18000c4f0
mov bl, 1
mov rcx, qword [rsp + 0x30]
call fcn.18002f990
mov r10, qword [rsp + 0x20]
jmp 0x18000e5e4
mov r10, qword [rsp + 0x20]
xor bl, bl
mov rcx, r10
call fcn.18002f990
movzx eax, bl
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.18002fa40
mov rbx, qword [rsp + 0x2c8]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov r8, rdx
mov rdx, rcx
xor ecx, ecx
jmp 0x18000e310