Function at 0x1400d4378
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 [0x140271920]
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.0x14004bf9e.0]
mov rsi, rax
mov rcx, qword [r14 + 0x1658]
xor ebx, ebx
test rcx, rcx
je 0x1400d4469
call qword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x1400d49fc
cmp qword [r14 + 0x228], rbx
jne 0x1400d440d
mov r8, rsi
mov rdx, qword [r14 + 0x1658]
lea rcx, vtable.CMenuHash.0
call fcn.1400a3a30
test eax, eax
jne 0x1400d4469
cmp dword [0x14027de50], ebx
jne 0x1400d44f2
cmp dword [0x140270b40], ebx
je 0x1400d44f2
lea rcx, [0x14027c8d0]
call fcn.1400c7ba0
test eax, eax
je 0x1400d44f2
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.0x14004bf9e.0]
test eax, eax
je 0x1400d49ac
call fcn.140026d08
mov rcx, qword [rax + 8]
mov r13, qword [rcx + 0x118]
xor r8d, r8d
test r13, r13
je 0x1400d4742
cmp dword [0x14027baac], r8d
jne 0x1400d4742
mov edi, r8d
mov dword [rsp + 0x44], r8d
mov r12d, r8d
mov r15, qword [rsi + 0x1190]
test r15, r15
je 0x1400d4742
mov qword [rsp + 0x50], r15
mov rbx, qword [r15 + 0x10]
mov r15, qword [r15]
test rbx, rbx
je 0x1400d49fc
cmp dword [rbx + 0x24], 0xe110
jne 0x1400d44e2
lea rdx, str.Recent_File
mov rcx, qword [rbx + 0x38]
call fcn.1401c47d0
xor r8d, r8d
test eax, eax
je 0x1400d44fd
mov r12d, dword [rbx + 0x28]
and r12d, 1
inc edi
mov dword [rsp + 0x44], edi
jmp 0x1400d44a4
mov r8d, 1
jmp 0x1400d4447
lea rcx, [rsi + 0x1188]
mov rdx, qword [rsp + 0x50]
call fcn.140098704
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14004bf9e.0]
lea rdx, [rbp + 0x1d0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rbp + 0x1d0]
call fcn.1401c3dc4
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 0x1400d4a1e
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 0x1400d46fe
call fcn.1400267dc
mov rcx, rax
test rax, rax
je 0x1400d4a13
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004bf9e.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.0x14004bf9e.0]
xor r8d, r8d
test eax, eax
je 0x1400d46be
call fcn.1400267dc
mov rcx, rax
test rax, rax
je 0x1400d4a08
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004bf9e.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.14001d3b0
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.1400d9318
mov rdx, rax
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x688]
mov r8, rdi
mov rcx, rsi
call qword [case.0x14004bf9e.0]
mov edi, dword [rsp + 0x44]
inc edi
mov dword [rsp + 0x44], edi
lea rcx, [rsp + 0x70]
call fcn.1400d9418
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor r8d, r8d
sub eax, 1
jg 0x1400d46ba
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004bf9e.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 0x1400d46e7
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004bf9e.0]
xor r8d, r8d
inc ebx
mov dword [rsp + 0x48], ebx
cmp ebx, dword [r13 + 8]
jl 0x1400d458f
cmp dword [rsp + 0x40], 0
jne 0x1400d4742
test r12d, r12d
je 0x1400d4742
test r15, r15
je 0x1400d4742
mov rbx, qword [r15 + 0x10]
test rbx, rbx
je 0x1400d4a02
test byte [rbx + 0x28], 1
je 0x1400d4742
mov rdx, r15
lea rcx, [rsi + 0x1188]
call fcn.140098704
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14004bf9e.0]
xor r8d, r8d
cmp qword [0x14027b600], r8
je 0x1400d492e
cmp dword [0x14027baac], r8d
jne 0x1400d492e
mov ecx, r8d
mov dword [rsp + 0x40], ecx
mov r15d, r8d
mov r13d, r8d
mov r12, qword [rsi + 0x1190]
jmp 0x1400d4925
mov rdx, r12
mov rbx, qword [r12 + 0x10]
mov r12, qword [r12]
mov qword [rsp + 0x50], r12
test rbx, rbx
je 0x1400d49fc
mov eax, dword [rbx + 0x24]
mov rdi, qword [0x14027b600]
cmp dword [rdi + 0x40], eax
jne 0x1400d48e4
cmp dword [0x14027ddec], r8d
je 0x1400d47b1
cmp qword [rdi + 0x20], r8
je 0x1400d47d9
lea rcx, [rsi + 0x1188]
call fcn.140098704
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14004bf9e.0]
mov ecx, dword [rsp + 0x40]
xor r8d, r8d
test ecx, ecx
jne 0x1400d4922
test r13d, r13d
jne 0x1400d4811
cmp qword [rdi + 0x20], r8
je 0x1400d4811
cmp qword [rsi + 0x11a0], r8
je 0x1400d4811
movsxd rdx, r15d
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x690]
call qword [case.0x14004bf9e.0]
inc r15d
xor r8d, r8d
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400d48ad
mov r14, rax
xor r12d, r12d
mov rbx, qword [r14 + 0x10]
mov r14, qword [r14]
call fcn.140040634
mov rcx, rax
mov r8d, 1
mov edx, dword [rbx + 0x20]
call fcn.140040600
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.1400d9318
mov rdx, rax
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x688]
mov r8, rdi
mov rcx, rsi
call qword [case.0x14004bf9e.0]
inc r15d
lea rcx, [rbp + 0xa0]
call fcn.1400d9418
test r14, r14
jne 0x1400d4824
mov r14, qword [rsp + 0x68]
mov r12, qword [rsp + 0x50]
xor r8d, r8d
test r12, r12
je 0x1400d48d9
movsxd rdx, r15d
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x690]
call qword [case.0x14004bf9e.0]
inc r15d
xor r8d, r8d
test eax, eax
lea r13d, [r8 + 1]
jns 0x1400d48d9
mov r13d, r8d
mov ecx, 1
mov dword [rsp + 0x40], ecx
jmp 0x1400d4922
test byte [rbx + 0x28], 1
je 0x1400d491f
test r13d, r13d
je 0x1400d4917
lea rcx, [rsi + 0x1188]
call fcn.140098704
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14004bf9e.0]
mov ecx, dword [rsp + 0x40]
xor r8d, r8d
mov r13d, 1
jmp 0x1400d4922
mov r13d, r8d
inc r15d
test r12, r12
jne 0x1400d4775
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x788]
call qword [case.0x14004bf9e.0]
mov rbx, rax
test rax, rax
je 0x1400d4960
mov rcx, qword [rax]
mov rax, qword [rcx + 0x2a0]
mov rcx, rbx
call qword [case.0x14004bf9e.0]
test eax, eax
jne 0x1400d4970
mov rcx, r14
call fcn.140036c1c
mov rbx, rax
test rax, rax
je 0x1400d4989
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
mov rax, qword [rax + 0x488]
call qword [case.0x14004bf9e.0]
mov rax, qword [0x14027c988]
test rax, rax
jne 0x1400d499d
mov rcx, r14
call fcn.140029e18
mov rdx, r14
mov rcx, rax
call fcn.1400d23cc
test eax, eax
jne 0x1400d49b0
xor eax, eax
jmp 0x1400d49cc
mov rdx, qword [r14]
mov rax, qword [rdx + 0x2f0]
mov ebx, 1
mov edx, ebx
mov rcx, r14
call qword [case.0x14004bf9e.0]
mov eax, ebx
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.1401b4f70
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.1400250f4
int3
call fcn.1400250f4
nop
mov ecx, 0x80004005
call fcn.140019608
nop
mov ecx, 0x80004005
call fcn.140019608
int3
call fcn.1401b55b0
int3