Function at 0x1400d19d0
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 [0x14026d920]
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.0x1400495f6.0]
mov rsi, rax
mov rcx, qword [r14 + 0x1658]
xor ebx, ebx
test rcx, rcx
je 0x1400d1ac1
call qword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x1400d2054
cmp qword [r14 + 0x228], rbx
jne 0x1400d1a65
mov r8, rsi
mov rdx, qword [r14 + 0x1658]
lea rcx, vtable.CMenuHash.0
call fcn.1400a1088
test eax, eax
jne 0x1400d1ac1
cmp dword [0x140279c70], ebx
jne 0x1400d1b4a
cmp dword [0x14026cb40], ebx
je 0x1400d1b4a
lea rcx, [0x1402786f0]
call fcn.1400c51f8
test eax, eax
je 0x1400d1b4a
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.0x1400495f6.0]
test eax, eax
je 0x1400d2004
call fcn.140024360
mov rcx, qword [rax + 8]
mov r13, qword [rcx + 0x118]
xor r8d, r8d
test r13, r13
je 0x1400d1d9a
cmp dword [0x1402778cc], r8d
jne 0x1400d1d9a
mov edi, r8d
mov dword [rsp + 0x44], r8d
mov r12d, r8d
mov r15, qword [rsi + 0x1190]
test r15, r15
je 0x1400d1d9a
mov qword [rsp + 0x50], r15
mov rbx, qword [r15 + 0x10]
mov r15, qword [r15]
test rbx, rbx
je 0x1400d2054
cmp dword [rbx + 0x24], 0xe110
jne 0x1400d1b3a
lea rdx, str.Recent_File
mov rcx, qword [rbx + 0x38]
call fcn.1401bf470
xor r8d, r8d
test eax, eax
je 0x1400d1b55
mov r12d, dword [rbx + 0x28]
and r12d, 1
inc edi
mov dword [rsp + 0x44], edi
jmp 0x1400d1afc
mov r8d, 1
jmp 0x1400d1a9f
lea rcx, [rsi + 0x1188]
mov rdx, qword [rsp + 0x50]
call fcn.140095d5c
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400495f6.0]
lea rdx, [rbp + 0x1d0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rbp + 0x1d0]
call fcn.1401bea6c
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 0x1400d2076
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 0x1400d1d56
call fcn.140023e34
mov rcx, rax
test rax, rax
je 0x1400d206b
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400495f6.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.0x1400495f6.0]
xor r8d, r8d
test eax, eax
je 0x1400d1d16
call fcn.140023e34
mov rcx, rax
test rax, rax
je 0x1400d2060
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x1400495f6.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.14001aa08
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.1400d6970
mov rdx, rax
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x688]
mov r8, rdi
mov rcx, rsi
call qword [case.0x1400495f6.0]
mov edi, dword [rsp + 0x44]
inc edi
mov dword [rsp + 0x44], edi
lea rcx, [rsp + 0x70]
call fcn.1400d6a70
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor r8d, r8d
sub eax, 1
jg 0x1400d1d12
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400495f6.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 0x1400d1d3f
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x1400495f6.0]
xor r8d, r8d
inc ebx
mov dword [rsp + 0x48], ebx
cmp ebx, dword [r13 + 8]
jl 0x1400d1be7
cmp dword [rsp + 0x40], 0
jne 0x1400d1d9a
test r12d, r12d
je 0x1400d1d9a
test r15, r15
je 0x1400d1d9a
mov rbx, qword [r15 + 0x10]
test rbx, rbx
je 0x1400d205a
test byte [rbx + 0x28], 1
je 0x1400d1d9a
mov rdx, r15
lea rcx, [rsi + 0x1188]
call fcn.140095d5c
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400495f6.0]
xor r8d, r8d
cmp qword [0x140277420], r8
je 0x1400d1f86
cmp dword [0x1402778cc], r8d
jne 0x1400d1f86
mov ecx, r8d
mov dword [rsp + 0x40], ecx
mov r15d, r8d
mov r13d, r8d
mov r12, qword [rsi + 0x1190]
jmp 0x1400d1f7d
mov rdx, r12
mov rbx, qword [r12 + 0x10]
mov r12, qword [r12]
mov qword [rsp + 0x50], r12
test rbx, rbx
je 0x1400d2054
mov eax, dword [rbx + 0x24]
mov rdi, qword [0x140277420]
cmp dword [rdi + 0x40], eax
jne 0x1400d1f3c
cmp dword [0x140279c0c], r8d
je 0x1400d1e09
cmp qword [rdi + 0x20], r8
je 0x1400d1e31
lea rcx, [rsi + 0x1188]
call fcn.140095d5c
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400495f6.0]
mov ecx, dword [rsp + 0x40]
xor r8d, r8d
test ecx, ecx
jne 0x1400d1f7a
test r13d, r13d
jne 0x1400d1e69
cmp qword [rdi + 0x20], r8
je 0x1400d1e69
cmp qword [rsi + 0x11a0], r8
je 0x1400d1e69
movsxd rdx, r15d
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x690]
call qword [case.0x1400495f6.0]
inc r15d
xor r8d, r8d
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x1400d1f05
mov r14, rax
xor r12d, r12d
mov rbx, qword [r14 + 0x10]
mov r14, qword [r14]
call fcn.14003dc8c
mov rcx, rax
mov r8d, 1
mov edx, dword [rbx + 0x20]
call fcn.14003dc58
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.1400d6970
mov rdx, rax
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x688]
mov r8, rdi
mov rcx, rsi
call qword [case.0x1400495f6.0]
inc r15d
lea rcx, [rbp + 0xa0]
call fcn.1400d6a70
test r14, r14
jne 0x1400d1e7c
mov r14, qword [rsp + 0x68]
mov r12, qword [rsp + 0x50]
xor r8d, r8d
test r12, r12
je 0x1400d1f31
movsxd rdx, r15d
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x690]
call qword [case.0x1400495f6.0]
inc r15d
xor r8d, r8d
test eax, eax
lea r13d, [r8 + 1]
jns 0x1400d1f31
mov r13d, r8d
mov ecx, 1
mov dword [rsp + 0x40], ecx
jmp 0x1400d1f7a
test byte [rbx + 0x28], 1
je 0x1400d1f77
test r13d, r13d
je 0x1400d1f6f
lea rcx, [rsi + 0x1188]
call fcn.140095d5c
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x1400495f6.0]
mov ecx, dword [rsp + 0x40]
xor r8d, r8d
mov r13d, 1
jmp 0x1400d1f7a
mov r13d, r8d
inc r15d
test r12, r12
jne 0x1400d1dcd
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x788]
call qword [case.0x1400495f6.0]
mov rbx, rax
test rax, rax
je 0x1400d1fb8
mov rcx, qword [rax]
mov rax, qword [rcx + 0x2a0]
mov rcx, rbx
call qword [case.0x1400495f6.0]
test eax, eax
jne 0x1400d1fc8
mov rcx, r14
call fcn.140034274
mov rbx, rax
test rax, rax
je 0x1400d1fe1
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
mov rax, qword [rax + 0x488]
call qword [case.0x1400495f6.0]
mov rax, qword [0x1402787a8]
test rax, rax
jne 0x1400d1ff5
mov rcx, r14
call fcn.140027470
mov rdx, r14
mov rcx, rax
call fcn.1400cfa24
test eax, eax
jne 0x1400d2008
xor eax, eax
jmp 0x1400d2024
mov rdx, qword [r14]
mov rax, qword [rdx + 0x2f0]
mov ebx, 1
mov edx, ebx
mov rcx, r14
call qword [case.0x1400495f6.0]
mov eax, ebx
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.1401b25c0
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.14002274c
int3
call fcn.14002274c
nop
mov ecx, 0x80004005
call fcn.140016c60
nop
mov ecx, 0x80004005
call fcn.140016c60
int3
call fcn.1401b2c00
int3