Function at 0x1400e7924
Capabilities:
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x418]
sub rsp, 0x4f0
mov rax, qword [0x140282920]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov r14, rcx
mov qword [rsp + 0x68], rcx
mov rax, qword [rcx]
mov rax, qword [rax + 0x390]
call qword [case.0x14006da42.0]
mov rsi, rax
mov rcx, qword [r14 + 0x1658]
xor ebx, ebx
test rcx, rcx
je 0x1400e7a15
call qword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x1400e7fa8
cmp qword [r14 + 0x228], rbx
jne 0x1400e79b9
mov r8, rsi
mov rdx, qword [r14 + 0x1658]
lea rcx, vtable.CMenuHash.0
call fcn.1400b70ec
test eax, eax
jne 0x1400e7a15
cmp dword [0x14028efe0], ebx
jne 0x1400e7a9e
cmp dword [0x140281bb0], ebx
je 0x1400e7a9e
lea rcx, [0x14028e1b0]
call fcn.1400db25c
test eax, eax
je 0x1400e7a9e
mov r8d, ebx
cmp qword [r14 + 0x228], rbx
sete r8b
mov rax, qword [rsi]
mov rdx, qword [r14 + 0x1658]
mov rcx, rsi
mov rax, qword [rax + 0x870]
call qword [case.0x14006da42.0]
test eax, eax
je 0x1400e7f58
call fcn.140034d60
mov rcx, qword [rax + 8]
mov r13, qword [rcx + 0x118]
xor r8d, r8d
test r13, r13
je 0x1400e7cee
cmp dword [0x14028d38c], r8d
jne 0x1400e7cee
mov edi, r8d
mov dword [rsp + 0x44], r8d
mov r12d, r8d
mov r15, qword [rsi + 0x1190]
test r15, r15
je 0x1400e7cee
mov qword [rsp + 0x50], r15
mov rbx, qword [r15 + 0x10]
mov r15, qword [r15]
test rbx, rbx
je 0x1400e7fa8
cmp dword [rbx + 0x24], 0xe110
jne 0x1400e7a8e
lea rdx, str.Recent_File
mov rcx, qword [rbx + 0x38]
call fcn.1401cf350
xor r8d, r8d
test eax, eax
je 0x1400e7aa9
mov r12d, dword [rbx + 0x28]
and r12d, 1
inc edi
mov dword [rsp + 0x44], edi
jmp 0x1400e7a50
mov r8d, 1
jmp 0x1400e79f3
lea rcx, [rsi + 0x1188]
mov rdx, qword [rsp + 0x50]
call fcn.140051074
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14006da42.0]
lea rdx, [rbp + 0x1d0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rbp + 0x1d0]
call fcn.1401cef48
movsxd rcx, eax
mov edx, 0x5c
mov word [rbp + rcx*2 + 0x1d0], dx
inc eax
mov qword [rsp + 0x60], rax
lea rcx, [rcx*2 + 2]
cmp rcx, 0x208
jae 0x1400e7fca
xor r8d, r8d
mov word [rbp + rcx + 0x1d0], r8w
mov dword [rsp + 0x40], r8d
mov ebx, r8d
mov dword [rsp + 0x48], ebx
cmp dword [r13 + 8], r8d
jle 0x1400e7caa
call fcn.14003115c
mov rcx, rax
test rax, rax
je 0x1400e7fbf
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14006da42.0]
add rax, 0x18
mov qword [rsp + 0x58], rax
mov rax, qword [r13]
mov dword [rsp + 0x28], 1
mov rcx, qword [rsp + 0x60]
mov dword [rsp + 0x20], ecx
lea r9, [rbp + 0x1d0]
mov r8d, ebx
lea rdx, [rsp + 0x58]
mov rcx, r13
mov rax, qword [rax + 0x18]
call qword [case.0x14006da42.0]
xor r8d, r8d
test eax, eax
je 0x1400e7c6a
call fcn.14003115c
mov rcx, rax
test rax, rax
je 0x1400e7fb4
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14006da42.0]
add rax, 0x18
mov qword [rsp + 0x50], rax
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov r9, qword [rsp + 0x58]
mov r8d, eax
lea rdx, str._d__Ts
lea rcx, [rsp + 0x50]
call fcn.1400147a0
movsxd rdi, edi
lea edx, [rbx + 0xe110]
and dword [rsp + 0x28], 0
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rbx
or r9d, 0xffffffff
xor r8d, r8d
lea rcx, [rsp + 0x70]
call fcn.1400ec8c4
mov rdx, rax
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x688]
mov r8, rdi
mov rcx, rsi
call qword [case.0x14006da42.0]
mov edi, dword [rsp + 0x44]
inc edi
mov dword [rsp + 0x44], edi
lea rcx, [rsp + 0x70]
call fcn.1400ec9c4
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor r8d, r8d
sub eax, 1
jg 0x1400e7c66
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006da42.0]
xor r8d, r8d
mov ebx, dword [rsp + 0x48]
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400e7c93
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006da42.0]
xor r8d, r8d
inc ebx
mov dword [rsp + 0x48], ebx
cmp ebx, dword [r13 + 8]
jl 0x1400e7b3b
cmp dword [rsp + 0x40], 0
jne 0x1400e7cee
test r12d, r12d
je 0x1400e7cee
test r15, r15
je 0x1400e7cee
mov rbx, qword [r15 + 0x10]
test rbx, rbx
je 0x1400e7fae
test byte [rbx + 0x28], 1
je 0x1400e7cee
mov rdx, r15
lea rcx, [rsi + 0x1188]
call fcn.140051074
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14006da42.0]
xor r8d, r8d
cmp qword [0x14028cee8], r8
je 0x1400e7eda
cmp dword [0x14028d38c], r8d
jne 0x1400e7eda
mov ecx, r8d
mov dword [rsp + 0x40], ecx
mov r15d, r8d
mov r13d, r8d
mov r12, qword [rsi + 0x1190]
jmp 0x1400e7ed1
mov rdx, r12
mov rbx, qword [r12 + 0x10]
mov r12, qword [r12]
mov qword [rsp + 0x50], r12
test rbx, rbx
je 0x1400e7fa8
mov eax, dword [rbx + 0x24]
mov rdi, qword [0x14028cee8]
cmp dword [rdi + 0x40], eax
jne 0x1400e7e90
cmp dword [0x14028ef7c], r8d
je 0x1400e7d5d
cmp qword [rdi + 0x20], r8
je 0x1400e7d85
lea rcx, [rsi + 0x1188]
call fcn.140051074
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14006da42.0]
mov ecx, dword [rsp + 0x40]
xor r8d, r8d
test ecx, ecx
jne 0x1400e7ece
test r13d, r13d
jne 0x1400e7dbd
cmp qword [rdi + 0x20], r8
je 0x1400e7dbd
cmp qword [rsi + 0x11a0], r8
je 0x1400e7dbd
movsxd rdx, r15d
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x690]
call qword [case.0x14006da42.0]
inc r15d
xor r8d, r8d
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400e7e59
mov r14, rax
xor r12d, r12d
mov rbx, qword [r14 + 0x10]
mov r14, qword [r14]
call fcn.1400620e0
mov rcx, rax
mov r8d, 1
mov edx, dword [rbx + 0x20]
call fcn.1400620ac
movsxd rdi, r15d
mov ecx, r12d
cmp eax, 0xffffffff
setne cl
cmove eax, r12d
mov dword [rsp + 0x28], ecx
mov rcx, qword [rbx + 8]
mov qword [rsp + 0x20], rcx
mov r9d, eax
xor r8d, r8d
mov edx, dword [rbx + 0x20]
lea rcx, [rbp + 0xa0]
call fcn.1400ec8c4
mov rdx, rax
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x688]
mov r8, rdi
mov rcx, rsi
call qword [case.0x14006da42.0]
inc r15d
lea rcx, [rbp + 0xa0]
call fcn.1400ec9c4
test r14, r14
jne 0x1400e7dd0
mov r14, qword [rsp + 0x68]
mov r12, qword [rsp + 0x50]
xor r8d, r8d
test r12, r12
je 0x1400e7e85
movsxd rdx, r15d
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x690]
call qword [case.0x14006da42.0]
inc r15d
xor r8d, r8d
test eax, eax
lea r13d, [r8 + 1]
jns 0x1400e7e85
mov r13d, r8d
mov ecx, 1
mov dword [rsp + 0x40], ecx
jmp 0x1400e7ece
test byte [rbx + 0x28], 1
je 0x1400e7ecb
test r13d, r13d
je 0x1400e7ec3
lea rcx, [rsi + 0x1188]
call fcn.140051074
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14006da42.0]
mov ecx, dword [rsp + 0x40]
xor r8d, r8d
mov r13d, 1
jmp 0x1400e7ece
mov r13d, r8d
inc r15d
test r12, r12
jne 0x1400e7d21
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x788]
call qword [case.0x14006da42.0]
mov rbx, rax
test rax, rax
je 0x1400e7f0c
mov rcx, qword [rax]
mov rax, qword [rcx + 0x2a0]
mov rcx, rbx
call qword [case.0x14006da42.0]
test eax, eax
jne 0x1400e7f1c
mov rcx, r14
call fcn.140058828
mov rbx, rax
test rax, rax
je 0x1400e7f35
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
mov rax, qword [rax + 0x488]
call qword [case.0x14006da42.0]
mov rax, qword [0x14028e268]
test rax, rax
jne 0x1400e7f49
mov rcx, r14
call fcn.140029ba8
mov rdx, r14
mov rcx, rax
call fcn.1400e5978
test eax, eax
jne 0x1400e7f5c
xor eax, eax
jmp 0x1400e7f78
mov rdx, qword [r14]
mov rax, qword [rdx + 0x2f0]
mov ebx, 1
mov edx, ebx
mov rcx, r14
call qword [case.0x14006da42.0]
mov eax, ebx
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.1401c1c90
lea r11, [rsp + 0x4f0]
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
call fcn.140030a38
int3
call fcn.140030a38
nop
mov ecx, 0x80004005
call fcn.140014690
nop
mov ecx, 0x80004005
call fcn.140014690
int3
call fcn.1401c22d0
int3