Function at 0x4ae6f4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbe8
push ebx
push esi
xor edx, edx
mov dword [ebp - 0x414], edx
mov dword [ebp - 0x418], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x4ae9af
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x18], 0
jne 0x4ae989
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, 0x28
lea edx, [ebp - 0x1b8]
mov ecx, 0x50
call fcn.00403e40
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0x1c]
call fcn.004adff8
mov eax, dword [ebp - 0x28]
call fcn.004ae4fc
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 + 0x394]
push eax
mov eax, dword [0x549560]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x4ae815
mov eax, dword [ebp - 0x148]
cmp eax, 0xffffffff
jne 0x4ae7f7
cmp dword [ebp - 0x14c], 0
jne 0x4ae7f7
mov eax, dword [ebp - 0x28]
call fcn.00464edc
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], edx
fild qword [ebp - 0x410]
fistp qword [ebp - 0x24]
wait
jmp 0x4ae806
mov edx, dword [ebp - 0x14c]
call fcn.004ae564
fistp qword [ebp - 0x24]
wait
push ebp
lea eax, [ebp - 0x154]
call fcn.004ae584
pop ecx
jmp 0x4ae87a
test bl, bl
jne 0x4ae87a
mov eax, dword [ebp - 0x28]
call fcn.00404054
mov al, byte [eax]
call fcn.004ab128
cmp eax, 2
je 0x4ae87a
lea eax, [ebp - 0x408]
push eax
mov eax, dword [ebp - 0x28]
call fcn.00404054
push eax
call sub.kernel32.dll_FindFirstFileA
mov esi, eax
cmp esi, 0xffffffff
je 0x4ae87a
test byte [ebp - 0x408], 0x10
jne 0x4ae867
mov edx, dword [ebp - 0x3ec]
mov eax, dword [ebp - 0x3e8]
call fcn.004ae564
fistp qword [ebp - 0x24]
wait
push ebp
lea eax, [ebp - 0x3f4]
call fcn.004ae584
pop ecx
push esi
call sub.kernel32.dll_FindClose
mov eax, dword [ebp - 0x1c]
mov edx, dword [ebp - 0x24]
mov dword [eax + 0x40], edx
mov edx, dword [ebp - 0x20]
mov dword [eax + 0x44], edx
fild qword [ebp - 0x24]
add esp, 0xfffffff4
fstp xword [esp]
wait
lea eax, [ebp - 0x418]
call fcn.0040a138
mov eax, dword [ebp - 0x418]
lea edx, [ebp - 0x414]
call fcn.004ae424
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 0x1c]
add eax, 0x20
call fcn.00403c68
fild qword [ebp - 0x24]
add esp, 0xfffffff8
fstp qword [esp]
wait
lea eax, [ebp - 0x414]
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov cl, byte [eax + 0x389]
xor cl, 1
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 4]
mov dl, byte [eax + 0x389]
mov al, 1
call fcn.00462ef0
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 0x1c]
add eax, 0x24
call fcn.00403c68
mov eax, dword [ebp - 0x1c]
mov dword [eax + 0x30], 0x700f0037
test bl, bl
je 0x4ae930
mov eax, dword [ebp - 0x28]
call fcn.00404054
mov al, byte [eax]
call fcn.004ab128
cmp eax, 2
jne 0x4ae930
mov eax, dword [ebp - 0x1c]
and dword [eax + 0x30], 0xfffbffff
mov eax, dword [ebp - 0x1c]
add eax, 0x30
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 + 0x394]
push eax
mov eax, dword [eax]
call dword [eax + 0x24]
mov eax, dword [ebp - 0x1c]
test byte [eax + 0x33], 0x20
setne al
mov edx, dword [ebp - 0x1c]
mov byte [edx + 0x19], al
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x19], 0
je 0x4ae982
test bl, bl
jne 0x4ae982
mov eax, dword [ebp - 0x28]
call fcn.00463bd4
test al, al
jne 0x4ae982
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 0x4ae9b6
lea eax, [ebp - 0x418]
mov edx, 2
call fcn.00403c38
lea eax, [ebp - 0x28]
call fcn.00403c14
ret