Function at 0x45949e
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1fc
mov al, byte [ebp + 0xb]
and byte [ebp - 0x24], 0
push ebx
push esi
push edi
mov ebx, ecx
mov byte [ebp - 0x2c], al
mov al, byte [ebp + 0xb]
xor edi, edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0xc], edi
mov byte [ebp - 0x2b], al
call fcn.0045b550
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x459729
cmp dword [ebp + 0x10], edi
je 0x459729
mov eax, dword [esi]
lea ecx, [ebp - 0xc]
push ecx
push dword [ebx + 0x4c]
push edi
push esi
call dword [eax + 0x10]
test eax, eax
jl 0x45971a
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x45971a
lea edx, [ebp - 0x10]
push edi
mov dword [ebp - 0x10], edi
mov ecx, dword [eax]
push edx
push 1
push eax
mov dword [ebp - 0x14], edi
call dword [ecx + 0xc]
test eax, eax
jne 0x459693
jmp 0x459520
mov esi, dword [ebp + 0xc]
xor edi, edi
lea ecx, [ebp - 0x114]
call fcn.00430592
mov eax, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x110], eax
push dword [ebp + 0x10]
call fcn.004591ef
pop ecx
mov dword [ebp - 0x10c], eax
mov eax, dword [esi]
pop ecx
push esi
call dword [eax + 4]
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x104], esi
mov dword [ebp - 8], 0x60000000
mov dword [ebp - 0x1c], eax
mov eax, dword [esi]
push ecx
push 1
push esi
call dword [eax + 0x24]
test byte [ebp - 5], 0x20
je 0x45962e
test byte [ebx + 0x4c], 0x40
je 0x459589
push 1
pop edi
jmp 0x45962e
test byte [ebp - 5], 2
jne 0x459581
mov eax, dword [0x47e520]
push 0x400
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.004016d4
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.0040173c
lea ecx, [ebp - 4]
call fcn.00401765
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_CharUpperW]
push 0x484d78
push dword [ebp - 4]
call fcn.0046b615
pop ecx
test eax, eax
pop ecx
je 0x459624
push 0x484d70
push dword [ebp - 4]
call fcn.0046b615
pop ecx
test eax, eax
pop ecx
je 0x459624
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x459624
mov eax, dword [ebp - 0x104]
lea edx, [ebp - 8]
push edx
lea edx, [ebp - 0x1c]
mov dword [ebp - 8], SHChangeNotifyDeregister
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0x24]
mov edi, dword [ebp - 8]
shr edi, 0x1f
jmp 0x459626
xor edi, edi
lea ecx, [ebp - 4]
call fcn.0040139c
and dword [ebp - 0xfc], 0
test edi, edi
je 0x459645
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0x1fc]
call fcn.00430592
push 0x3a
lea esi, [ebp - 0x114]
pop ecx
lea edi, [ebp - 0x1fc]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x1fc]
lea ecx, [ebp - 0x2c]
push eax
call fcn.0045aa7e
mov ecx, dword [ebp - 0x14]
inc dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp - 0xc]
lea edx, [ebp - 0x10]
push 0
mov ecx, dword [eax]
push edx
push 1
push eax
call dword [ecx + 0xc]
test eax, eax
je 0x45951b
xor edi, edi
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x4596a0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
mov dword [ebx + 0x18], edi
cmp eax, edi
mov ecx, dword [ecx]
mov dword [ebp - 0x18], ecx
jle 0x459712
mov dword [ebp + 0xc], eax
mov eax, dword [ebx + 0x58]
lea ecx, [ebx + 0x64]
add eax, 0x2710
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 0x18]
lea esi, [eax + 0xc]
lea eax, [ebp + 0x10]
push eax
call fcn.0045a9a6
push 0x3a
mov edi, eax
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x58]
lea ecx, [ebx + 0x64]
add eax, 0x2710
mov dword [ebp + 0x10], eax
lea eax, [ebp + 0x10]
push eax
call fcn.0045a9a6
cmp dword [eax + 0x18], 0
push eax
push dword [ebx + 0x58]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0045a8cd
inc dword [ebx + 0x58]
lea ecx, [ebp - 0x18]
call fcn.0045b5e7
dec dword [ebp + 0xc]
jne 0x4596b5
lea ecx, [ebp - 0x2c]
call fcn.0045ac5e
push dword [ebp + 8]
mov ecx, ebx
call fcn.0045a860
push 1
pop esi
jmp 0x45972b
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.0045aabd
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10