Function at 0x6640c4
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffd00
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x300], edx
mov dword [ebp - 0x2f8], edx
mov dword [ebp - 0x2fc], edx
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040995c
mov edi, dword [0x694a1c]
xor eax, eax
push ebp
push 0x66438e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [ebp - 4]
call fcn.00424f40
test al, al
je 0x664363
lea edx, [ebp - 0xc]
mov eax, dword [ebp - 4]
call fcn.00663ffc
mov ebx, dword [ebp - 0xc]
mov eax, ebx
test eax, eax
je 0x664134
sub eax, 4
mov eax, dword [eax]
test eax, eax
je 0x664363
lea eax, [ebp - 8]
mov ecx, 0x6643a8
mov edx, dword [ebp - 4]
call fcn.0040a8f4
mov eax, dword [ebp - 8]
call fcn.00661fe8
mov eax, dword [edi + 4]
mov edx, dword [ebp - 8]
call fcn.00662068
test al, al
je 0x664363
mov eax, dword [edi + 0x54]
call fcn.00661fe8
push pe_nt_image_headers32
push 0x2b4
lea eax, [ebp - 0x2f4]
push eax
push 0
mov eax, dword [ebp - 4]
call fcn.0040a688
push eax
call sub.shell32.dll_SHGetFileInfoW
mov eax, dword [edi + 0x54]
mov cl, 4
mov edx, dword [ebp - 0x2f4]
call fcn.0065ed9c
mov cl, 1
mov edx, 0x80
mov eax, dword [ebp - 8]
call fcn.004250b8
mov eax, dword [edi + 0x54]
mov edx, dword [ebp - 8]
call fcn.0065e3dc
lea edx, [ebp - 0x2fc]
mov eax, dword [edi + 4]
call fcn.006634a8
mov eax, dword [ebp - 0x2fc]
lea edx, [ebp - 0x2f8]
call fcn.0065f4d0
mov edx, dword [ebp - 0x2f8]
mov eax, dword [ebp - 8]
call fcn.00663008
cmp dword [edi], 0xffffffff
jne 0x6641f1
call sub.user32.dll_GetForegroundWindow
xor ecx, ecx
mov dl, 1
mov eax, dword [0x490028]
call fcn.004b2ff4
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x66435c
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x14]
call fcn.004b2d04
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx]
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], edx
mov ecx, ebx
test ecx, ecx
je 0x664233
sub ecx, 4
mov ecx, dword [ecx]
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
push edx
push eax
mov eax, ecx
cdq
sub dword [esp], eax
sbb dword [esp + 4], edx
pop eax
pop edx
sub eax, 8
sbb edx, 0
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov esi, dword [ebp - 0x14]
mov eax, esi
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], edx
lea edx, [ebp - 0x28]
mov ecx, 8
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x28]
sbb edx, dword [ebp - 0x24]
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
mov eax, esi
xor edx, edx
mov ecx, dword [eax]
call dword [ecx + 0x20]
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
xor ecx, ecx
mov dl, 1
mov eax, dword [0x490028]
call fcn.004b2ff4
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x664337
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004b2d04
mov cx, 2
xor edx, edx
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x1c]
lea ecx, [ebp - 0x300]
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
call fcn.004b32f8
mov edx, dword [ebp - 0x300]
mov eax, dword [ebp - 0x10]
call fcn.004b337c
lea edx, [ebp - 0x28]
mov ecx, 8
mov eax, dword [ebp - 0x10]
mov ebx, dword [eax]
call dword [ebx + 0x10]
mov edx, 0x6643b8
mov eax, dword [ebp - 0x10]
call fcn.004b337c
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
call fcn.004b2c30
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x66433e
mov eax, dword [ebp - 0x10]
call fcn.004079b8
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x664395
lea eax, [ebp - 0x300]
mov edx, 3
call fcn.004098d8
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004098d8
ret