Function at 0x4db980
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 0x4dbcb8
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x98], 0
je 0x4dbc92
mov dl, 1
mov eax, dword [0x41b690]
call fcn.00403514
mov dword [ebp - 0x14], eax
push 0x4e4dc4
mov eax, dword [0x4e3b0c]
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 0x4dba06
cmp word [ebx + 0xa2], 0
je 0x4dba06
mov ecx, 0x4dbcd0
mov edx, eax
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
lea eax, [ebp - 8]
call fcn.00406344
push eax
push 0x60
mov eax, dword [0x4e3aa8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
mov eax, dword [0x4e4dc4]
push eax
mov eax, dword [eax]
call dword [eax + 0x10]
test eax, eax
je 0x4dbacf
cmp word [ebx + 0xa2], 0
je 0x4dbacf
mov ecx, 0x4dbd14
mov edx, eax
mov eax, dword [ebx + 0xa4]
call dword [ebx + 0xa0]
jmp 0x4dbacf
cmp byte [ebx + 0x90], 0
jne 0x4dba72
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x4e4dc4]
mov eax, dword [0x4e4dbc]
call fcn.004a074c
test al, al
jne 0x4dbacf
mov eax, 0xc
call fcn.0040281c
mov dword [ebx + 0xc8], eax
mov eax, dword [ebp - 0xc]
call fcn.004a0b84
mov edx, dword [ebx + 0xc8]
mov dword [edx], eax
mov edx, dword [ebp - 0xc]
mov eax, esi
call fcn.004a0bbc
mov edx, dword [ebx + 0xc8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x4e4dc4]
mov eax, dword [0x4e4dbc]
call fcn.004a07f0
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.0041db6c
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 0x4dba52
mov eax, dword [ebp - 0xc]
call fcn.004a0a04
mov eax, dword [ebp - 0x14]
cmp dword [eax + 8], 0
jne 0x4dbb12
mov edx, dword [ebp - 4]
mov eax, ebx
call fcn.004db930
mov eax, dword [ebp - 0x14]
call fcn.00403544
jmp 0x4dbc92
mov edx, 0x4daf48
mov eax, dword [ebp - 0x14]
call fcn.0041dfb4
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
dec eax
test eax, eax
jl 0x4dbc8a
inc eax
mov dword [ebp - 0x1c], eax
xor edi, edi
mov edx, edi
mov eax, dword [ebp - 0x14]
call fcn.0041dcc8
mov edx, eax
mov eax, dword [ebx + 0xcc]
call fcn.0041db6c
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x469cf4]
call fcn.0046b1e8
mov esi, eax
mov edx, dword [ebx + 0xc4]
mov eax, esi
call fcn.0046dbbc
mov dword [esi + 0x8c], ebx
mov dword [esi + 0x88], 0x4dbd40
mov eax, dword [ebx + 0x78]
mov dword [esi + 0xc], eax
mov edx, edi
mov eax, dword [ebp - 0x14]
call fcn.0041dcc8
mov edx, dword [eax]
lea ecx, [ebp - 0x180]
mov eax, dword [0x4e4dc4]
call fcn.004a0884
mov edx, dword [ebp - 0x180]
mov eax, esi
call fcn.0046d0fc
mov eax, dword [esi + 0x30]
call fcn.00404634
cmp eax, dword [ebx + 0xac]
jle 0x4dbbef
lea eax, [ebp - 0x184]
push eax
mov ecx, dword [ebx + 0xac]
mov edx, 1
mov eax, dword [esi + 0x30]
call fcn.00404894
lea eax, [ebp - 0x184]
mov edx, 0x4dbd34
call fcn.0040463c
mov edx, dword [ebp - 0x184]
mov eax, esi
call fcn.0046d0fc
mov edx, edi
mov eax, dword [ebp - 0x14]
call fcn.0041dcc8
mov eax, dword [eax + 4]
xor ecx, ecx
xor edx, edx
call fcn.004daf6c
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jne 0x4dbc50
mov edx, 0xf0000
mov eax, 0x10000
call fcn.004dafb0
test al, al
je 0x4dbc50
push 0x4011
push 0x160
lea eax, [ebp - 0x17c]
push eax
push 0x80
push 0x4dbd38
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.0046d2ec
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.0046d610
inc dword [ebx + 0x78]
mov edx, edi
mov eax, dword [ebp - 0x14]
call fcn.0041dcc8
cmp byte [eax + 8], 0
je 0x4dbc80
mov edx, esi
mov eax, ebx
call fcn.004db900
inc edi
dec dword [ebp - 0x1c]
jne 0x4dbb34
mov eax, dword [ebp - 0x14]
call fcn.00403544
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4dbcbf
lea eax, [ebp - 0x184]
mov edx, 2
call fcn.00404398
lea eax, [ebp - 8]
call fcn.00406344
ret