Function at 0x140150bb8
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.140166248
mov ecx, 0x1d0
call fcn.1400071ac
mov qword [rsp + 0x38], rax
xor ebx, ebx
cmp rax, rbx
je 0x140150c22
xor r8d, r8d
mov rdx, qword [r12 + 8]
mov rcx, rax
call fcn.1401687a0
jmp 0x140150c25
mov rax, rbx
mov rdx, rax
mov rcx, r12
call fcn.140166204
call fcn.140058dec
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 0x140150e30
mov edi, ebx
cmp dword [rbp + 8], ebx
jle 0x140150e30
mov r13, rbx
call fcn.140011920
mov ecx, ebx
cmp rax, rbx
setne cl
cmp ecx, ebx
je 0x140150e25
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 0x140150de4
call fcn.140011920
mov ecx, ebx
cmp rax, rbx
setne cl
cmp ecx, ebx
je 0x140150e1a
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
cmp r14d, 9
jne 0x140150d26
mov r8, qword [rsp + 0x30]
lea rdx, str.10__s
lea rcx, [rsp + 0x38]
call fcn.140006400
jmp 0x140150d57
cmp r14d, 9
jge 0x140150d48
lea r8d, [r14 + 1]
mov r9, qword [rsp + 0x30]
lea rdx, str._d__s
lea rcx, [rsp + 0x38]
call fcn.140006400
jmp 0x140150d57
lea rdx, [rsp + 0x30]
lea rcx, [rsp + 0x38]
call fcn.140006740
mov ecx, 0x1d0
call fcn.1400071ac
mov qword [rsp + 0x48], rax
cmp rax, rbx
je 0x140150d78
mov rcx, rax
call fcn.1400d5f4c
mov rsi, rax
jmp 0x140150d7b
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 0x140150e14
cmp edi, dword [rbp + 8]
jge 0x140150e14
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.140166204
inc r14d
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
dec eax
xor ebx, ebx
cmp eax, ebx
jg 0x140150de4
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 0x140150e04
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 0x140150e30
jmp 0x140150c8e
call fcn.1400129dc
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.140182850
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