Function at 0x14001ae54
Capabilities:
Get file attributes

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x60
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 0x20], rbx
mov r15, rdx
mov r13, rcx
call qword [sym.imp.USER32.dll_CreatePopupMenu]
mov r12, rax
xor ebx, ebx
lea rdx, str.AtlMiscX.cpp
lea rcx, [rsp + 0xa0]
call fcn.140004c38
mov rcx, qword [rax]
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov r14d, eax
lea rcx, [rsp + 0xa0]
call fcn.140004268
xor edi, edi
cmp dword [0x14006d328], ebx
jle 0x14001af8b
lea rsi, [0x140053c40]
lea rbp, [0x140053040]
lea r15d, [rbx + 8]
mov rcx, qword [rsi]
call qword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 5
jle 0x14001af6e
inc ebx
lea rcx, [rsp + 0xa0]
call fcn.140004508
nop
cmp r14d, 0xffffffff
jne 0x14001af1a
mov r9d, dword [rbp]
mov r8, qword [rsi]
lea rdx, str._s____d___
lea rcx, [rsp + 0xa0]
call fcn.1400054b0
jmp 0x14001af3b
mov eax, dword [rbp]
mov dword [rsp + 0x20], eax
mov r9, qword [rsi]
mov r8d, edi
lea rdx, str._d.___s____d___
lea rcx, [rsp + 0xa0]
call fcn.1400054b0
lea r8d, [rdi + 0xa]
xor edx, edx
cmp dword [0x14006d310], edi
cmove edx, r15d
bts edx, 0xa
mov r9, qword [rsp + 0xa0]
mov rcx, r12
call qword [sym.imp.USER32.dll_AppendMenuW]
nop
lea rcx, [rsp + 0xa0]
call fcn.140004268
inc edi
add rbp, 4
add rsi, r15
cmp edi, dword [0x14006d328]
jl 0x14001aed5
mov r15, qword [rsp + 0xa8]
call fcn.1400075e4
test al, al
jne 0x14001afb7
sar ebx, 1
lea rax, [0x140038bd8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
mov r8d, 0x4460
lea edx, [rbx + 2]
mov rcx, r12
call qword [sym.imp.USER32.dll_InsertMenuW]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xc00
mov rcx, r12
call qword [sym.imp.USER32.dll_AppendMenuW]
lea r9, str.Translate
mov r14d, 0x3e8
mov r8, r14
lea ebx, [r14 + 0x18]
mov edx, ebx
mov rcx, r12
call qword [sym.imp.USER32.dll_AppendMenuW]
lea r9, str.Load_from_File__Unicode_
lea ebp, [rbx - 0x17]
mov r8, rbp
mov edx, ebx
mov rcx, r12
call qword [sym.imp.USER32.dll_AppendMenuW]
mov esi, 0x7e6
mov r8d, esi
mov rdx, qword [r13 + 0x45830]
lea rcx, [rsp + 0x48]
call fcn.140015b74
movdqu xmm0, xmmword [rax]
movdqu xmmword [rsp + 0x48], xmm0
mov eax, dword [rsp + 0x48]
mov dword [rsp + 0xb0], eax
mov rax, qword [rsp + 0x50]
shr rax, 0x20
mov dword [rsp + 0xb4], eax
lea rdx, [rsp + 0xb0]
mov rcx, qword [r13 + 0x45830]
call qword [sym.imp.USER32.dll_ClientToScreen]
mov r9d, 1
mov r8, rsi
lea edi, [rbx + 3]
mov edx, edi
mov rcx, qword [r13 + 0x45830]
call qword [sym.imp.USER32.dll_SendMessageW]
and qword [rsp + 0x30], 0
mov qword [rsp + 0x28], r15
and dword [rsp + 0x20], 0
mov r9d, dword [rsp + 0xb4]
mov r8d, dword [rsp + 0xb0]
mov edx, 0x100
mov rcx, r12
call qword [sym.imp.USER32.dll_TrackPopupMenu]
mov ebx, eax
xor r9d, r9d
mov r8, rsi
mov edx, edi
mov rcx, qword [r13 + 0x45830]
call qword [sym.imp.USER32.dll_SendMessageW]
test ebx, ebx
je 0x14001b107
lea eax, [rbx - 0xa]
cmp eax, 0x29
ja 0x14001b0ed
and dword [0x14006d32c], 0
mov dword [0x14006d310], eax
mov rdx, r15
mov rcx, r13
call fcn.140018490
mov edx, dword [0x14006d310]
lea rcx, [0x14003a7f0]
call fcn.140015288
jmp 0x14001b107
cmp ebx, r14d
jne 0x14001b0fe
mov ecx, 1
call fcn.14001662c
jmp 0x14001b107
cmp ebx, ebp
jne 0x14001b107
call fcn.14001720c
mov rbx, qword [rsp + 0xb8]
add rsp, 0x60
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret