Function at 0x410ea4
Capabilities:
Get file attributes

Disassembly:
mov eax, 0x420c6c
call fcn.00414f70
sub esp, 0x40
push ebx
push esi
push edi
mov dword [ebp - 0x1c], ecx
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov edi, eax
xor esi, esi
push str.AtlMiscX.cpp
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x18], esi
call fcn.0040117e
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x20], eax
call fcn.00401cbe
cmp dword [0x48776c], esi
mov dword [ebp - 0x10], esi
mov esi, dword [sym.imp.USER32.dll_AppendMenuW]
mov ebx, 0x400
jle 0x410f9e
mov eax, dword [ebp - 0x10]
push dword [eax*4 + 0x4350f4]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 5
jle 0x410f8c
inc dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
call fcn.004010db
mov eax, dword [ebp - 0x10]
and dword [ebp - 4], 0
cmp dword [ebp - 0x20], 0xffffffff
push dword [eax*4 + 0x4348f4]
push dword [eax*4 + 0x4350f4]
jne 0x410f4f
lea eax, [ebp - 0x14]
push str._s____d___
push eax
call fcn.00401808
add esp, 0x10
jmp 0x410f61
push eax
lea eax, [ebp - 0x14]
push str._d.___s____d___
push eax
call fcn.00401808
add esp, 0x14
mov ecx, dword [ebp - 0x10]
cmp dword [0x48775c], ecx
jne 0x410f71
push 8
pop eax
jmp 0x410f73
xor eax, eax
push dword [ebp - 0x14]
add ecx, 0xa
or eax, ebx
push ecx
push eax
push edi
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401cbe
inc dword [ebp - 0x10]
mov eax, dword [ebp - 0x10]
cmp eax, dword [0x48776c]
jl 0x410f01
call fcn.00403988
test al, al
jne 0x410fc2
mov eax, dword [ebp - 0x18]
push 0x434410
sar eax, 1
inc eax
push 0
inc eax
push 0x4460
push eax
push edi
call dword [sym.imp.USER32.dll_InsertMenuW]
push 0
push 0
push 0xc00
push edi
call esi
push str.Translate
push 0x3e8
push ebx
push edi
call esi
push str.Load_from_File__Unicode_
push 0x3e9
push ebx
push edi
call esi
mov eax, dword [ebp - 0x1c]
mov ebx, 0x7e6
push ebx
push dword [eax + 0x4501c]
lea eax, [ebp - 0x4c]
push eax
call fcn.0040d7f0
mov esi, eax
lea edi, [ebp - 0x3c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x30]
add esp, 0xc
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x2c]
push eax
push dword [esi + 0x4501c]
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
push 1
push ebx
push 0x403
push dword [esi + 0x4501c]
call edi
push 0
push dword [ebp + 8]
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push 0x100
push dword [ebp - 0x24]
call dword [sym.imp.USER32.dll_TrackPopupMenu]
push 0
push ebx
push 0x403
mov dword [ebp - 0x24], eax
push dword [esi + 0x4501c]
call edi
mov eax, dword [ebp - 0x24]
test eax, eax
je 0x4110cb
cmp eax, 0xa
jl 0x4110af
cmp eax, 0x33
jg 0x4110af
push dword [ebp + 8]
and dword [0x487770], 0
add eax, 0xfffffff6
mov ecx, esi
mov dword [0x48775c], eax
call fcn.0040f829
push dword [0x48775c]
push 0x430400
call fcn.0040bf91
pop ecx
pop ecx
jmp 0x4110cb
cmp eax, 0x3e8
jne 0x4110bf
push 1
call fcn.0040d5ad
jmp 0x4110ac
cmp eax, 0x3e9
jne 0x4110cb
call fcn.0040d502
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4