Function at 0x49a178
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe7c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x184], ebx
mov dword [ebp - 0x180], ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x49a4b0
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x98], 0
je 0x49a48a
mov dl, 1
mov eax, dword [0x416704]
call fcn.004032a4
mov dword [ebp - 0x14], eax
push 0x4a1d54
mov eax, dword [0x4a02c0]
push eax
push 0
push esi
mov eax, dword [ebx + 0x7c]
push eax
mov eax, dword [eax]
call dword [eax + 0x14]
test eax, eax
je 0x49a1fe
cmp word [ebx + 0xa2], 0
je 0x49a1fe
mov ecx, 0x49a4c8
mov edx, eax
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
lea eax, [ebp - 8]
call fcn.0040597c
push eax
push 0x60
mov eax, dword [0x4a0278]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [0x4a1d54]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x49a2c7
cmp word [ebx + 0xa2], 0
je 0x49a2c7
mov ecx, 0x49a50c
mov edx, eax
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
jmp 0x49a2c7
cmp byte [ebx + 0x90], 0
jne 0x49a26a
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x4a1d54]
mov eax, dword [0x4a1d4c]
call fcn.00491968
test al, al
jne 0x49a2c7
mov eax, 0xc
call fcn.004027a0
mov dword [ebx + 0xc8], eax
mov eax, dword [ebp - 0xc]
call fcn.00491d60
mov edx, dword [ebx + 0xc8]
mov dword [edx], eax
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.00491d90
mov edx, dword [ebx + 0xc8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x4a1d54]
mov eax, dword [0x4a1d4c]
call fcn.00491a0c
mov edi, dword [ebx + 0xc8]
mov byte [edi + 8], al
mov byte [edi + 9], 0
mov edx, edi
mov eax, dword [ebp - 0x14]
call fcn.00418a9c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
mov eax, dword [ebp - 8]
push eax
mov eax, dword [eax]
call dword [eax + 0xc]
test eax, eax
je 0x49a24a
mov eax, dword [ebp - 0xc]
call fcn.00491c14
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
jne 0x49a30a
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.0049a128
mov eax, dword [ebp - 0x14]
call fcn.004032d4
jmp 0x49a48a
mov edx, 0x499740
mov eax, dword [ebp - 0x14]
call fcn.00418ee4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x49a482
inc eax
mov dword [ebp - 0x1c], eax
xor edi, edi
mov edx, edi
mov eax, dword [ebp - 0x14]
call fcn.00418bf8
mov edx, eax
mov eax, dword [ebx + 0xcc]
call fcn.00418a9c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x457e14]
call fcn.00459308
mov esi, eax
mov edx, dword [ebx + 0xc4]
mov eax, esi
call fcn.0045bcdc
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x88], 0x49a538
mov eax, dword [ebx + 0x78]
mov dword [esi + 0xc], eax
mov edx, edi
mov eax, dword [ebp - 0x14]
call fcn.00418bf8
mov edx, dword [eax]
lea ecx, [ebp - 0x180]
mov eax, dword [0x4a1d54]
call fcn.00491aa0
mov edx, dword [ebp - 0x180]
mov eax, esi
call fcn.0045b21c
mov eax, dword [esi + 0x30]
call fcn.004042e4
cmp eax, dword [ebx + 0xac]
jle 0x49a3e7
lea eax, [ebp - 0x184]
push eax
mov ecx, dword [ebx + 0xac]
mov edx, 1
mov eax, dword [esi + 0x30]
call fcn.00404544
lea eax, [ebp - 0x184]
mov edx, 0x49a52c
call fcn.004042ec
mov edx, dword [ebp - 0x184]
mov eax, esi
call fcn.0045b21c
mov edx, edi
mov eax, dword [ebp - 0x14]
call fcn.00418bf8
mov eax, dword [eax + 4]
xor ecx, ecx
xor edx, edx
call fcn.00499764
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jne 0x49a448
mov edx, 0xf0000
mov eax, 0x10000
call fcn.004997a8
test al, al
je 0x49a448
push 0x4011
push 0x160
lea eax, [ebp - 0x17c]
push eax
push 0x80
push 0x49a530
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x18], eax
push eax
call sub.user32.dll_DestroyIcon
mov edx, dword [ebp - 0x18]
mov eax, esi
call fcn.0045b40c
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0045b730
inc dword [ebx + 0x78]
mov edx, edi
mov eax, dword [ebp - 0x14]
call fcn.00418bf8
cmp byte [eax + 8], 0
je 0x49a478
mov edx, esi
mov eax, ebx
call fcn.0049a0f8
inc edi
dec dword [ebp - 0x1c]
jne 0x49a32c
mov eax, dword [ebp - 0x14]
call fcn.004032d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x49a4b7
lea eax, [ebp - 0x184]
mov edx, 2
call fcn.00404048
lea eax, [ebp - 8]
call fcn.0040597c
ret