Function at 0x4f45c0
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd28
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x2d8], edx
mov dword [ebp - 0x2d0], edx
mov dword [ebp - 0x2d4], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00406b28
mov ebx, dword [0x528f74]
xor eax, eax
push ebp
push 0x4f4895
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004144c0
test al, al
je 0x4f486a
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004f4310
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4f463c
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4f463c
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004063e4
test eax, eax
je 0x4f4645
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x4f486a
lea eax, [ebp - 8]
mov ecx, 0x4f48b0
mov edx, dword [ebp - 4]
call fcn.00406ffc
mov eax, dword [ebp - 8]
call fcn.004c7ab8
mov eax, dword [ebx]
mov edx, dword [ebp - 8]
call fcn.004c9fc8
test al, al
je 0x4f486a
mov eax, dword [ebx + 0x24]
call fcn.004c7ab8
push pe_nt_image_headers32
push 0x2b4
lea eax, [ebp - 0x2cc]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.00406bcc
push eax
call sub.shell32.dll_SHGetFileInfoW
mov eax, dword [ebx + 0x24]
mov cl, 4
mov edx, dword [ebp - 0x2cc]
call fcn.004eb95c
mov edx, 0x80
mov eax, dword [ebp - 8]
call fcn.0041452c
mov eax, dword [ebx + 0x24]
mov edx, dword [ebp - 8]
call fcn.004eafd8
lea edx, [ebp - 0x2d0]
mov eax, dword [ebx + 0x44]
call fcn.004c5d1c
mov eax, dword [ebp - 0x2d0]
push eax
lea edx, [ebp - 0x2d4]
mov eax, 0x4f48c0
call fcn.004c6a5c
mov edx, dword [ebp - 0x2d4]
mov eax, dword [ebp - 8]
pop ecx
call fcn.004f3fd0
cmp dword [ebx + 0x40], 0xffffffff
jne 0x4f4707
call sub.user32.dll_GetForegroundWindow
xor ecx, ecx
mov dl, 1
mov eax, dword [0x42e95c]
call fcn.0043a61c
mov dword [ebp - 0x14], eax
xor edx, edx
push ebp
push 0x4f4863
push dword fs:[edx]
mov dword fs:[edx], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.0043a3d4
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4f474e
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4f474e
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004063e4
mov ebx, eax
test ebx, ebx
je 0x4f4759
sub ebx, 4
mov ebx, dword [ebx]
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
sub eax, ebx
sub eax, 4
mov ebx, eax
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0x14]
lea edx, [ebp - 0x18]
mov ecx, 4
mov eax, dword [ebp - 0x14]
mov esi, dword [eax]
call dword [esi + 0xc]
sub ebx, dword [ebp - 0x18]
xor ecx, ecx
mov edx, ebx
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0x14]
xor ecx, ecx
mov dl, 1
mov eax, dword [0x42e95c]
call fcn.0043a61c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x4f481a
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0043a3d4
mov cx, 2
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x14]
lea ecx, [ebp - 0x2d8]
mov edx, dword [ebp - 0x18]
add edx, 4
mov eax, dword [ebp - 0x14]
call fcn.0043a924
mov edx, dword [ebp - 0x2d8]
mov eax, dword [ebp - 0x10]
call fcn.0043a9a8
mov edx, 0x4f4928
mov eax, dword [ebp - 0x10]
call fcn.0043a9a8
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.0043a300
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4821
mov eax, dword [ebp - 0x10]
call fcn.00404e94
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f489c
lea eax, [ebp - 0x2d8]
mov edx, 3
call fcn.00406b38
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406b38
ret