Function at 0x45bed4
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.0045df86
mov esi, dword [ebp + 0xc]
cmp esi, edi
je 0x45c15f
cmp dword [ebp + 0x10], edi
je 0x45c15f
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 0x45c150
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x45c150
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 0x45c0c9
jmp 0x45bf56
mov esi, dword [ebp + 0xc]
xor edi, edi
lea ecx, [ebp - 0x114]
call fcn.0043276c
mov eax, dword [ebp - 0x10]
push eax
mov dword [ebp - 0x110], eax
push dword [ebp + 0x10]
call fcn.0045bc25
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 0x45c064
test byte [ebx + 0x4c], 0x40
je 0x45bfbf
push 1
pop edi
jmp 0x45c064
test byte [ebp - 5], 2
jne 0x45bfb7
mov eax, dword [0x481530]
push 0x400
lea ecx, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.004016d3
push eax
push dword [ebp - 0x10c]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
push 0xffffffffffffffff
lea ecx, [ebp - 4]
call fcn.0040173b
lea ecx, [ebp - 4]
call fcn.00401764
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_CharUpperW]
push 0x488000
push dword [ebp - 4]
call fcn.0046ded5
pop ecx
test eax, eax
pop ecx
je 0x45c05a
push 0x487ff8
push dword [ebp - 4]
call fcn.0046ded5
pop ecx
test eax, eax
pop ecx
je 0x45c05a
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test al, 0x10
je 0x45c05a
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 0x45c05c
xor edi, edi
lea ecx, [ebp - 4]
call fcn.0040139b
and dword [ebp - 0xfc], 0
test edi, edi
je 0x45c07b
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov dword [ebp - 0xfc], eax
lea ecx, [ebp - 0x1fc]
call fcn.0043276c
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.0045d4b4
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 0x45bf51
xor edi, edi
mov eax, dword [ebp - 0xc]
cmp eax, edi
je 0x45c0d6
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 0x45c148
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.0045d3dc
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.0045d3dc
cmp dword [eax + 0x18], 0
push eax
push dword [ebx + 0x58]
mov ecx, ebx
push dword [ebp + 8]
call fcn.0045d303
inc dword [ebx + 0x58]
lea ecx, [ebp - 0x18]
call fcn.0045e01d
dec dword [ebp + 0xc]
jne 0x45c0eb
lea ecx, [ebp - 0x2c]
call fcn.0045d694
push dword [ebp + 8]
mov ecx, ebx
call fcn.0045d296
push 1
pop esi
jmp 0x45c161
xor esi, esi
lea ecx, [ebp - 0x2c]
call fcn.0045d4f3
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 0x10