Function at 0x4ae648
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 0x4ae8b4
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x18], 0
jne 0x4ae893
push 0x408
push 0x160
lea eax, [ebp - 0x2c8]
push eax
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004ade50
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.004ae014
mov eax, dword [ebp - 0x28]
call fcn.004ae450
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 + 0x3a8]
push eax
mov eax, dword [0x55339c]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x4ae763
mov eax, dword [ebp - 0x148]
cmp eax, 0xffffffff
jne 0x4ae745
cmp dword [ebp - 0x14c], 0
jne 0x4ae745
mov eax, dword [ebp - 0x28]
call fcn.00457740
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], edx
fild qword [ebp - 0x410]
fistp qword [ebp - 0x24]
wait
jmp 0x4ae754
mov edx, dword [ebp - 0x14c]
call fcn.004ae4b8
fistp qword [ebp - 0x24]
wait
push ebp
lea eax, [ebp - 0x154]
call fcn.004ae4d8
pop ecx
jmp 0x4ae7c8
test bl, bl
jne 0x4ae7c8
mov eax, dword [ebp - 0x28]
call fcn.00403fe8
mov al, byte [eax]
call fcn.004ab120
cmp eax, 2
je 0x4ae7c8
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 0x4ae7c8
test byte [ebp - 0x408], 0x10
jne 0x4ae7b5
mov edx, dword [ebp - 0x3ec]
mov eax, dword [ebp - 0x3e8]
call fcn.004ae4b8
fistp qword [ebp - 0x24]
wait
push ebp
lea eax, [ebp - 0x3f4]
call fcn.004ae4d8
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 + 0x396]
xor edx, edx
call fcn.00455508
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 0x4ae83a
mov eax, dword [ebp - 0x28]
call fcn.00403fe8
mov al, byte [eax]
call fcn.004ab120
cmp eax, 2
jne 0x4ae83a
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 + 0x3a8]
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 0x4ae88c
test bl, bl
jne 0x4ae88c
mov eax, dword [ebp - 0x28]
call fcn.00456160
test al, al
jne 0x4ae88c
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 0x4ae8bb
lea eax, [ebp - 0x414]
call fcn.00403ba8
lea eax, [ebp - 0x28]
call fcn.00403ba8
ret