Function at 0x1400eb7b8
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 - 0x2f8]
sub rsp, 0x3d0
mov rax, qword [0x140271100]
xor rax, rsp
mov qword [rbp + 0x2c0], rax
mov r15, rcx
mov qword [rsp + 0x70], rcx
mov rax, qword [rcx]
mov rax, qword [rax + 0x390]
call qword [case.0x14014b8e1.0]
mov r14, rax
mov rcx, qword [r15 + 0x1658]
xor esi, esi
test rcx, rcx
je 0x1400eb8b0
call qword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x1400ebe48
cmp qword [r15 + 0x228], rsi
jne 0x1400eb84d
mov r8, r14
mov rdx, qword [r15 + 0x1658]
lea rcx, vtable.CMenuHash.0
call fcn.1400cc290
test eax, eax
jne 0x1400eb8b0
cmp dword [0x14027f424], esi
jne 0x1400eb86f
cmp dword [0x140271b80], esi
je 0x1400eb86f
lea rcx, [0x14027e6b0]
call fcn.1401111d4
test eax, eax
mov ecx, esi
jne 0x1400eb874
mov ecx, 1
mov rax, qword [r14]
mov rax, qword [rax + 0x870]
mov rdx, qword [r15 + 0x1658]
test ecx, ecx
mov rcx, r14
je 0x1400eb894
mov r8d, 1
jmp 0x1400eb8a2
mov r8d, esi
cmp qword [r15 + 0x228], rsi
sete r8b
call qword [case.0x14014b8e1.0]
test eax, eax
je 0x1400ebdf8
call fcn.14002c9b4
mov rcx, qword [rax + 8]
mov rdi, qword [rcx + 0x118]
mov qword [rsp + 0x58], rdi
test rdi, rdi
je 0x1400eb933
cmp dword [0x14027d88c], esi
jne 0x1400eb933
mov dword [rsp + 0x40], esi
xor ecx, ecx
mov r13d, ecx
mov r12, qword [r14 + 0x1190]
test r12, r12
je 0x1400eb933
mov qword [rsp + 0x50], r12
mov rbx, qword [r12 + 0x10]
mov r12, qword [r12]
test rbx, rbx
je 0x1400ebe48
cmp dword [rbx + 0x24], 0xe110
jne 0x1400eb91e
lea rdx, str.Recent_File
mov rcx, qword [rbx + 0x38]
call fcn.1401bde94
nop
xor ecx, ecx
test eax, eax
je 0x1400eb966
mov r13d, dword [rbx + 0x28]
and r13d, 1
inc esi
mov dword [rsp + 0x40], esi
test r12, r12
jne 0x1400eb8e7
xor esi, esi
cmp qword [0x14027f610], rsi
je 0x1400ebd7a
cmp dword [0x14027d88c], esi
jne 0x1400ebd7a
mov dword [rsp + 0x44], esi
mov r13d, esi
mov r12d, esi
mov dword [rsp + 0x40], esi
mov rbx, qword [r14 + 0x1190]
jmp 0x1400ebd71
lea rcx, [r14 + 0x1188]
mov rdx, qword [rsp + 0x50]
call fcn.1400f1bfc
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14014b8e1.0]
lea rdx, [rbp + 0xb0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rbp + 0xb0]
call fcn.1401b9ee0
movsxd rcx, eax
mov edx, 0x5c
mov word [rbp + rcx*2 + 0xb0], dx
inc eax
mov dword [rsp + 0x60], eax
lea rcx, [rcx*2 + 2]
cmp rcx, 0x208
jae 0x1400ebe6a
xor eax, eax
mov word [rbp + rcx + 0xb0], ax
mov esi, eax
mov ebx, eax
mov dword [rsp + 0x48], eax
cmp dword [rdi + 8], eax
jle 0x1400ebb5a
call fcn.140027ad8
mov rcx, rax
test rax, rax
je 0x1400ebe5f
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14014b8e1.0]
add rax, 0x18
mov qword [rsp + 0x68], rax
mov rax, qword [rdi]
mov dword [rsp + 0x28], 1
mov ecx, dword [rsp + 0x60]
mov dword [rsp + 0x20], ecx
lea r9, [rbp + 0xb0]
mov r8d, ebx
lea rdx, [rsp + 0x68]
mov rcx, rdi
mov rax, qword [rax + 0x18]
call qword [case.0x14014b8e1.0]
test eax, eax
je 0x1400ebb1d
call fcn.140027ad8
mov rcx, rax
test rax, rax
je 0x1400ebe54
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14014b8e1.0]
add rax, 0x18
mov qword [rsp + 0x50], rax
inc esi
mov dword [rsp + 0x44], esi
mov r9, qword [rsp + 0x68]
mov r8d, esi
lea rdx, str._d__Ts
lea rcx, [rsp + 0x50]
call fcn.1400068a0
mov rax, qword [r14]
mov rsi, qword [rax + 0x688]
movsxd rax, dword [rsp + 0x40]
mov rdi, rax
inc eax
mov dword [rsp + 0x40], eax
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, [rbp - 0x80]
call fcn.14009e0ac
nop
mov r8, rdi
mov rdx, rax
mov rcx, r14
mov rax, rsi
call qword [case.0x14014b8e1.0]
nop
lea rcx, [rbp - 0x80]
call fcn.14009e1ac
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ebb10
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14014b8e1.0]
mov esi, dword [rsp + 0x44]
mov ebx, dword [rsp + 0x48]
mov rdi, qword [rsp + 0x58]
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ebb43
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14014b8e1.0]
inc ebx
mov dword [rsp + 0x48], ebx
cmp ebx, dword [rdi + 8]
jl 0x1400eb9f0
test esi, esi
jne 0x1400eb931
xor esi, esi
test r13d, r13d
je 0x1400eb933
test r12, r12
je 0x1400eb933
mov rbx, qword [r12 + 0x10]
test rbx, rbx
je 0x1400ebe4e
test byte [rbx + 0x28], 1
je 0x1400eb933
lea rcx, [r14 + 0x1188]
mov rdx, r12
call fcn.1400f1bfc
mov rax, qword [rbx]
lea edx, [rsi + 1]
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14014b8e1.0]
jmp 0x1400eb933
mov rdx, rbx
mov rdi, qword [rbx + 0x10]
mov rbx, qword [rbx]
mov qword [rsp + 0x50], rbx
test rdi, rdi
je 0x1400ebe48
mov eax, dword [rdi + 0x24]
mov rcx, qword [0x14027f610]
mov qword [rsp + 0x58], rcx
cmp dword [rcx + 0x40], eax
jne 0x1400ebd2a
lea rsi, [rcx + 0x20]
xor eax, eax
cmp dword [0x14027f624], eax
je 0x1400ebbf0
cmp qword [rsi], rax
je 0x1400ebc13
lea rcx, [r14 + 0x1188]
call fcn.1400f1bfc
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x14014b8e1.0]
xor eax, eax
cmp dword [rsp + 0x44], eax
jne 0x1400ebd6c
test r12d, r12d
jne 0x1400ebc4d
cmp qword [rsi], rax
je 0x1400ebc4d
xor esi, esi
cmp qword [r14 + 0x11a0], rsi
je 0x1400ebc4f
mov rax, qword [r14]
movsxd rdx, r13d
inc r13d
mov rcx, r14
mov rax, qword [rax + 0x690]
call qword [case.0x14014b8e1.0]
jmp 0x1400ebc4f
xor esi, esi
mov rax, qword [rsp + 0x58]
mov rcx, qword [rax + 0x10]
test rcx, rcx
je 0x1400ebcf3
mov r15, rcx
xor r12d, r12d
mov rbx, qword [r15 + 0x10]
mov r15, qword [r15]
call fcn.1400ccc3c
mov r8d, 1
mov edx, dword [rbx + 0x20]
mov rcx, rax
call fcn.1400ccc08
mov rcx, qword [r14]
mov rsi, qword [rcx + 0x688]
movsxd rdi, r13d
inc r13d
mov r9, qword [rbx + 8]
mov ecx, r12d
cmp eax, 0xffffffff
setne cl
cmove eax, r12d
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], r9
mov r9d, eax
xor r8d, r8d
mov edx, dword [rbx + 0x20]
lea rcx, [rbp - 0x80]
call fcn.14009e0ac
nop
mov r8, rdi
mov rdx, rax
mov rcx, r14
mov rax, rsi
call qword [case.0x14014b8e1.0]
nop
lea rcx, [rbp - 0x80]
call fcn.14009e1ac
test r15, r15
jne 0x1400ebc67
mov r15, qword [rsp + 0x70]
mov r12d, dword [rsp + 0x40]
mov rbx, qword [rsp + 0x50]
xor esi, esi
test rbx, rbx
je 0x1400ebd20
mov rax, qword [r14]
movsxd rdx, r13d
inc r13d
mov rcx, r14
mov rax, qword [rax + 0x690]
call qword [case.0x14014b8e1.0]
mov r12d, eax
not r12d
shr r12d, 0x1f
mov dword [rsp + 0x40], r12d
mov dword [rsp + 0x44], 1
jmp 0x1400ebd6e
test byte [rdi + 0x28], 1
je 0x1400ebd63
test r12d, r12d
je 0x1400ebd56
lea rcx, [r14 + 0x1188]
call fcn.1400f1bfc
mov rax, qword [rdi]
mov edx, 1
mov rcx, rdi
mov rax, qword [rax + 8]
call qword [case.0x14014b8e1.0]
mov r12d, 1
mov dword [rsp + 0x40], r12d
jmp 0x1400ebd6e
mov r12d, esi
mov dword [rsp + 0x40], esi
jmp 0x1400ebd6e
xor esi, esi
inc r13d
test rbx, rbx
jne 0x1400ebbad
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 0x788]
call qword [case.0x14014b8e1.0]
mov rbx, rax
test rax, rax
je 0x1400ebdac
mov rcx, qword [rax]
mov rax, qword [rcx + 0x2a0]
mov rcx, rbx
call qword [case.0x14014b8e1.0]
test eax, eax
jne 0x1400ebdbc
mov rcx, r15
call fcn.140024420
mov rbx, rax
test rax, rax
je 0x1400ebdd5
mov rax, qword [r14]
xor r8d, r8d
mov rdx, rbx
mov rcx, r14
mov rax, qword [rax + 0x488]
call qword [case.0x14014b8e1.0]
mov rax, qword [0x14027f218]
test rax, rax
jne 0x1400ebde9
mov rcx, r15
call fcn.140030790
mov rdx, r15
mov rcx, rax
call fcn.1400e97a0
test eax, eax
jne 0x1400ebdfc
xor eax, eax
jmp 0x1400ebe18
mov rdx, qword [r15]
mov rax, qword [rdx + 0x2f0]
mov ebx, 1
mov edx, ebx
mov rcx, r15
call qword [case.0x14014b8e1.0]
mov eax, ebx
mov rcx, qword [rbp + 0x2c0]
xor rcx, rsp
call fcn.14000cad0
lea r11, [rsp + 0x3d0]
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.14002742c
int3
call fcn.14002742c
nop
mov ecx, 0x80004005
call fcn.1400066c0
nop
mov ecx, 0x80004005
call fcn.1400066c0
nop
call fcn.14000d788
int3