Function at 0x4adc10
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbec
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4ade7c
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x18], 0
jne 0x4ade5b
push 0x408
push 0x160
lea eax, [ebp - 0x2c8]
push eax
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004ad418
push eax
call sub.shell32.dll_SHGetFileInfoA
mov eax, dword [ebp - 0x1c]
add eax, 0x24
lea edx, [ebp - 0x1b8]
mov ecx, 0x50
call fcn.00403dd4
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
call fcn.004ad5dc
mov eax, dword [ebp - 0x28]
call fcn.004ada18
mov ebx, eax
lea eax, [ebp - 0x168]
xor ecx, ecx
mov edx, 0x140
call fcn.00402bd8
push 0x140
lea eax, [ebp - 0x168]
push eax
push 1
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x3a0]
push eax
mov eax, dword [0x54d394]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x4add2b
mov eax, dword [ebp - 0x148]
cmp eax, 0xffffffff
jne 0x4add0d
cmp dword [ebp - 0x14c], 0
jne 0x4add0d
mov eax, dword [ebp - 0x28]
call fcn.004574e8
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], edx
fild qword [ebp - 0x410]
fistp qword [ebp - 0x24]
wait
jmp 0x4add1c
mov edx, dword [ebp - 0x14c]
call fcn.004ada80
fistp qword [ebp - 0x24]
wait
push ebp
lea eax, [ebp - 0x154]
call fcn.004adaa0
pop ecx
jmp 0x4add90
test bl, bl
jne 0x4add90
mov eax, dword [ebp - 0x28]
call fcn.00403fe8
mov al, byte [eax]
call fcn.004aa6e8
cmp eax, 2
je 0x4add90
lea eax, [ebp - 0x408]
push eax
mov eax, dword [ebp - 0x28]
call fcn.00403fe8
push eax
call sub.kernel32.dll_FindFirstFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x4add90
test byte [ebp - 0x408], 0x10
jne 0x4add7d
mov edx, dword [ebp - 0x3ec]
mov eax, dword [ebp - 0x3e8]
call fcn.004ada80
fistp qword [ebp - 0x24]
wait
push ebp
lea eax, [ebp - 0x3f4]
call fcn.004adaa0
pop ecx
push esi
call sub.kernel32.dll_FindClose
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x3c], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x40], edx
mov eax, dword [ebp - 0x1c]
fild qword [eax + 0x3c]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea ecx, [ebp - 0x414]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov al, byte [eax + 0x395]
xor edx, edx
call fcn.004553cc
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 0x1c]
add eax, 0x20
call fcn.00403bfc
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x2c], 0x700f0037
test bl, bl
je 0x4ade02
mov eax, dword [ebp - 0x28]
call fcn.00403fe8
mov al, byte [eax]
call fcn.004aa6e8
cmp eax, 2
jne 0x4ade02
mov eax, dword [ebp - 0x1c]
and dword [eax + 0x2c], 0xfffbffff
mov eax, dword [ebp - 0x1c]
add eax, 0x2c
push eax
mov eax, dword [ebp - 0x1c]
add eax, 0xc
push eax
push 1
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x3a0]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x2f], 0x20
setne al
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x19], al
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x19], 0
je 0x4ade54
test bl, bl
jne 0x4ade54
mov eax, dword [ebp - 0x28]
call fcn.00455ff4
test al, al
jne 0x4ade54
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x19], 0
mov eax, dword [ebp - 0x1c]
mov byte [eax + 0x18], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4ade83
lea eax, [ebp - 0x414]
call fcn.00403ba8
lea eax, [ebp - 0x28]
call fcn.00403ba8
ret