Function at 0x140153160
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140252530]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r12, rcx
call fcn.140168664
mov ecx, 0x1d0
call fcn.14000989c
mov qword [rsp + 0x38], rax
xor ebx, ebx
cmp rax, rbx
je 0x1401531ca
xor r8d, r8d
mov rdx, qword [r12 + 8]
mov rcx, rax
call fcn.14016aca0
jmp 0x1401531cd
mov rax, rbx
mov rdx, rax
mov rcx, r12
call fcn.140168620
call fcn.14005b520
mov rcx, qword [rax + 8]
mov rbp, qword [rcx + 0x110]
lea rdx, [rsp + 0x50]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
movsxd r15, eax
mov eax, 0x5c
mov word [rsp + r15*2 + 0x50], ax
inc r15d
movsxd rcx, r15d
mov word [rsp + rcx*2 + 0x50], bx
mov r14d, ebx
cmp rbp, rbx
je 0x1401533d8
mov edi, ebx
cmp dword [rbp + 8], ebx
jle 0x1401533d8
mov r13, rbx
call fcn.140013fa4
mov ecx, ebx
cmp rax, rbx
setne cl
cmp ecx, ebx
je 0x1401533cd
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
mov rax, qword [rbp]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r15d
lea r9, [rsp + 0x50]
mov r8d, edi
lea rdx, [rsp + 0x30]
mov rcx, rbp
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetDim]
cmp eax, ebx
je 0x14015338c
call fcn.140013fa4
mov ecx, ebx
cmp rax, rbx
setne cl
cmp ecx, ebx
je 0x1401533c2
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
cmp r14d, 9
jne 0x1401532ce
mov r8, qword [rsp + 0x30]
lea rdx, str.10__s
lea rcx, [rsp + 0x38]
call fcn.140008750
jmp 0x1401532ff
cmp r14d, 9
jge 0x1401532f0
lea r8d, [r14 + 1]
mov r9, qword [rsp + 0x30]
lea rdx, str._d__s
lea rcx, [rsp + 0x38]
call fcn.140008750
jmp 0x1401532ff
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140008a90
mov ecx, 0x1d0
call fcn.14000989c
mov qword [rsp + 0x48], rax
cmp rax, rbx
je 0x140153320
mov rcx, rax
call fcn.1400d8750
mov rsi, rax
jmp 0x140153323
mov rsi, rbx
mov rax, qword [rsi]
mov rbx, qword [rsp + 0x38]
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x20]
mov r11, qword [rsi]
lea edx, [rdi + 0xe110]
mov rcx, rsi
call qword [r11 + 0x18]
test edi, edi
js 0x1401533bc
cmp edi, dword [rbp + 8]
jge 0x1401533bc
mov rax, qword [rbp + 0x10]
mov r8, qword [rsi]
mov rdx, qword [r13 + rax]
mov rcx, rsi
call qword [r8 + 0x48]
mov rdx, rsi
mov rcx, r12
call fcn.140168620
inc r14d
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
xor ebx, ebx
cmp eax, ebx
jg 0x14015338c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
cmp eax, ebx
jg 0x1401533ac
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
inc edi
add r13, 8
cmp edi, dword [rbp + 8]
jge 0x1401533d8
jmp 0x140153236
call fcn.14001505c
nop
mov ecx, 0x80004005
call fcn.140001f40
nop
mov ecx, 0x80004005
call fcn.140001f40
int3
mov rcx, qword [rsp + 0x260]
xor rcx, rsp
call fcn.140184e60
lea r11, [rsp + 0x270]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret