Function at 0x4adf2c
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 0x4ae198
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x18], 0
jne 0x4ae177
push 0x408
push 0x160
lea eax, [ebp - 0x2c8]
push eax
push 0
mov eax, dword [ebp - 0x1c]
call fcn.004ad734
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.004ad8f8
mov eax, dword [ebp - 0x28]
call fcn.004add34
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 [0x54e3ac]
mov eax, dword [eax]
call eax
test eax, eax
jne 0x4ae047
mov eax, dword [ebp - 0x148]
cmp eax, 0xffffffff
jne 0x4ae029
cmp dword [ebp - 0x14c], 0
jne 0x4ae029
mov eax, dword [ebp - 0x28]
call fcn.004574f8
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x40c], edx
fild qword [ebp - 0x410]
fistp qword [ebp - 0x24]
wait
jmp 0x4ae038
mov edx, dword [ebp - 0x14c]
call fcn.004add9c
fistp qword [ebp - 0x24]
wait
push ebp
lea eax, [ebp - 0x154]
call fcn.004addbc
pop ecx
jmp 0x4ae0ac
test bl, bl
jne 0x4ae0ac
mov eax, dword [ebp - 0x28]
call fcn.00403fe8
mov al, byte [eax]
call fcn.004aaa04
cmp eax, 2
je 0x4ae0ac
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 0x4ae0ac
test byte [ebp - 0x408], 0x10
jne 0x4ae099
mov edx, dword [ebp - 0x3ec]
mov eax, dword [ebp - 0x3e8]
call fcn.004add9c
fistp qword [ebp - 0x24]
wait
push ebp
lea eax, [ebp - 0x3f4]
call fcn.004addbc
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.004553dc
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 0x4ae11e
mov eax, dword [ebp - 0x28]
call fcn.00403fe8
mov al, byte [eax]
call fcn.004aaa04
cmp eax, 2
jne 0x4ae11e
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 0x4ae170
test bl, bl
jne 0x4ae170
mov eax, dword [ebp - 0x28]
call fcn.00456004
test al, al
jne 0x4ae170
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 0x4ae19f
lea eax, [ebp - 0x414]
call fcn.00403ba8
lea eax, [ebp - 0x28]
call fcn.00403ba8
ret