Function at 0x140150274
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 [0x14024f530]
xor rax, rsp
mov qword [rsp + 0x260], rax
mov r12, rcx
call fcn.140165af8
mov ecx, 0x1d0
call fcn.140006b8c
mov qword [rsp + 0x38], rax
xor ebx, ebx
cmp rax, rbx
je 0x1401502de
xor r8d, r8d
mov rdx, qword [r12 + 8]
mov rcx, rax
call fcn.140168200
jmp 0x1401502e1
mov rax, rbx
mov rdx, rax
mov rcx, r12
call fcn.140165ab4
call fcn.140058530
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 0x1401504ec
mov edi, ebx
cmp dword [rbp + 8], ebx
jle 0x1401504ec
mov r13, rbx
call fcn.140011418
mov ecx, ebx
cmp rax, rbx
setne cl
cmp ecx, ebx
je 0x1401504e1
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 0x1401504a0
call fcn.140011418
mov ecx, ebx
cmp rax, rbx
setne cl
cmp ecx, ebx
je 0x1401504d6
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
cmp r14d, 9
jne 0x1401503e2
mov r8, qword [rsp + 0x30]
lea rdx, str.10__s
lea rcx, [rsp + 0x38]
call fcn.140005de0
jmp 0x140150413
cmp r14d, 9
jge 0x140150404
lea r8d, [r14 + 1]
mov r9, qword [rsp + 0x30]
lea rdx, str._d__s
lea rcx, [rsp + 0x38]
call fcn.140005de0
jmp 0x140150413
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140006120
mov ecx, 0x1d0
call fcn.140006b8c
mov qword [rsp + 0x48], rax
cmp rax, rbx
je 0x140150434
mov rcx, rax
call fcn.1400d5638
mov rsi, rax
jmp 0x140150437
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 0x1401504d0
cmp edi, dword [rbp + 8]
jge 0x1401504d0
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.140165ab4
inc r14d
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
xor ebx, ebx
cmp eax, ebx
jg 0x1401504a0
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 0x1401504c0
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 0x1401504ec
jmp 0x14015034a
call fcn.1400124d4
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.140182230
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