Function at 0x1400780f8
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 [0x140541e58]
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.0x14006f2b2.0]
mov rsi, rax
mov rcx, qword [r14 + 0x1658]
xor ebx, ebx
test rcx, rcx
je 0x1400781e9
call qword [sym.imp.USER32.dll_IsMenu]
test eax, eax
je 0x14007877c
cmp qword [r14 + 0x228], rbx
jne 0x14007818d
mov r8, rsi
mov rdx, qword [r14 + 0x1658]
lea rcx, vtable.CMenuHash.0
call fcn.140082788
test eax, eax
jne 0x1400781e9
cmp dword [0x14055148c], ebx
jne 0x140078272
cmp dword [reloc.WS2_32.dll_accept], ebx
je 0x140078272
lea rcx, [0x140550560]
call fcn.1401174bc
test eax, eax
je 0x140078272
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.0x14006f2b2.0]
test eax, eax
je 0x14007872c
call fcn.1400567bc
mov rcx, qword [rax + 8]
mov r13, qword [rcx + 0x118]
xor r8d, r8d
test r13, r13
je 0x1400784c2
cmp dword [0x14054f73c], r8d
jne 0x1400784c2
mov edi, r8d
mov dword [rsp + 0x44], r8d
mov r12d, r8d
mov r15, qword [rsi + 0x1190]
test r15, r15
je 0x1400784c2
mov qword [rsp + 0x50], r15
mov rbx, qword [r15 + 0x10]
mov r15, qword [r15]
test rbx, rbx
je 0x14007877c
cmp dword [rbx + 0x24], 0xe110
jne 0x140078262
lea rdx, str.Recent_File
mov rcx, qword [rbx + 0x38]
call fcn.1401eec28
xor r8d, r8d
test eax, eax
je 0x14007827d
mov r12d, dword [rbx + 0x28]
and r12d, 1
inc edi
mov dword [rsp + 0x44], edi
jmp 0x140078224
mov r8d, 1
jmp 0x1400781c7
lea rcx, [rsi + 0x1188]
mov rdx, qword [rsp + 0x50]
call fcn.14006310c
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14006f2b2.0]
lea rdx, [rbp + 0x1d0]
mov ecx, 0x104
call qword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea rcx, [rbp + 0x1d0]
call fcn.1401ee3bc
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 0x14007879e
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 0x14007847e
call fcn.14002f108
mov rcx, rax
test rax, rax
je 0x140078793
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14006f2b2.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.0x14006f2b2.0]
xor r8d, r8d
test eax, eax
je 0x14007843e
call fcn.14002f108
mov rcx, rax
test rax, rax
je 0x140078788
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14006f2b2.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.140003630
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.1400e2758
mov rdx, rax
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x688]
mov r8, rdi
mov rcx, rsi
call qword [case.0x14006f2b2.0]
mov edi, dword [rsp + 0x44]
inc edi
mov dword [rsp + 0x44], edi
lea rcx, [rsp + 0x70]
call fcn.1400e2858
nop
lea rdx, [rbx - 0x18]
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
xor r8d, r8d
sub eax, 1
jg 0x14007843a
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006f2b2.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 0x140078467
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14006f2b2.0]
xor r8d, r8d
inc ebx
mov dword [rsp + 0x48], ebx
cmp ebx, dword [r13 + 8]
jl 0x14007830f
cmp dword [rsp + 0x40], 0
jne 0x1400784c2
test r12d, r12d
je 0x1400784c2
test r15, r15
je 0x1400784c2
mov rbx, qword [r15 + 0x10]
test rbx, rbx
je 0x140078782
test byte [rbx + 0x28], 1
je 0x1400784c2
mov rdx, r15
lea rcx, [rsi + 0x1188]
call fcn.14006310c
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14006f2b2.0]
xor r8d, r8d
cmp qword [0x14054f710], r8
je 0x1400786ae
cmp dword [0x14054f73c], r8d
jne 0x1400786ae
mov ecx, r8d
mov dword [rsp + 0x40], ecx
mov r15d, r8d
mov r13d, r8d
mov r12, qword [rsi + 0x1190]
jmp 0x1400786a5
mov rdx, r12
mov rbx, qword [r12 + 0x10]
mov r12, qword [r12]
mov qword [rsp + 0x50], r12
test rbx, rbx
je 0x14007877c
mov eax, dword [rbx + 0x24]
mov rdi, qword [0x14054f710]
cmp dword [rdi + 0x40], eax
jne 0x140078664
cmp dword [0x1405505bc], r8d
je 0x140078531
cmp qword [rdi + 0x20], r8
je 0x140078559
lea rcx, [rsi + 0x1188]
call fcn.14006310c
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14006f2b2.0]
mov ecx, dword [rsp + 0x40]
xor r8d, r8d
test ecx, ecx
jne 0x1400786a2
test r13d, r13d
jne 0x140078591
cmp qword [rdi + 0x20], r8
je 0x140078591
cmp qword [rsi + 0x11a0], r8
je 0x140078591
movsxd rdx, r15d
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x690]
call qword [case.0x14006f2b2.0]
inc r15d
xor r8d, r8d
mov rax, qword [rdi + 0x10]
test rax, rax
je 0x14007862d
mov r14, rax
xor r12d, r12d
mov rbx, qword [r14 + 0x10]
mov r14, qword [r14]
call fcn.140083138
mov rcx, rax
mov r8d, 1
mov edx, dword [rbx + 0x20]
call fcn.140083104
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.1400e2758
mov rdx, rax
mov rcx, qword [rsi]
mov rax, qword [rcx + 0x688]
mov r8, rdi
mov rcx, rsi
call qword [case.0x14006f2b2.0]
inc r15d
lea rcx, [rbp + 0xa0]
call fcn.1400e2858
test r14, r14
jne 0x1400785a4
mov r14, qword [rsp + 0x68]
mov r12, qword [rsp + 0x50]
xor r8d, r8d
test r12, r12
je 0x140078659
movsxd rdx, r15d
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x690]
call qword [case.0x14006f2b2.0]
inc r15d
xor r8d, r8d
test eax, eax
lea r13d, [r8 + 1]
jns 0x140078659
mov r13d, r8d
mov ecx, 1
mov dword [rsp + 0x40], ecx
jmp 0x1400786a2
test byte [rbx + 0x28], 1
je 0x14007869f
test r13d, r13d
je 0x140078697
lea rcx, [rsi + 0x1188]
call fcn.14006310c
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
mov rax, qword [rax + 8]
call qword [case.0x14006f2b2.0]
mov ecx, dword [rsp + 0x40]
xor r8d, r8d
mov r13d, 1
jmp 0x1400786a2
mov r13d, r8d
inc r15d
test r12, r12
jne 0x1400784f5
mov rax, qword [rsi]
mov rcx, rsi
mov rax, qword [rax + 0x788]
call qword [case.0x14006f2b2.0]
mov rbx, rax
test rax, rax
je 0x1400786e0
mov rcx, qword [rax]
mov rax, qword [rcx + 0x2a0]
mov rcx, rbx
call qword [case.0x14006f2b2.0]
test eax, eax
jne 0x1400786f0
mov rcx, r14
call fcn.140043468
mov rbx, rax
test rax, rax
je 0x140078709
mov rax, qword [rsi]
xor r8d, r8d
mov rdx, rbx
mov rcx, rsi
mov rax, qword [rax + 0x488]
call qword [case.0x14006f2b2.0]
mov rax, qword [0x140551290]
test rax, rax
jne 0x14007871d
mov rcx, r14
call fcn.1400348a4
mov rdx, r14
mov rcx, rax
call fcn.140076144
test eax, eax
jne 0x140078730
xor eax, eax
jmp 0x14007874c
mov rdx, qword [r14]
mov rax, qword [rdx + 0x2f0]
mov ebx, 1
mov edx, ebx
mov rcx, r14
call qword [case.0x14006f2b2.0]
mov eax, ebx
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.1401b8dc0
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.14002dd78
int3
call fcn.14002dd78
nop
mov ecx, 0x80004005
call fcn.140003340
nop
mov ecx, 0x80004005
call fcn.140003340
int3
call fcn.1401b926c
int3