Function at 0x1400cdaa8
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 [0x140267920]
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.0x1400456ce.0]
mov rsi, rax
mov rcx, qword [r14 + 0x1658]
xor ebx, ebx
test rcx, rcx
je 0x1400cdb99
call qword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x1400ce12c
cmp qword [r14 + 0x228], rbx
jne 0x1400cdb3d
mov r8, rsi
mov rdx, qword [r14 + 0x1658]
lea rcx, vtable.CMenuHash.0
call fcn.14009d160
test eax, eax
jne 0x1400cdb99
cmp dword [0x140273df0], ebx
jne 0x1400cdc22
cmp dword [0x140266b40], ebx
je 0x1400cdc22
lea rcx, [0x140272870]
call fcn.1400c12d0
test eax, eax
je 0x1400cdc22
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.0x1400456ce.0]
test eax, eax
je 0x1400ce0dc
call fcn.14001b8a4
mov rcx, qword [rax + 8]
mov r13, qword [rcx + 0x118]
xor r8d, r8d
test r13, r13
je 0x1400cde72
cmp dword [0x140271a4c], r8d
jne 0x1400cde72
mov edi, r8d
mov dword [rsp + 0x44], r8d
mov r12d, r8d
mov r15, qword [rsi + 0x1190]
test r15, r15
je 0x1400cde72
mov qword [rsp + 0x50], r15
mov rbx, qword [r15 + 0x10]
mov r15, qword [r15]
test rbx, rbx
je 0x1400ce12c
cmp dword [rbx + 0x24], 0xe110
jne 0x1400cdc12
lea rdx, str.Recent_File
mov rcx, qword [rbx + 0x38]
call fcn.1401bb440
xor r8d, r8d
test eax, eax
je 0x1400cdc2d
mov r12d, dword [rbx + 0x28]
and r12d, 1
inc edi
mov dword [rsp + 0x44], edi
jmp 0x1400cdbd4
mov r8d, 1
jmp 0x1400cdb77
lea rcx, [rsi + 0x1188]
mov rdx, qword [rsp + 0x50]
call fcn.140078b2c
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400456ce.0]
lea rdx, [rbp + 0x1d0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rbp + 0x1d0]
call fcn.1401baa44
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 0x1400ce14e
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 0x1400cde2e
call fcn.1400204a0
mov rcx, rax
test rax, rax
je 0x1400ce143
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400456ce.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.0x1400456ce.0]
xor r8d, r8d
test eax, eax
je 0x1400cddee
call fcn.1400204a0
mov rcx, rax
test rax, rax
je 0x1400ce138
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400456ce.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.140016ae0
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.1400d2a48
mov rdx, rax
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x688]
mov r8, rdi
mov rcx, rsi
call qword [case.0x1400456ce.0]
mov edi, dword [rsp + 0x44]
inc edi
mov dword [rsp + 0x44], edi
lea rcx, [rsp + 0x70]
call fcn.1400d2b48
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor r8d, r8d
sub eax, 1
jg 0x1400cddea
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400456ce.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 0x1400cde17
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400456ce.0]
xor r8d, r8d
inc ebx
mov dword [rsp + 0x48], ebx
cmp ebx, dword [r13 + 8]
jl 0x1400cdcbf
cmp dword [rsp + 0x40], 0
jne 0x1400cde72
test r12d, r12d
je 0x1400cde72
test r15, r15
je 0x1400cde72
mov rbx, qword [r15 + 0x10]
test rbx, rbx
je 0x1400ce132
test byte [rbx + 0x28], 1
je 0x1400cde72
mov rdx, r15
lea rcx, [rsi + 0x1188]
call fcn.140078b2c
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400456ce.0]
xor r8d, r8d
cmp qword [0x1402715a0], r8
je 0x1400ce05e
cmp dword [0x140271a4c], r8d
jne 0x1400ce05e
mov ecx, r8d
mov dword [rsp + 0x40], ecx
mov r15d, r8d
mov r13d, r8d
mov r12, qword [rsi + 0x1190]
jmp 0x1400ce055
mov rdx, r12
mov rbx, qword [r12 + 0x10]
mov r12, qword [r12]
mov qword [rsp + 0x50], r12
test rbx, rbx
je 0x1400ce12c
mov eax, dword [rbx + 0x24]
mov rdi, qword [0x1402715a0]
cmp dword [rdi + 0x40], eax
jne 0x1400ce014
cmp dword [0x140273d8c], r8d
je 0x1400cdee1
cmp qword [rdi + 0x20], r8
je 0x1400cdf09
lea rcx, [rsi + 0x1188]
call fcn.140078b2c
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400456ce.0]
mov ecx, dword [rsp + 0x40]
xor r8d, r8d
test ecx, ecx
jne 0x1400ce052
test r13d, r13d
jne 0x1400cdf41
cmp qword [rdi + 0x20], r8
je 0x1400cdf41
cmp qword [rsi + 0x11a0], r8
je 0x1400cdf41
movsxd rdx, r15d
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x690]
call qword [case.0x1400456ce.0]
inc r15d
xor r8d, r8d
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400cdfdd
mov r14, rax
xor r12d, r12d
mov rbx, qword [r14 + 0x10]
mov r14, qword [r14]
call fcn.140039d64
mov rcx, rax
mov r8d, 1
mov edx, dword [rbx + 0x20]
call fcn.140039d30
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.1400d2a48
mov rdx, rax
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x688]
mov r8, rdi
mov rcx, rsi
call qword [case.0x1400456ce.0]
inc r15d
lea rcx, [rbp + 0xa0]
call fcn.1400d2b48
test r14, r14
jne 0x1400cdf54
mov r14, qword [rsp + 0x68]
mov r12, qword [rsp + 0x50]
xor r8d, r8d
test r12, r12
je 0x1400ce009
movsxd rdx, r15d
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x690]
call qword [case.0x1400456ce.0]
inc r15d
xor r8d, r8d
test eax, eax
lea r13d, [r8 + 1]
jns 0x1400ce009
mov r13d, r8d
mov ecx, 1
mov dword [rsp + 0x40], ecx
jmp 0x1400ce052
test byte [rbx + 0x28], 1
je 0x1400ce04f
test r13d, r13d
je 0x1400ce047
lea rcx, [rsi + 0x1188]
call fcn.140078b2c
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400456ce.0]
mov ecx, dword [rsp + 0x40]
xor r8d, r8d
mov r13d, 1
jmp 0x1400ce052
mov r13d, r8d
inc r15d
test r12, r12
jne 0x1400cdea5
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x788]
call qword [case.0x1400456ce.0]
mov rbx, rax
test rax, rax
je 0x1400ce090
mov rcx, qword [rax]
mov rax, qword [rcx + 0x2a0]
mov rcx, rbx
call qword [case.0x1400456ce.0]
test eax, eax
jne 0x1400ce0a0
mov rcx, r14
call fcn.14003034c
mov rbx, rax
test rax, rax
je 0x1400ce0b9
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
mov rax, qword [rax + 0x488]
call qword [case.0x1400456ce.0]
mov rax, qword [0x140272928]
test rax, rax
jne 0x1400ce0cd
mov rcx, r14
call fcn.140023548
mov rdx, r14
mov rcx, rax
call fcn.1400cbafc
test eax, eax
jne 0x1400ce0e0
xor eax, eax
jmp 0x1400ce0fc
mov rdx, qword [r14]
mov rax, qword [rdx + 0x2f0]
mov ebx, 1
mov edx, ebx
mov rcx, r14
call qword [case.0x1400456ce.0]
mov eax, ebx
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.1401ae6a0
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.14001edb8
int3
call fcn.14001edb8
nop
mov ecx, 0x80004005
call fcn.140012d38
nop
mov ecx, 0x80004005
call fcn.140012d38
int3
call fcn.1401aece0
int3