Function at 0x140152eb8
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 [0x140253530]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r12, rcx
call fcn.140168730
mov ecx, 0x1d0
call fcn.1400097cc
mov qword [rsp + 0x38], rax
xor ebx, ebx
cmp rax, rbx
je 0x140152f22
xor r8d, r8d
mov rdx, qword [r12 + 8]
mov rcx, rax
call fcn.14016ac60
jmp 0x140152f25
mov rax, rbx
mov rdx, rax
mov rcx, r12
call fcn.1401686ec
call fcn.14005b1a4
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 0x140153130
mov edi, ebx
cmp dword [rbp + 8], ebx
jle 0x140153130
mov r13, rbx
call fcn.140013f60
mov ecx, ebx
cmp rax, rbx
setne cl
cmp ecx, ebx
je 0x140153125
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 0x1401530e4
call fcn.140013f60
mov ecx, ebx
cmp rax, rbx
setne cl
cmp ecx, ebx
je 0x14015311a
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
cmp r14d, 9
jne 0x140153026
mov r8, qword [rsp + 0x30]
lea rdx, str.10__s
lea rcx, [rsp + 0x38]
call fcn.140008680
jmp 0x140153057
cmp r14d, 9
jge 0x140153048
lea r8d, [r14 + 1]
mov r9, qword [rsp + 0x30]
lea rdx, str._d__s
lea rcx, [rsp + 0x38]
call fcn.140008680
jmp 0x140153057
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.1400089c0
mov ecx, 0x1d0
call fcn.1400097cc
mov qword [rsp + 0x48], rax
cmp rax, rbx
je 0x140153078
mov rcx, rax
call fcn.1400d81a8
mov rsi, rax
jmp 0x14015307b
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 0x140153114
cmp edi, dword [rbp + 8]
jge 0x140153114
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.1401686ec
inc r14d
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
xor ebx, ebx
cmp eax, ebx
jg 0x1401530e4
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 0x140153104
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 0x140153130
jmp 0x140152f8e
call fcn.14001501c
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.140184d90
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