Function at 0x4f4598
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 [0x527f74]
xor eax, eax
push ebp
push 0x4f486d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.004144c0
test al, al
je 0x4f4842
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.004f42e8
mov eax, dword [ebp - 0xc]
test eax, eax
je 0x4f4614
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4f4614
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004063e4
test eax, eax
je 0x4f461d
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x4f4842
lea eax, [ebp - 8]
mov ecx, 0x4f4888
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 0x4f4842
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, 0x4f4898
call fcn.004c6a5c
mov edx, dword [ebp - 0x2d4]
mov eax, dword [ebp - 8]
pop ecx
call fcn.004f3fd0
cmp dword [ebx + 0x40], 0xffffffff
jne 0x4f46df
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 0x4f483b
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 0x4f4726
mov edx, eax
sub edx, 0xa
cmp word [edx], 2
je 0x4f4726
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0xc]
call fcn.004063e4
mov ebx, eax
test ebx, ebx
je 0x4f4731
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 0x4f47f2
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, 0x4f48d8
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 0x4f47f9
mov eax, dword [ebp - 0x10]
call fcn.00404e94
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4f4874
lea eax, [ebp - 0x2d8]
mov edx, 3
call fcn.00406b38
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00406b38
ret