Function at 0x1400b0598
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x308]
sub rsp, 0x3e0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402af750]
xor rax, rsp
mov qword [rbp + 0x2d0], rax
mov r14, rcx
mov rax, qword [rcx]
call qword [rax + 0x388]
mov rsi, rax
mov rcx, qword [r14 + 0x1638]
xor ebx, ebx
test rcx, rcx
je 0x1400b06a2
call qword [sym.imp.USER32.dll_IsMenu]
mov ecx, ebx
test eax, eax
setne cl
test ecx, ecx
jne 0x1400b0610
call fcn.1400500b4
int3
cmp qword [r14 + 0x218], rbx
jne 0x1400b0633
mov r8, rsi
mov rdx, qword [r14 + 0x1638]
lea rcx, str.xR__
call fcn.1400d05b0
test eax, eax
jne 0x1400b06a2
cmp dword [0x1402f2a18], ebx
jne 0x1400b067e
cmp dword [0x1402aed58], ebx
je 0x1400b067e
lea rcx, [0x1402f1630]
call fcn.14013a25c
test eax, eax
je 0x1400b067e
mov eax, ebx
cmp qword [r14 + 0x218], rbx
setne al
mov r9, qword [rsi]
mov r8d, ebx
test eax, eax
sete r8b
mov rdx, qword [r14 + 0x1638]
mov rcx, rsi
call qword [r9 + 0x868]
jmp 0x1400b0697
mov rax, qword [rsi]
mov r8d, 1
mov rdx, qword [r14 + 0x1638]
mov rcx, rsi
call qword [rax + 0x868]
test eax, eax
jne 0x1400b06a2
xor eax, eax
jmp 0x1400b0bbc
call fcn.14004eb08
mov rcx, qword [rax + 8]
mov r13, qword [rcx + 0x118]
xor ecx, ecx
test r13, r13
je 0x1400b0968
cmp dword [0x1402f07bc], ecx
jne 0x1400b0968
mov edi, ecx
mov dword [rsp + 0x34], ecx
mov r12d, ecx
mov r15, qword [rsi + 0x1180]
test r15, r15
je 0x1400b0968
mov qword [rsp + 0x40], r15
mov rbx, r15
mov r15, qword [r15]
mov rbx, qword [rbx + 0x10]
mov eax, ecx
test rbx, rbx
setne al
test eax, eax
je 0x1400b0962
cmp dword [rbx + 0x24], 0xe110
jne 0x1400b0720
lea rdx, str.Recent_File
mov rcx, qword [rbx + 0x38]
call fcn.1401cce18
xor ecx, ecx
test eax, eax
je 0x1400b0730
mov r12d, dword [rbx + 0x28]
and r12d, 1
inc edi
mov dword [rsp + 0x34], edi
jmp 0x1400b06d9
lea rcx, [rsi + 0x1178]
mov rdx, qword [rsp + 0x40]
call fcn.140061020
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rbp + 0x1c0]
mov ebx, 0x104
mov ecx, ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
lea rcx, [rbp + 0x1c0]
call fcn.1401c96c0
movsxd rcx, eax
mov byte [rbp + rcx + 0x1c0], 0x5c
lea edi, [rax + 1]
mov qword [rsp + 0x40], rdi
movsxd rax, edi
cmp rax, rbx
jae 0x1400b095c
xor ecx, ecx
mov byte [rbp + rax + 0x1c0], cl
mov dword [rsp + 0x30], ecx
mov ebx, ecx
mov dword [rsp + 0x38], ecx
cmp dword [r13 + 8], ecx
jle 0x1400b0915
call fcn.140050b04
xor r8d, r8d
mov ecx, r8d
test rax, rax
setne cl
test ecx, ecx
je 0x1400b090a
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
mov rax, qword [r13]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], edi
lea r9, [rbp + 0x1c0]
mov r8d, ebx
lea rdx, [rsp + 0x48]
mov rcx, r13
call qword [rax + 0x18]
xor ecx, ecx
test eax, eax
je 0x1400b08c9
call fcn.140050b04
xor edx, edx
mov ecx, edx
test rax, rax
setne cl
test ecx, ecx
je 0x1400b08f5
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov r9, qword [rsp + 0x48]
mov r8d, eax
lea rdx, str._d__s
lea rcx, [rsp + 0x50]
call fcn.14004de4c
movsxd rdi, dword [rsp + 0x34]
lea edx, [rbx + 0xe110]
xor r8d, r8d
mov dword [rsp + 0x28], r8d
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rbx
or r9d, 0xffffffff
lea rcx, [rbp + 0x90]
call fcn.1401250f0
nop
mov r9, qword [rsi]
mov r8, rdi
mov rdx, rax
mov rcx, rsi
call qword [r9 + 0x680]
inc dword [rsp + 0x34]
lea rcx, [rbp + 0x90]
call fcn.140125200
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor ecx, ecx
dec eax
jg 0x1400b08c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor ecx, ecx
mov rdi, qword [rsp + 0x40]
mov ebx, dword [rsp + 0x38]
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
lock add dword [rdx + 0x10], 0xffffffff
jg 0x1400b08e4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor ecx, ecx
inc ebx
mov dword [rsp + 0x38], ebx
cmp ebx, dword [r13 + 8]
jge 0x1400b0900
jmp 0x1400b07ab
mov ecx, 0x80004005
call fcn.1400145b0
nop
mov eax, dword [rsp + 0x30]
test eax, eax
jne 0x1400b0968
jmp 0x1400b0915
mov ecx, 0x80004005
call fcn.1400145b0
int3
test r12d, r12d
je 0x1400b0968
test r15, r15
je 0x1400b0968
mov rbx, qword [r15 + 0x10]
mov eax, ecx
test rbx, rbx
setne al
test eax, eax
jne 0x1400b0935
call fcn.1400500b4
int3
test byte [rbx + 0x28], 1
je 0x1400b0968
mov rdx, r15
lea rcx, [rsi + 0x1178]
call fcn.140061020
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor ecx, ecx
jmp 0x1400b0968
call fcn.1401cd2c8
int3
call fcn.1400500b4
int3
cmp qword [0x1402f2c60], rcx
je 0x1400b0b39
cmp dword [0x1402f07bc], ecx
jne 0x1400b0b39
mov dword [rsp + 0x30], ecx
mov r15d, ecx
mov r13d, ecx
mov r12, qword [rsi + 0x1180]
test r12, r12
je 0x1400b0b39
mov rdx, r12
mov rbx, r12
mov r12, qword [r12]
mov rbx, qword [rbx + 0x10]
mov eax, ecx
test rbx, rbx
setne al
test eax, eax
je 0x1400b0b33
mov rdi, qword [0x1402f2c60]
mov eax, dword [rdi + 0x40]
cmp eax, dword [rbx + 0x24]
jne 0x1400b0af3
cmp dword [0x1402f04a0], ecx
je 0x1400b09da
cmp qword [rdi + 0x20], rcx
je 0x1400b09f6
lea rcx, [rsi + 0x1178]
call fcn.140061020
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor ecx, ecx
cmp dword [rsp + 0x30], ecx
jne 0x1400b0b25
test r13d, r13d
jne 0x1400b0a28
cmp qword [rdi + 0x20], rcx
je 0x1400b0a28
cmp qword [rsi + 0x1190], rcx
je 0x1400b0a28
movsxd rdx, r15d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x688]
inc r15d
xor ecx, ecx
mov rax, qword [rdi + 0x10]
jmp 0x1400b0abc
mov rdi, rax
test rax, rax
je 0x1400b0b2d
mov rax, qword [rax]
mov qword [rsp + 0x40], rax
mov rdi, qword [rdi + 0x10]
mov ebx, dword [rdi + 0x20]
call fcn.1400d0fb0
mov rcx, rax
mov r8d, 1
mov edx, ebx
call fcn.1400d0f7c
movsxd rbx, r15d
mov r9, qword [rdi + 8]
xor r8d, r8d
mov ecx, r8d
cmp eax, 0xffffffff
setne cl
cmp eax, 0xffffffff
cmove eax, r8d
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r9
mov r9d, eax
mov edx, dword [rdi + 0x20]
lea rcx, [rsp + 0x60]
call fcn.1401250f0
nop
mov r9, qword [rsi]
mov r8, rbx
mov rdx, rax
mov rcx, rsi
call qword [r9 + 0x680]
inc r15d
lea rcx, [rsp + 0x60]
call fcn.140125200
mov rax, qword [rsp + 0x40]
xor ecx, ecx
test rax, rax
jne 0x1400b0a31
test r12, r12
je 0x1400b0ae9
movsxd rdx, r15d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x688]
inc r15d
xor ecx, ecx
test eax, eax
lea r13d, [rcx + 1]
jns 0x1400b0ae9
mov r13d, ecx
mov dword [rsp + 0x30], 1
jmp 0x1400b0b25
test byte [rbx + 0x28], 1
je 0x1400b0b22
test r13d, r13d
je 0x1400b0b1a
lea rcx, [rsi + 0x1178]
call fcn.140061020
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor ecx, ecx
mov r13d, 1
jmp 0x1400b0b25
mov r13d, ecx
inc r15d
jmp 0x1400b0992
call fcn.1400500b4
int3
call fcn.1400500b4
int3
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x780]
mov rbx, rax
test rax, rax
je 0x1400b0b5d
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x298]
test eax, eax
jne 0x1400b0b68
mov rcx, r14
call fcn.14008ffa0
mov rbx, rax
test rbx, rbx
je 0x1400b0b7f
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
call qword [rax + 0x480]
mov rax, qword [0x1402f0708]
test rax, rax
jne 0x1400b0b93
mov rcx, r14
call fcn.140058eac
mov rdx, r14
mov rcx, rax
call fcn.1400ae688
test eax, eax
je 0x1400b069b
mov r8, qword [r14]
mov ebx, 1
mov edx, ebx
mov rcx, r14
call qword [r8 + 0x2e8]
mov eax, ebx
mov rcx, qword [rbp + 0x2d0]
xor rcx, rsp
call fcn.1401cc850
lea r11, [rsp + 0x3e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret