Function at 0x4ada58
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 0x4adcc4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x18], 0
jne 0x4adca3
push 0x408
push 0x160
lea eax, [ebp - 0x2c8]
push eax
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004ad260
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.004ad424
mov eax, dword [ebp - 0x28]
call fcn.004ad860
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 [0x54c38c]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x4adb73
mov eax, dword [ebp - 0x148]
cmp eax, 0xffffffff
jne 0x4adb55
cmp dword [ebp - 0x14c], 0
jne 0x4adb55
mov eax, dword [ebp - 0x28]
call fcn.004575f4
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], edx
fild qword [ebp - 0x410]
fistp qword [ebp - 0x24]
wait
jmp 0x4adb64
mov edx, dword [ebp - 0x14c]
call fcn.004ad8c8
fistp qword [ebp - 0x24]
wait
push ebp
lea eax, [ebp - 0x154]
call fcn.004ad8e8
pop ecx
jmp 0x4adbd8
test bl, bl
jne 0x4adbd8
mov eax, dword [ebp - 0x28]
call fcn.00403fe8
mov al, byte [eax]
call fcn.004aa538
cmp eax, 2
je 0x4adbd8
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 0x4adbd8
test byte [ebp - 0x408], 0x10
jne 0x4adbc5
mov edx, dword [ebp - 0x3ec]
mov eax, dword [ebp - 0x3e8]
call fcn.004ad8c8
fistp qword [ebp - 0x24]
wait
push ebp
lea eax, [ebp - 0x3f4]
call fcn.004ad8e8
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.0045543c
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 0x4adc4a
mov eax, dword [ebp - 0x28]
call fcn.00403fe8
mov al, byte [eax]
call fcn.004aa538
cmp eax, 2
jne 0x4adc4a
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 0x4adc9c
test bl, bl
jne 0x4adc9c
mov eax, dword [ebp - 0x28]
call fcn.00456144
test al, al
jne 0x4adc9c
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 0x4adccb
lea eax, [ebp - 0x414]
call fcn.00403ba8
lea eax, [ebp - 0x28]
call fcn.00403ba8
ret